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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #0a0e27;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    /* Mandatory minimum 16px body text */
}

/* Compliance Banner */
.top-compliance-banner {
    background: #00ffff;
    color: #0a0e27;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 2000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header {
    position: fixed;
    top: 40px;
    /* Offset for compliance banner */
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.logo-img:hover {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #00ffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    z-index: -2;
}

.gradient-shift {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(0, 255, 255, 0.1) 50%,
            transparent 70%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30%, 30%) rotate(180deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.highlight {
    background: linear-gradient(90deg, #00ffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b8c5d6;
    margin-bottom: 2.5rem;
    letter-spacing: 0.5px;
}

.cta-button {
    position: relative;
    background: transparent;
    color: #00ffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #00ffff;
    border-radius: 4px;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-button:hover {
    color: #00ff88;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.motion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 255, 255, 0.3) 50%,
            transparent 100%);
    animation: motionBlur 3s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes motionBlur {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-border {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.title-border::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    animation: titleSweep 3s ease-in-out infinite;
}

@keyframes titleSweep {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-panels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.panel-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    animation: slideBorder 2s ease-in-out infinite;
}

@keyframes slideBorder {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.panel:hover {
    transform: translateX(10px);
    background: rgba(26, 31, 58, 0.95);
}

.panel h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00ffff;
}

.panel p {
    color: #b8c5d6;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.15);
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: #0a0e27;
}

.works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.progress-track {
    position: relative;
    padding: 2rem 0;
}

.track-line {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #00ff88);
    z-index: 1;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.step-card {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.step-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(45deg, #00ffff, #00ff88) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: stepGlow 3s ease-in-out infinite;
}

@keyframes stepGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(26, 31, 58, 0.95);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00ffff, #00ff88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    color: #0a0e27;
}

.step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #00ffff;
    line-height: 1.3;
}

.step-card p {
    color: #b8c5d6;
    font-size: 0.88rem;
    line-height: 1.6;
    word-break: break-word;
    flex: 1;
}

/* Game Section */
.game {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(45deg, #00ffff, #00ff88) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-card:hover .card-border {
    opacity: 1;
    animation: cardBorderSweep 2s linear infinite;
}

@keyframes cardBorderSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .card-image img {
    transform: scale(1.1);
    filter: blur(2px);
}

.card-content {
    padding: 1.5rem;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00ffff;
}

.card-content p {
    color: #b8c5d6;
}

.game-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(45deg, #00ffff, #00ff88);
    color: #0a0e27;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
    color: #0a0e27;
}

/* Why Us Section */
.why-us {
    padding: 6rem 0;
    background: #0a0e27;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-block {
    background: rgba(26, 31, 58, 0.8);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.block-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #00ff88);
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.feature-block:hover .block-border {
    opacity: 1;
    animation: blockPulse 1s ease-in-out infinite;
}

@keyframes blockPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-block:hover {
    transform: translateY(-5px);
    background: rgba(26, 31, 58, 0.95);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00ffff;
}

.feature-block p {
    color: #b8c5d6;
    font-size: 0.9rem;
}

/* 18+ Disclaimer Section */
.disclaimer {
    padding: 4rem 0;
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
    border-top: 1px solid rgba(255, 68, 68, 0.3);
}

.disclaimer-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.disclaimer-content {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.disclaimer-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff4444;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.disclaimer-text {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-frame {
    background: rgba(26, 31, 58, 0.8);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.frame-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(45deg, #00ffff, #00ff88) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: frameTrace 3s linear infinite;
}

@keyframes frameTrace {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.02);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7c93;
}

.submit-button {
    width: 100%;
    background: transparent;
    color: #00ffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #00ffff;
    border-radius: 4px;
}

.submit-button:hover {
    color: #00ff88;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a1f3a 0%, #0a0e27 100%);
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00ffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #00ff88;
}

.footer-section p {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #6b7c93;
    font-size: 0.8rem;
}

/* Game Iframe Container */
.game-iframe-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a0e27;
}

.game-header {
    background: rgba(10, 14, 39, 0.95);
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title {
    color: #00ffff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.back-button {
    background: linear-gradient(45deg, #00ffff, #00ff88);
    color: #0a0e27;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.game-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 14, 39, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .feature-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-frame {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .feature-blocks {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero-container,
    .about-container,
    .works-container,
    .game-container,
    .why-container,
    .contact-container {
        padding: 0 1rem;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}