
:root {
    --header-bg-color: #FF69B4;
    --max-content-width: 1000px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #f0f0f0;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
}

.header {
    background-color: var(--header-bg-color);
    height: 120px;
    position: relative;
}

.header-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.allmylinks-icon {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 138px;
    height: 36px;
    object-fit: contain;
}

.allmylinks-icon-mobile {
    display: none;
}

.profile-views {
    position: absolute;
    bottom: 45px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
}

.online-badge {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background-color: #90EE90;
    padding: 5px 10px 5px 25px;
    border-radius: 20px;
    color: #006400;
    font-size: 14px;
}

.online-dot {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #006400;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 100, 0, 0.4); /* Árnyék a dot körül */
    animation: pulse 1s infinite; /* Pulzálás animáció */
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 100, 0, 0.4); /* Árnyék erősebb */
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(0, 100, 0, 0.2); /* Halványabb árnyék */
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 100, 0, 0.4); /* Árnyék erősebb */
    }
}



.profile-image {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    position: absolute;
    bottom: -66px;
    left: 5%;
}

.follow-button {
    background-color: var(--header-bg-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: absolute;
    top: calc(100% + 15px);
    right: 20px;
    z-index: 10;
}

.content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 80px 5% 20px;
    position: relative;
}

.profile-container {
    padding: 15px;
}

.profile-info {
    padding: 15px 0;
    position: relative;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.verified-icon {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    flex-shrink: 0;
}

.profile-username {
    font-size: 16px;
    color: #777;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.bio {
    font-size: 14px;
    margin-top: 10px;
}

.location {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

.location svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.mini-footer {
    display: none;
    font-size: 12px;
    color: rgba(119, 119, 119, 0.5);
    margin-top: 10px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-footer a {
    color: rgba(119, 119, 119, 0.5);
    text-decoration: none;
    margin: 0 4px;
}

.mini-footer a:hover {
    text-decoration: underline;
}

.link-item {
    background-color: white;
    border: 1px solid var(--header-bg-color);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    position: relative;
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.link-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.link-title {
    font-weight: 600;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.link-url {
    font-size: 14px;
    color: var(--header-bg-color);
    width: 100%;
}

.discount-badge {
    background-color: #FF69B4;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    white-space: nowrap;
}

.countdown-timer {
    font-size: 12px;
    color: #333;
    width: 100%;
    margin-top: 5px;
}

/* Combined Media Queries */
@media (max-width: 700px) {
    .allmylinks-icon {
        display: none;
    }

    .allmylinks-icon-mobile {
        display: block;
        position: absolute;
        top: 10px;
        left: 20px;
        width: 36px;
        height: 36px;
        object-fit: contain;
    }

    .link-content {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }

    .link-title {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .mobile-footer {
        display: block;
    }
}

@media (min-width: 768px) {
    body {
        background-color: #f0f0f0;
    }

    .container {
        max-width: none;
        background-color: transparent;
    }

    .header {
        height: 200px;
    }

    .header-content {
        max-width: var(--max-content-width);
        margin: 0 auto;
        padding: 0;
        position: relative;
    }

    .content {
        max-width: var(--max-content-width);
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        padding-top: 100px;
        padding-left: 0;
        padding-right: 0;
    }

    .profile-image {
        width: 158px;
        height: 158px;
        bottom: -79px;
        left: 0;
    }

    .profile-container {
        width: 30%;
        padding: 0;
    }

    .profile-info {
        background-color: white;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .profile-name {
        font-size: 20px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mini-footer {
        display: block;
        padding: 10px 0;
    }

    .links {
        width: 70%;
        padding-left: 20px;
    }

    .mobile-footer {
        display: none;
    }
}
