@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&family=Inter:wght@400;500&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #170606 0%, #2b0f0a 100%);
    --neon-purple: #ff5722;
    --cyan: #ffc107;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 87, 34, 0.3);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

h1, h2, h3, .logo-text {
    font-family: var(--font-heading);
}

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iMTA0IiB2aWV3Qm94PSIwIDAgNjAgMTA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zMCAwaDMwdjEwNEgzMHoiIGZpbGw9Im5vbmUiLz48cGF0aCBkPSJNMzAgMTkuMDdMNCAzNXYzOGwyNiAxOS4wNyAyNi0xOS4wN3YtMzh6IiBzdHJva2U9InJnYmEoMjU1LCA4NywgMzQsIDAuMDUpIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiLz48L3N2Zz4=');
    z-index: -1;
    opacity: 0.5;
}

/* Age Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #2b0f0a;
    border: 2px solid var(--neon-purple);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.4);
    max-width: 400px;
    width: 90%;
}

.popup-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-primary {
    background: var(--cyan);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--cyan);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    background: rgba(43, 15, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.sticky-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    height: 50px;
}

.logo-icon {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--cyan));
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--neon-purple), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.3);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-white);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-white);
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

/* Ranking Section */
.ranking {
    padding: 60px 0;
}

.ranking-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.ranking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.2);
    border-color: var(--neon-purple);
}

.ranking-card.featured {
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 25px rgba(255, 87, 34, 0.3);
}

.rank-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--neon-purple);
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    border-bottom-right-radius: 10px;
}

.card-logo {
    flex: 0 0 150px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo img {
    max-width: 100%;
    height: auto;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--cyan);
}

.card-info .description {
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-white);
}

.rating-bar-container {
    margin-bottom: 15px;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 5px;
}

.rating-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--cyan));
    box-shadow: 0 0 10px var(--neon-purple);
    border-radius: 3px;
    width: 0;
    /* Animated via JS */
    transition: width 1.5s cubic-bezier(0.1, 0, 0.3, 1);
}

.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tags li {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--cyan);
}

.card-cta {
    flex: 0 0 200px;
    text-align: right;
}

/* Regulation Section */
.regulation {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.2);
}

.regulation h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-white);
    font-size: 2.2rem;
}

.regulation-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.regulation-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.regulation-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.regulation-content li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-gray);
}

.regulation-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 3px;
    background: var(--card-bg);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-white);
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 87, 34, 0.1);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-gray);
    line-height: 1.6;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s;
}

/* Footer Section */
.main-footer {
    background: #000;
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-row {
    margin-bottom: 40px;
}

.footer-row h3 {
    margin-bottom: 20px;
    color: var(--cyan);
}

.footer-row ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-row ul li {
    color: var(--text-gray);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--cyan);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.trust-logos a:hover {
    opacity: 0.8;
}

.trust-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.trust-logos a:hover img {
    transform: scale(1.1);
}

.trustpilot {
    font-weight: bold;
    font-size: 1.2rem;
    color: #00b67a;
    margin-bottom: 20px;
}

.trustpilot .star {
    margin-right: 5px;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-gray);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Responsive Improvements --- */

@media (max-width: 1024px) {
    .hero h1,
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .ranking-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px 20px 20px;
    }

    .card-logo {
        flex: 0 0 auto;
        width: 150px;
        margin: 0 auto;
    }

    .card-info h3 {
        font-size: 1.3rem;
    }

    .card-cta {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .card-cta .btn-primary {
        width: 100%;
        display: block;
    }

    .feature-tags {
        justify-content: center;
    }

    .regulation h2 {
        font-size: 1.8rem;
    }

    .regulation-content {
        padding: 25px;
    }

    .footer-nav {
        gap: 10px 15px;
    }

    .trust-logos {
        gap: 20px;
    }

    .trust-logos img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .sticky-header {
        padding: 15px 0;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-icon {
        height: 28px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1,
    .hero h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .ranking-card {
        padding: 35px 15px 15px 15px;
    }

    .feature-tags li {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .regulation h2 {
        font-size: 1.5rem;
    }

    .footer-nav span {
        display: none;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
    }

    .trust-logos {
        gap: 15px;
    }

    .trust-logos img {
        height: 25px;
    }
}