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

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

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    line-height: 1.65;
    color: #202035;
    background-color: #faf8ff;
    font-size: 16px;
    overflow-x: hidden;
}

/* Age Confirmation Overlay */
#age-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 15, 48, 0.95);
    display: none; /* hidden by default; JS will add .active to show */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.confirmation-dialog {
    background: #ffffff;
    border-radius: 16px;
    max-width: 550px;
    margin: 24px;
    box-shadow: 0 25px 50px rgba(86, 46, 158, 0.35);
    overflow: hidden;
    animation: slideUp 0.5s ease;
    border: 1px solid rgba(146, 113, 255, 0.2);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dialog-header {
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    padding: 28px;
    text-align: center;
}

.dialog-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dialog-body {
    padding: 32px;
}

.dialog-body p {
    margin-bottom: 16px;
    color: #484660;
    line-height: 1.7;
    font-size: 1.05rem;
}

.dialog-footer {
    padding: 0 32px 32px;
}

#confirm-age-btn {
    width: 100%;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(122, 80, 255, 0.35);
}

#confirm-age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 80, 255, 0.5);
}

/* Header Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 4px 20px rgba(86, 46, 158, 0.08);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2d3142;
    transition: all 0.3s ease;
}

.site-logo:hover { transform: scale(1.03); }

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 12px;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.nav-list { display: flex; list-style: none; gap: 32px; }

.nav-list a {
    color: #484660;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8459ff, #6a3aff);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-list a:hover { color: #6a3aff; }
.nav-list a:hover::after { width: 100%; }

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 26px;
    background: linear-gradient(135deg, #ffffff 30%, #e2d9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 38px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.hero-highlights {
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 22px;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 1.6rem;
    margin-right: 16px;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.hero-section{
     background-image: url('bg.jpg');
    background-size: cover;
    background-position:     center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
    padding: 7rem;
}
/* .hero-content-text{
    padding-left: 20rem;
    padding-right:3rem;
    padding-bottom: 2rem;
} */
.hero-content-text {
    color: #fff; /* ensure text is readable over bg */
}

.hero-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff7170 0%, #ffe57f 100%);
    color: #362978;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 113, 112, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #ffe57f 0%, #ff7170 100%);
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.hero-cta-btn:hover {
    color: #362978;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 113, 112, 0.5);
}

.hero-cta-btn:hover::before {
    width: 100%;
}

.hero-visual-area {
    height: 420px;
    border-radius: 20px;
    /* Use project bg.jpg as decorative background when available */
   
    border: 1px dashed rgba(255,255,255,0.08);
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 20px 50px rgba(86,46,158,0.08);
}



.hero-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 560px; /* content left, visual right */
    gap: 48px;
    align-items: center;
    padding: 0 48px; /* horizontal padding so text doesn't touch edges */
}



/* Responsive: stack on small screens and reduce padding */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        padding: 0 28px;
        gap: 28px;
    }

    .hero-visual-area {
        height: 320px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .hero-section { padding: 60px 0; }
    .hero-wrapper { padding: 0 18px; }
    .hero-title { font-size: 2rem; }
}

/* Decorative placeholder for hero image */
.hero-visual-area::before {
    content: 'Image placeholder';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.18);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
}

/* Framed inner area where an image can be placed as a background */


