/* CSS Variables */
:root {
    --color-primary: #2e017b;
    --color-secondary: #d282fc;
    --color-pub: #0009ff;
    --color-white: #ffffff;
    --color-text: #323232;
    --gradient-main: linear-gradient(180deg, #2d017b 0%, #7b2ff7 43.75%, #ffc6eb 100%);
    --gradient-logo: linear-gradient(180deg, #7B00FF -23.71%, #FF0098 131.7%);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-main);
    color: var(--color-white);
    min-height: 100vh;
}

/* Utility Classes */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

/* Pub Banner */
.pub-banner {
    display: none; /* display: flex; */
    background: var(--color-pub);
    height: 34px;
    align-items: center;
    justify-content: center;
}

.pub-banner p {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
}

/* Header */
.header {
    background: var(--color-primary);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.logo {
    font-family: 'Afacad', sans-serif;
    font-weight: 700;
    font-size: 21px;
    display: flex;
    gap: 1.3px;
}

.logo-hot,
.logo-girl {
    color: var(--color-white);
}

.logo-ai {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notification-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-icon {
    display: block;
}

.desktop-icon {
    display: none;
}

.nav-menu {
    display: none;
    gap: 35px;
}

.nav-menu a {
    font-family: 'Onest', sans-serif;
    font-weight: 500;
    font-size: 21px;
    color: var(--color-white);
    text-decoration: none;
    padding: 17px;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 23px 28px;
    min-height: 183px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('../images/hero-bg-mobile.png');
    background-size: cover;
    background-position: left;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -1.2px;
    margin-bottom: 6px;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.7px;
}

/* Main Content */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-main);
    padding: 35px 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

/* Site Cards */
.site-card {
    position: relative;
}

.site-card:nth-child(n+3) {
    margin-bottom: 36px;
}

.top-card {
    margin-bottom: 3px;
}

.top-badge {
    background: var(--color-secondary);
    border-radius: 8px 8px 0 0;
    padding: 5px 15px;
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-white);
}

.card-content {
    background: var(--color-primary);
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
    padding: 15px 25px;
}

.top-card .card-content {
    border-radius: 0 12px 12px 12px;
}

.site-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.site-logo {
    width: 87px;
    height: 87px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-details {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-details h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
    margin-bottom: 4px;
}

.rating-section {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rating-score {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 29px;
    color: var(--color-secondary);
    letter-spacing: -1.5px;
}

.stars-votes {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stars {
    display: flex;
    gap: 3px;
    font-size: 11px;
    color: #ffd700;
}

.votes {
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    color: var(--color-white);
}

.votes strong {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.cta-buttons-mobile {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: 6px;
}

.description {
    display: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    letter-spacing: -0.8px;
    color: var(--color-white);
}

.cta-buttons {
    display: none;
}

.btn {
    padding: 8px 20px;
    border-radius: 52px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 9px;
    text-align: center;
    text-decoration: none;
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background: linear-gradient(0deg, #4709FF 3.11%, #D282FC 96.89%);
}

.btn-secondary {
    background: linear-gradient(0deg, #DD00B3 3.11%, #FF68C2 96.89%);
}

/* Pub Banner Inline */
.pub-banner-inline {
    display: none; /* display: flex; */
    background: var(--color-pub);
    height: 107px;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    margin: 3px 0;
}

.pub-banner-inline p {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--color-white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(180deg, #7B00FF -23.71%, #FF0098 131.7%);
    border-radius: 24px;
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.cta-section h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -1.2px;
    color: var(--color-white);
}

.dropdown-wrapper-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    width: 100%;
}

.dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 258px;
}

.brand-dropdown {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border-radius: 12px;
    border: none;
    background: var(--color-white);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text);
    appearance: none;
    cursor: pointer;
}

.dropdown-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    pointer-events: none;
}

.btn-cta {
    display: inline-block;
    width: 100%;
    max-width: 174px;
    padding: 12px 17px;
    background: linear-gradient(0deg, #4709FF 3.11%, #D282FC 96.89%);
    border-radius: 85px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.btn-cta:hover {
    opacity: 0.85;
}

/* Footer */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 31px 40px;
    border-top: 1px solid var(--color-white);
    background: var(--color-primary);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    width: 100%;
}

.footer .logo {
    font-size: 46px;
    gap: 3px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 21px;
    text-align: center;
}

.footer-nav a {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-nav hr {
    border: none;
    border-top: 1px solid var(--color-secondary);
    margin: 0;
}

.footer-columns {
    display: none;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    width: 29px;
    height: 29px;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 0.7;
}

.copyright {
    font-family: 'Onest', sans-serif;
    font-size: 12px;
    text-align: center;
    color: var(--color-white);
    line-height: 1.4;
}

.copyright a {
    color: var(--color-white);
    text-decoration: underline;
}

.copyright a:hover {
    opacity: 0.8;
}

@media (min-width: 600px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block;
    }
    
    .container {
        max-width: 100%;
    }

    .cta-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 6px;
    }

    .cta-buttons-mobile {
        display: none;
    }

    .dropdown-wrapper-container {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .site-info {
        margin-bottom: 10px;
    }

    .site-details {
        align-items: center;
        max-width: 120px;
    }

    .rating-section {
        flex-direction: column;
        align-items: center;
    }

    .rating-score {
        font-size: 29px;
    }

    .stars {
        justify-content: center;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    /* Pub Banner */
    .pub-banner {
        height: 40px;
    }

    /* Header */
    .header {
        padding: 17px 170px;
        height: auto;
        justify-content: center;
    }

    .logo {
        font-size: 62px;
        padding: 12px 39px;
        gap: 4px;
    }

    .nav-menu {
        display: flex;
    }

    .mobile-icon {
        display: none;
    }

    .desktop-icon {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 580px;
        padding: 31px 28px;
        background-image: url('../images/hero-bg-desktop.png');
    }

    .hero-content {
        width: 100%;
        max-width: 1600px;
    }

    .hero h1 {
        max-width: 920px;
        font-family: 'Onest', sans-serif;
        font-size: 64px;
        line-height: 60px;
    }

    .hero p {
        max-width: 920px;
        font-size: 24px;
        line-height: 27px;
        letter-spacing: -1.2px;
        margin-top: 17px;
    }

    /* Main Content */
    .main-content {
        padding: 50px 20px 100px;
    }

    .container {
        gap: 24px;
        max-width: 1600px;
    }

    /* Site Cards */
    .site-card {
        margin-bottom: 0;
    }

    .top-card {
        margin-bottom: 0;
    }

    .top-badge {
        padding: 10px 20px;
        font-size: 20px;
        border-radius: 10px 10px 0 0;
    }

    .card-content {
        display: flex;
        flex-direction: row;
        gap: 50px;
        padding: 30px 60px;
        border-radius: 10px;
    }

    .top-card .card-content {
        border-radius: 0 10px 10px 10px;
    }

    .site-info {
        gap: 50px;
        margin-bottom: 0;
    }

    .site-logo {
        width: 103px;
        height: 103px;
    }

    .site-details {
        max-width: 215px;
    }

    .site-details h2 {
        font-size: 32px;
        margin-bottom: 0;
    }

    .rating-section {
        gap: 10px;
        align-items: center;
    }

    .rating-score {
        font-size: 46px;
        letter-spacing: -2.3px;
    }

    .stars {
        gap: 5px;
        font-size: 23px;
    }

    .stars-votes {
        gap: 0;
    }

    .votes {
        font-size: 19px;
    }

    .description {
        display: block;
        flex: 1;
        max-width: 739px;
        margin-top: 0;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
        margin-left: auto;
    }

    .btn {
        width: 174px;
        padding: 12px 17px;
        font-size: 15px;
    }

    .pub-banner-inline {
        height: 204px;
        margin: 36px 0;
    }

    .pub-banner-inline p {
        font-size: 48px;
    }

    /* CTA Section */
    .cta-section {
        padding: 51px 0;
        gap: 35px;
    }

    .cta-section h2 {
        font-size: 52px;
        line-height: 51px;
        letter-spacing: -2.6px;
    }

    .dropdown-wrapper {
        gap: 17px;
        width: auto;
    }

    .brand-dropdown {
        width: 437px;
        height: 44px;
        font-size: 17px;
    }

    .btn-cta {
        width: 174px;
    }

    /* Footer */
    .footer {
        padding: 72px 74px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1300px;
        gap: 35px;
    }

    .footer .logo {
        font-size: 62px;
        gap: 4px;
    }

    .footer-nav {
        display: none;
    }

    .footer-columns {
        display: flex;
        gap: 68px;
        width: 100%;
        justify-content: space-between;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .footer-column h3 {
        font-family: 'Onest', sans-serif;
        font-weight: 700;
        font-size: 14px;
        color: var(--color-white);
        margin-bottom: 5px;
    }

    .footer-column a {
        font-family: 'Onest', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: var(--color-white);
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .footer-column a:hover {
        opacity: 0.8;
    }

    .social-icons {
        gap: 10px;
        margin-top: 22px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .copyright {
        font-size: 13px;
        text-align: left;
        max-width: 285px;
    }
}