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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
}

/* Circuit board background pattern */
.circuit-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 51px);
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    padding: 1rem 2rem;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    display: block;
}

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

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #ec4899;
}

.btn-primary {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.btn-gaming {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.btn-gaming::before {
    content: '🎮 ';
    margin-right: 0.25rem;
}

.btn-gaming:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: #9ca3af;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #ec4899;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(236, 72, 153, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    padding: 3rem 2rem;
    background: rgba(236, 72, 153, 0.05);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #9ca3af;
}

/* Section */
.section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Contracts Section */
.contracts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contract-card {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chain-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.contract-address {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin-bottom: 1rem;
}

.contract-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contract-link {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.contract-link:hover {
    background: rgba(236, 72, 153, 0.2);
}

.copy-btn {
    background: rgba(236, 72, 153, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(236, 72, 153, 0.3);
}

/* Tokenomics */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.token-card {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.token-percentage {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.token-amount {
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.token-label {
    font-weight: 600;
}

/* Roadmap */
.roadmap {
    max-width: 900px;
    margin: 2rem auto;
}

.roadmap-item {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 7rem;
}

.roadmap-quarter {
    position: absolute;
    left: 1.5rem;
    top: 2rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.roadmap-item h3 {
    margin-bottom: 1rem;
}

.roadmap-item ul {
    list-style: none;
    color: #9ca3af;
}

.roadmap-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.roadmap-item li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ec4899;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(236, 72, 153, 0.05);
    border-top: 1px solid rgba(236, 72, 153, 0.2);
    padding: 2rem;
    text-align: center;
    color: #9ca3af;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.whitepaper-section {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 2rem;
    text-align: center;
}

.whitepaper-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.whitepaper-section p {
    color: #9ca3af;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    text-align: left;
}

.info-box h4 {
    margin-bottom: 1rem;
}

.info-box ul {
    color: #9ca3af;
    line-height: 1.8;
    padding-left: 1.5rem;
}

/* Documents Section */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.document-card {
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.2);
}

.document-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.document-card p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.document-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.document-highlights {
    padding: 1.25rem;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.document-highlights h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.document-highlights ul {
    color: #9ca3af;
    line-height: 1.8;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

/* Games Grid Section */
.games-section {
    padding: 4rem 2rem;
}

.games-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.games-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.games-hero p {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 700px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.4);
}

.game-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.game-card-content {
    padding: 1.5rem;
}

.game-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.game-card-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.game-card-play-btn {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: transform 0.2s ease;
}

.game-card-play-btn:hover {
    transform: scale(1.05);
}

.games-back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #ec4899;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.games-back-link:hover {
    color: #8b5cf6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .nav {
        display: none;
    }

    .contracts-grid,
    .features-grid,
    .tokenomics-grid,
    .documents-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-item {
        padding-left: 2rem;
    }

    .roadmap-quarter {
        position: static;
        margin-bottom: 1rem;
    }

    /* Responsive iframe */
    iframe {
        height: 500px !important;
        min-width: 100% !important;
    }

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

@media (min-width: 769px) and (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