@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Gentle bobbing animation for hero content */
@keyframes bobbing {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.hero-content-text.animated {
    animation: bobbing 6s ease-in-out infinite;
}

.hero-visual-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Warning Banner */
.warning-banner {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    background: transparent;
}

.warning-card {
    max-width: 1100px;
    width: calc(100% - 48px);
    background: linear-gradient(135deg, #fffcf8 0%, #fff8f6 100%);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(86, 46, 158, 0.08);
    padding: 22px 28px;
    display: flex;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(106, 58, 255, 0.06);
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #362978;
    flex: 1 1 auto;
}

.warning-icon {
    font-size: 1.8rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.warning-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* CTA Button inside warning */
.warning-cta {
    display: inline-block;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(106, 58, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.warning-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(106, 58, 255, 0.24);
}

/* Utility: centered action wrapper */
.action-center {
    text-align: center;
    margin-bottom: 20px;
}

/* Games Showcase */
.games-showcase {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.games-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(250, 248, 255, 0), #faf8ff);
    pointer-events: none;
}

.games-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7b7a8d;
    margin-bottom: 70px;
    font-weight: 300;
}

.games-collection {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.game-entry {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.game-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: #362978;
    letter-spacing: 0.2px;
    position: relative;
    display: inline-block;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff7170, #ff9e58);
    border-radius: 3px;
}

.game-frame {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(86, 46, 158, 0.18);
    aspect-ratio: 16 / 9;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.game-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(86, 46, 158, 0.25);
}

.game-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* About Section */
.about-platform {
    padding: 120px 0;
    background: linear-gradient(135deg, #f6f3ff 0%, #f0ebff 100%);
    position: relative;
    overflow: hidden;
}

.about-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%238459ff" opacity="0.05"/><circle cx="50" cy="50" r="2" fill="%238459ff" opacity="0.05"/><circle cx="90" cy="90" r="2" fill="%238459ff" opacity="0.05"/><circle cx="90" cy="10" r="2" fill="%238459ff" opacity="0.05"/><circle cx="10" cy="90" r="2" fill="%238459ff" opacity="0.05"/></svg>');
}

.about-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 28px;
    text-align: center;
    position: relative;
}

/* Two-column about layout: left text, right image */
.about-wrapper.two-col {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    padding: 0 28px;
}

.about-text-col {
    text-align: left; /* left align the about content */
}

.about-text {
    font-size: 1.15rem;
    color: #484660;
    line-height: 1.9;
    font-weight: 300;
    padding: 0; /* remove extra padding when in two-col layout */
}

.about-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image {
    max-width: 400px;
    width: 400px;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(86, 46, 158, 0.08);
    transform-origin: center;
    animation: floatScale 6s ease-in-out infinite;
}

@keyframes floatScale {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
    100% { transform: translateY(0) scale(1); }
}

@media (max-width: 960px) {
    .about-wrapper.two-col {
        grid-template-columns: 1fr 420px;
    }
}

@media (max-width: 768px) {
    .about-wrapper.two-col {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .about-text-col { text-align: center; }
    .about-image { width: 90%; }
}

.about-text {
    font-size: 1.25rem;
    color: #484660;
    line-height: 1.9;
    font-weight: 300;
    padding: 20px;
    position: relative;
}

.about-text::before,
.about-text::after {
    content: '"';
    position: absolute;
    font-size: 5rem;
    color: rgba(132, 89, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.about-text::before {
    top: -20px;
    left: 0;
}

.about-text::after {
    bottom: -60px;
    right: 0;
}

/* User Reviews */
.user-reviews {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.reviews-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.review-box {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(86, 46, 158, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.review-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #8459ff, #6a3aff);
    transition: height 0.4s ease;
    z-index: -1;
}

.review-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(86, 46, 158, 0.15);
}

.review-box:hover::before {
    height: 100%;
}

.review-text {
    font-style: italic;
    margin-bottom: 24px;
    color: #484660;
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
}

.review-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: rgba(132, 89, 255, 0.1);
    font-family: Georgia, serif;
}

.reviewer-name {
    font-weight: 600;
    color: #6a3aff;
    float: right;
    font-size: 1rem;
}

/* Platform Benefits */
.platform-benefits {
    padding: 120px 0;
    background: #f6f3ff;
    position: relative;
    overflow: hidden;
}

.benefits-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(86, 46, 158, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff7170, #ff9e58);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(86, 46, 158, 0.15);
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    background: linear-gradient(135deg, #ff7170 0%, #ff9e58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #362978;
}

.benefit-desc {
    color: #7b7a8d;
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Page */
.contact-page {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-page::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(132, 89, 255, 0.05) 0%, rgba(106, 58, 255, 0.05) 100%);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.contact-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 113, 112, 0.05) 0%, rgba(255, 158, 88, 0.05) 100%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
}

.contact-wrapper {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    color: #484660;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.contact-form-container {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(86, 46, 158, 0.08);
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #8459ff, #6a3aff);
    border-radius: 24px 24px 0 0;
}

.form-field {
    margin-bottom: 28px;
}

.form-field label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #362978;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9e8f8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9f8ff;
    color: #484660;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #6a3aff;
    box-shadow: 0 0 0 4px rgba(106, 58, 255, 0.1);
    background: #ffffff;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(106, 58, 255, 0.25);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #6a3aff 0%, #8459ff 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(106, 58, 255, 0.35);
}

.submit-btn:hover::after {
    width: 100%;
}

.response-message {
    text-align: center;
    margin-top: 26px;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

.legal-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f6f3ff 0%, #f0ebff 100%);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
    z-index: 0;
}

.legal-wrapper {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.legal-wrapper h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 45px 0 20px 0;
    color: #362978;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(132, 89, 255, 0.15);
}

.legal-wrapper p,
.legal-wrapper li {
    margin-bottom: 18px;
    color: #484660;
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 300;
}

.legal-wrapper ul {
    margin-left: 28px;
    margin-bottom: 26px;
}

.legal-wrapper a {
    color: #6a3aff;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 1px solid rgba(106, 58, 255, 0.3);
    padding-bottom: 2px;
}

.legal-wrapper a:hover {
    color: #ff7170;
    border-bottom-color: rgba(255, 113, 112, 0.5);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2a1e58 0%, #1a1240 100%);
    color: #e8e6f8;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="20" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" fill="none"/><circle cx="30" cy="30" r="10" stroke="rgba(255,255,255,0.03)" stroke-width="0.5" fill="none"/></svg>');
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #ff7170 0%, #ff9e58 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description,
.footer-notice {
    color: #b8b6cc;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
}

.footer-heading {
    color: #ff9e58;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 14px;
}

.footer-menu a {
    color: #b8b6cc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    padding-left: 15px;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 158, 88, 0.5);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #ff7170;
}

.footer-menu a:hover::before {
    color: #ff7170;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 158, 88, 0.15);
    padding-top: 26px;
    text-align: center;
    color: #b8b6cc;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Scroll to Top Button */
#scroll-top-btn {
    position: fixed;
    bottom: 36px;
    right: 36px;
    background: linear-gradient(135deg, #8459ff 0%, #6a3aff 100%);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 1500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(106, 58, 255, 0.25);
    border-bottom: 4px solid transparent;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,248,255,0.7));
}

#scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(106, 58, 255, 0.35);
    background: linear-gradient(135deg, #6a3aff 0%, #8459ff 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.7rem; }
    .game-frame { max-width: 800px; }
    /* reduce prominence of decorative header shapes on medium screens */
    .header-content::before, .header-content::after { opacity: 0.04; transform: scale(0.95); }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .hero-section {
        /* on small screens, restore comfortable padding and let height be natural */
        padding: 80px 0;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
        align-items: center;
    }

    /* Mobile nav: hide full nav and show hamburger */
    .main-nav { display: none; }
    .hamburger-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid rgba(72,70,96,0.06);
        border-radius: 10px;
        cursor: pointer;
        padding: 6px;
        transition: transform 0.18s ease, background 0.18s ease;
    }

    .hamburger-line {
        display: block;
        width: 18px;
        height: 2px;
        background: #484660;
        margin: 3px 0;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    /* When nav is open on header, show nav as a vertical list */
    .main-header.nav-open .main-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 10px 30px rgba(34,23,82,0.06);
        padding: 18px 28px 28px;
        z-index: 1800;
    }

    .main-header.nav-open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .main-header.nav-open .nav-list a {
        display: block;
        padding: 12px 14px;
        border-radius: 8px;
        color: #2d3142;
        background: transparent;
    }

    /* Transform hamburger into X when open */
    .main-header.nav-open .hamburger-line:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .main-header.nav-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .main-header.nav-open .hamburger-line:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .hero-content-text {
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .highlight-item {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
    
    .footer-menu a::before {
        content: none;
    }
    
    .footer-menu a {
        padding-left: 0;
    }

    .section-title {
        font-size: 2.4rem;
    }
    
    .game-title {
        font-size: 1.8rem;
    }

    .contact-form-container {
        padding: 40px 25px;
    }
    
    .benefit-card,
    .review-box {
        padding: 30px 25px;
    }
    
    .games-collection { gap: 60px; }

    .legal-page { padding: 80px 0; }
}

@media (max-width: 480px) {
    .confirmation-dialog {
        margin: 16px;
        border-radius: 14px;
    }
    
    .dialog-header {
        padding: 22px;
    }
    
    .dialog-header h2 {
        font-size: 1.6rem;
    }
    
    .dialog-body {
        padding: 25px;
    }
    
    #confirm-age-btn {
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .highlight-item {
        padding: 12px 18px;
    }

    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
    
    .game-frame {
        border-radius: 18px;
    }
    
    .benefit-title {
        font-size: 1.4rem;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .legal-wrapper h3 {
        font-size: 1.4rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    #scroll-top-btn {
        width: 48px;
        height: 48px;
        bottom: 25px;
        right: 25px;
        font-size: 18px;
    }
}