/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a1628;
    --bg-secondary: #152238;
    --accent-primary: #d946ef;
    --accent-secondary: #a855f7;
    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --border-color: #2d3748;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Age Check Overlay */
.age-check-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-check-modal {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(217, 70, 239, 0.3);
    animation: ageCheckAppear 0.4s ease-out;
}

@keyframes ageCheckAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.age-check-icon {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
}

.age-check-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.age-check-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.age-check-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.age-check-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.age-check-confirm {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
}

.age-check-confirm:hover {
    box-shadow: 0 6px 30px rgba(217, 70, 239, 0.6);
    transform: translateY(-2px);
}

.age-check-decline {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
}

.age-check-decline:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background-color: rgba(217, 70, 239, 0.1);
}

/* Header Styles */
header {
    background-color: var(--bg-secondary);
    border-bottom: 2px solid var(--accent-primary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.header-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: var(--accent-primary);
    background-color: rgba(217, 70, 239, 0.1);
}

.header-nav a.active {
    color: var(--accent-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Banner Styles */
.banner-container {
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(217, 70, 239, 0.3);
}

.banner-container a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.banner-container:hover img {
    opacity: 0.9;
}

.banner-container:first-of-type {
    margin-top: 0;
}

/* Section Styles */
section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

section:first-of-type {
    margin-top: 2rem;
}

section[id] {
    scroll-margin-top: 100px;
}

section h1,
section h2 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

section h1 {
    font-size: 2rem;
    line-height: 1.2;
}

section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

section ul,
section ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
}

table thead {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

table th {
    padding: 1rem;
    text-align: left;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

table td {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

table tbody tr:hover {
    background-color: rgba(217, 70, 239, 0.05);
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-primary);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(217, 70, 239, 0.1);
    color: var(--accent-primary);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 0.3s ease, color 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-top: 1rem;
}

/* Side Elements Styles */
.side-elements {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 100%;
    pointer-events: none;
    z-index: 100;
    display: none;
}

@media (min-width: 1900px) {
    .side-elements {
        display: block;
    }
}

.side-widget {
    position: absolute;
    pointer-events: all;
    width: 280px;
    opacity: 0;
    animation: slideInSide 0.6s ease-out forwards;
}

.side-left {
    left: 20px;
    animation-delay: 0.2s;
    --slide-direction: -30px;
}

.side-right {
    right: 20px;
    animation-delay: 0.4s;
    --slide-direction: 30px;
}

@keyframes slideInSide {
    from {
        opacity: 0;
        transform: translateX(var(--slide-direction, -30px));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.side-widget-content {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(217, 70, 239, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.side-widget-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.side-widget:hover .side-widget-content {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 48px rgba(217, 70, 239, 0.5);
    border-color: var(--accent-secondary);
}

.side-widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.side-widget-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(217, 70, 239, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.side-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1.3;
}

.side-widget-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.side-widget-button {
    display: block;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.side-widget-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.side-widget-button:hover::before {
    left: 100%;
}

.side-widget-button:hover {
    box-shadow: 0 6px 25px rgba(217, 70, 239, 0.6);
    transform: translateY(-2px);
}

.side-widget-button:active {
    transform: translateY(0);
}

/* Footer Styles */
footer {
    background-color: var(--bg-secondary);
    border-top: 2px solid var(--accent-primary);
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 12px rgba(217, 70, 239, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

footer .age-restriction {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.75rem !important;
    letter-spacing: 0.5px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    box-shadow: 0 6px 30px rgba(217, 70, 239, 0.6);
    transform: translateY(-5px);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top span {
    line-height: 1;
    font-weight: bold;
}

/* Sticky Banner */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(168, 85, 247, 0.15));
    border-top: 2px solid var(--accent-primary);
    box-shadow: 0 -4px 20px rgba(217, 70, 239, 0.3);
    z-index: 999;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sticky-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sticky-banner-text {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.sticky-banner-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.sticky-banner-button:hover {
    box-shadow: 0 6px 25px rgba(217, 70, 239, 0.7);
    transform: translateY(-2px);
}

/* 404 Error Page */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
}

.error-404-number {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.error-404 h1 {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.error-404-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.error-404-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
    transition: all 0.3s ease;
}

.error-404-button:hover {
    box-shadow: 0 6px 30px rgba(217, 70, 239, 0.6);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .header-logo img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    section h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    table {
        font-size: 0.9rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }

    .banner-container {
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    footer {
        padding: 1.5rem 1rem;
    }

}

@media (max-width: 480px) {
    .header-logo img {
        height: 35px;
    }

    section {
        padding: 1rem;
    }

    section h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.25rem;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    section ul,
    section ol {
        padding-left: 1.5rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1rem !important;
    }

    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 1rem 1rem 1rem !important;
    }

    .error-404-number {
        font-size: 5rem;
    }

    .error-404 h1 {
        font-size: 2rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .sticky-banner-content {
        padding: 0.875rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sticky-banner-text {
        font-size: 0.9rem;
    }

    .sticky-banner-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .age-check-overlay {
        padding: 1rem;
    }

    .age-check-modal {
        padding: 2rem 1.5rem;
    }

    .age-check-icon {
        font-size: 3rem;
    }

    .age-check-title {
        font-size: 1.5rem;
    }

    .age-check-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .age-check-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

