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

:root {
    --primary-gradient: linear-gradient(135deg, #a58fff 0%, #3975f5 50%, #7046ec 100%);
    --secondary-gradient: linear-gradient(135deg, #00a6d0 0%, #53a5f7 100%);
    --dark-bg: #ffffff;
    --card-bg: #e5f8fd;
    --card-border: rgba(15, 23, 42, 0.08);
    --accent-orange: #00a6d0;
    --accent-purple: #00a6d0;
    --text-primary: #0f172a;
    --text-secondary: #5b6b7d;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: rgb(0, 166, 255);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.25));
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 25px;
    background: var(--primary-gradient);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 100px;
    background: linear-gradient(180deg, #eaf3ff 0%, #fdfdff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;  
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(143, 199, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; 
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(181, 216, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero-content {
    display: flex;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.game-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5));
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid rgba(59, 130, 246, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

/* Abstract Visual Element */
.abstract-visual {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 300px;
    height: 500px;
    opacity: 0.3;
    z-index: 0;
}

.abstract-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: rotate 20s linear infinite;
    filter: blur(40px);
    opacity: 0.6;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 80px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Game Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(79, 139, 255, 0.18);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
    border-radius: 999px;
}

.info-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(91, 168, 255, 0.25) 0%, rgba(91, 168, 255, 0) 70%);
    filter: blur(2px);
}

.info-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 35px 70px rgba(59, 130, 246, 0.25);
    background: linear-gradient(180deg, #fdfdff 0%, #e5f2ff 100%);
}

.info-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15), 0 15px 30px rgba(59, 130, 246, 0.12);
}

.info-card-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.info-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #0b1e59;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1rem;
}

.info-card-centered {
    max-width: 1000px;
    margin: 0 auto;
}

.info-card-large-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.info-card-large-text p + p {
    margin-top: 25px;
}

.info-card-warning {
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #f59e0b;
}

.info-card-success {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
}



/* Approach Section */
.approach-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.approach-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.approach-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat-box {
    background: linear-gradient(180deg, #ffffff 0%, #e6f3ff 100%);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    text-align: center;
    min-width: 220px;
    box-shadow: 0 20px 45px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Removed redundant zone-card styles - now using bento card design */

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.skill-item {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 18px 38px rgba(59, 130, 246, 0.12);
}

.skill-item::before {
    content: '✓';
    display: block;
    font-size: 1.8rem;
    color: #4ade80;
    margin-bottom: 12px;
    font-weight: bold;
}

.skill-item:hover {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 22px 40px rgba(59, 130, 246, 0.2);
}

/* Features Section */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #ffffff;
    padding: 35px;
    margin: 0;
    border-radius: 22px; 
    transition: all 0.3s ease;
    
}

.feature-item:hover {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    transform: translateX(10px);
    box-shadow: 0 25px 45px rgba(59, 130, 246, 0.2);
}

.feature-item strong {
    color: var(--text-primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How to Play */
.how-to-play {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 60px;
    margin-top: 60px;
    border: 1px solid var(--card-border);
}

.how-to-play-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: rgb(0, 136, 255);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px; 
    color: white;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 53, 0.5);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--accent-orange);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-full-width {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #ffffff;
    padding: 80px 40px 40px;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .approach-section,
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .abstract-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .zones-container {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .how-to-play {
        padding: 40px 25px;
    }
    
    .game-icon {
        width: 80px;
        height: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200..700&display=swap');

@layer base.normalize-overrides {
    :root {
        font-family: 'Inter', sans-serif;

        --surface-1: white;
        --surface-2: hsl(240, 11%, 96%);
        --text-1: hsl(240, 3%, 12%);
        --text-2: hsl(240, 2%, 44%);
        --radios-custom: 14px;
        --font-size-head-custom: 1.125rem;
    }

    body {
        -webkit-font-smoothing: antialiased;
    }

    /* ==== TYPOGRAPHY ==== */

    /* h1 set to "text-wrap: balance" out of the box by Open Props normalize; :) */

    h1 {
        font-size: var(--font-size-4);
    }

    h2 {
        font-size: var(--font-size-4);
    }

    :is(h3, h4) {
        font-size: var(--font-size-head-custom);
    }

    :is(h2, h3, h4) {
        text-wrap: pretty;
    }

    :is(h1, h2, h3, h4) {
        font-weight: var(--font-weight-7);
    }





    small {
        font-weight: var(--font-weight-6);
        color: var(--text-2);
    }

    /* --lg-n-only */
    @media (768px <=width <=1024px) {
        :is(h1, h2) {
            font-size: calc(var(--font-size-3) + var(--font-size-00));
        }
    }

    /* --lg-n-above */
    @media (width > 1024px) {
        h1 {
            font-size: var(--font-size-6);
        }

        h2 {
            font-size: var(--font-size-5);
        }

        h3 {
            font-size: var(--font-size-4);
        }
    }
}

@layer base.app {
    body {
        background-color: var(--surface-2);
        padding-block: var(--size-fluid-5);
        padding-inline: var(--size-5);
    }

    .bento-section {
        display: grid;
        place-items: center;

        header {
            padding-block: var(--size-3);
        }
    }

    .container {
        max-inline-size: 366px;

        /* --lg-only */
        @media (768px <=width <=1024px) {
            max-inline-size: 695px;
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            max-inline-size: 975px;
        }
    }
}

@layer base.components {
    .bento-grid {
        --columns: 1;
        --card-min-block-size: 360px;
        display: grid;
        gap: calc(var(--size-7) + var(--size-1));

        grid-template-columns: repeat(var(--columns), 1fr);

        /* --lg-only */
        @media (768px <=width <=1024px) {
            --columns: 2;
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            --columns: 12;
        }
    }

    .card {
        display: grid;
        place-items: center;
        gap: var(--size-2);

        margin: 0;
        padding: 0;
        color: var(--text-1);
        text-decoration: none;

        background-color: white;
        border-radius: var(--radios-custom);
        min-block-size: var(--card-min-block-size);
        overflow: clip;

        .content {
            display: grid;
            place-items: center start;
            gap: var(--size-2);
            block-size: 100%;
            padding: var(--size-6);
            grid-template-rows: auto 1fr auto;
        }

        &.hero {
            grid-column: span var(--columns);
        }

        &:not(.hero) {
            grid-template-rows: 1fr 1fr;

            .visual {
                container-type: size;
                overflow: clip;
                inline-size: 100%;
                block-size: 100%;

                img {
                    block-size: 100cqb;
                    background-color: white;
                    object-fit: contain;
                }
            }

            .content {
                :is(h3, h4) {
                    align-self: start;
                }
            }
        }

        /* --md-n-above  */
        @media (width >=768px) {
            &.hero {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* --lg-only */
        @media (768px <=width <=1024px) {
            &.hero {
                min-block-size: calc(var(--card-min-block-size) * 1.125);
            }
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            grid-column: span calc(var(--columns) / 3);

            &.hero {
                grid-column: span var(--columns);
                min-block-size: calc(var(--card-min-block-size) * 1.5);
            }

            &:nth-child(n + 2):nth-child(-n + 5) {
                grid-column: span calc(var(--columns) / 2);
                min-block-size: calc(var(--card-min-block-size) * 1.25);
            }
        }

        /* --motionOK  */
        @media (prefers-reduced-motion: no-preference) {
            img {
                opacity: 0;
                transition: scale 0.4s ease;
            }

            &:hover img {
                scale: 1.03;
            }

            &.hero img {
                animation: 1s var(--animation-fade-in) forwards;
            }
        }
    }
}

@layer animation.reveal {

    /* --motionOK */
    @media (prefers-reduced-motion: no-preference) {
        .card:not(.hero) {
            opacity: 0;
            will-change: transform;
        }

        .reveal {
            /* Animation: fade-in from Open Props */
            animation: fade-in 660ms ease forwards,
                slide-up 1000ms cubic-bezier(0, 0, 0.1, 1) forwards;

            img {
                animation: 1s var(--animation-fade-in) forwards;
            }
        }

        @keyframes slide-up {
            from {
                transform: translateY(100px);
            }
        }
    }
}
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #a58fff 0%, #3975f5 50%, #7046ec 100%);
    --secondary-gradient: linear-gradient(135deg, #5daaed 0%, #53a5f7 100%);
    --dark-bg: #ffffff;
    --card-bg: #e5f8fd;
    --card-border: rgba(15, 23, 42, 0.08);
    --accent-orange: #3b82f6;
    --accent-purple: #55a3fb;
    --text-primary: #0f172a;
    --text-secondary: #5b6b7d;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

nav.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.25));
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 25px;
    background: var(--primary-gradient);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 100px;
    background: linear-gradient(180deg, #eaf3ff 0%, #fdfdff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;  
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(143, 199, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; 
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(181, 216, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

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

.hero-content {
    display: flex;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
}

.game-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.5));
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid rgba(59, 130, 246, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

/* Abstract Visual Element */
.abstract-visual {
    position: absolute;
    right: 5%;
    top: 20%;
    width: 300px;
    height: 500px;
    opacity: 0.3;
    z-index: 0;
}

.abstract-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: rotate 20s linear infinite;
    filter: blur(40px);
    opacity: 0.6;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-alt {
    background: rgba(255, 255, 255, 0.02);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 80px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Game Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    padding: 40px;
    border-radius: 28px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(79, 139, 255, 0.18);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
    border-radius: 999px;
}

.info-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -40px;
    background: radial-gradient(circle, rgba(91, 168, 255, 0.25) 0%, rgba(91, 168, 255, 0) 70%);
    filter: blur(2px);
}

.info-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 35px 70px rgba(59, 130, 246, 0.25);
    background: linear-gradient(180deg, #fdfdff 0%, #e5f2ff 100%);
}

.info-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15), 0 15px 30px rgba(59, 130, 246, 0.12);
}

.info-card-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.info-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #0b1e59;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1rem;
}

.info-card-centered {
    max-width: 1000px;
    margin: 0 auto;
}

.info-card-large-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.info-card-large-text p + p {
    margin-top: 25px;
}

.info-card-warning {
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid #f59e0b;
}

.info-card-success {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.info-card-success h3 {
    color: #4ade80;
    margin-bottom: 20px;
}

.info-card-success p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Approach Section */
.approach-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.approach-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.approach-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.approach-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat-box {
    background: linear-gradient(180deg, #ffffff 0%, #e6f3ff 100%);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    text-align: center;
    min-width: 220px;
    box-shadow: 0 20px 45px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Removed redundant zone-card styles - now using bento card design */

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.skill-item {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 18px 38px rgba(59, 130, 246, 0.12);
}

.skill-item::before {
    content: '✓';
    display: block;
    font-size: 1.8rem;
    color: #4ade80;
    margin-bottom: 12px;
    font-weight: bold;
}

.skill-item:hover {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 22px 40px rgba(59, 130, 246, 0.2);
}

/* Features Section */
.features-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    background: #ffffff;
    padding: 35px;
    margin: 25px 0;
    border-radius: 22px; 
    border-image: var(--primary-gradient) 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.18); 
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.12);
}

.feature-item:hover {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    transform: translateX(10px);
    box-shadow: 0 25px 45px rgba(59, 130, 246, 0.2);
}

.feature-item strong {
    color: var(--text-primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How to Play */
.how-to-play {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 60px;
    margin-top: 60px;
    border: 1px solid var(--card-border);
}

.how-to-play-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: rgb(0, 136, 255)0, 170, 255;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 25px; 
    color: white;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 107, 53, 0.5);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--accent-orange);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-full-width {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
/* Minimal containers and grid/cards */
.container { max-width: 1100px; margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    text-decoration: none;
    color: inherit;
}

.card .visual img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card .content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer {
    background: #ffffff;
    padding: 80px 40px 40px;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-column p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-orange);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .approach-section,
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .abstract-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 50px;
    }
    
    .zones-container {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .how-to-play {
        padding: 40px 25px;
    }
    
    .game-icon {
        width: 80px;
        height: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
@import 'https://unpkg.com/open-props' layer(design.system);
@import 'https://unpkg.com/open-props/normalize.light.min.css'
layer(base.normalize);

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

@layer base.normalize-overrides {
    :root {
        font-family: 'Inter', sans-serif;

        --surface-1: white;
        --surface-2: hsl(240, 11%, 96%);
        --text-1: hsl(240, 3%, 12%);
        --text-2: hsl(240, 2%, 44%);
        --radios-custom: 14px;
        --font-size-head-custom: 1.125rem;
    }

    body {
        -webkit-font-smoothing: antialiased;
    }

    /* ==== TYPOGRAPHY ==== */

    /* h1 set to "text-wrap: balance" out of the box by Open Props normalize; :) */

    h1 {
        font-size: var(--font-size-4);
    }

    h2 {
        font-size: var(--font-size-4);
    }

    :is(h3, h4) {
        font-size: var(--font-size-head-custom);
    }

    :is(h2, h3, h4) {
        text-wrap: pretty;
    }

    :is(h1, h2, h3, h4) {
        font-weight: var(--font-weight-7);
    }





    small {
        font-weight: var(--font-weight-6);
        color: var(--text-2);
    }

    /* --lg-n-only */
    @media (768px <=width <=1024px) {
        :is(h1, h2) {
            font-size: calc(var(--font-size-3) + var(--font-size-00));
        }
    }

    /* --lg-n-above */
    @media (width > 1024px) {
        h1 {
            font-size: var(--font-size-6);
        }

        h2 {
            font-size: var(--font-size-5);
        }

        h3 {
            font-size: var(--font-size-4);
        }
    }
}

@layer base.app {
    body {
        background-color: var(--surface-2);
        padding-block: var(--size-fluid-5);
        padding-inline: var(--size-5);
    }

    .bento-section {
        display: grid;
        place-items: center;

        header {
            padding-block: var(--size-3);
        }
    }

    .container {
        max-inline-size: 366px;

        /* --lg-only */
        @media (768px <=width <=1024px) {
            max-inline-size: 695px;
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            max-inline-size: 975px;
        }
    }
}

@layer base.components {
    .bento-grid {
        --columns: 1;
        --card-min-block-size: 360px;
        display: grid;
        gap: calc(var(--size-7) + var(--size-1));

        grid-template-columns: repeat(var(--columns), 1fr);

        /* --lg-only */
        @media (768px <=width <=1024px) {
            --columns: 2;
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            --columns: 12;
        }
    }

    .card {
        display: grid;
        place-items: center;
        gap: var(--size-2);

        margin: 0;
        padding: 0;
        color: var(--text-1);
        text-decoration: none;

        background-color: white;
        border-radius: var(--radios-custom);
        min-block-size: var(--card-min-block-size);
        overflow: clip;

        .content {
            display: grid;
            place-items: center start;
            gap: var(--size-2);
            block-size: 100%;
            padding: var(--size-6);
            grid-template-rows: auto 1fr auto;
        }

        &.hero {
            grid-column: span var(--columns);
        }

        &:not(.hero) {
            grid-template-rows: 1fr 1fr;

            .visual {
                container-type: size;
                overflow: clip;
                inline-size: 100%;
                block-size: 100%;

                img {
                    block-size: 100cqb;
                    background-color: white;
                    object-fit: contain;
                }
            }

            .content {
                :is(h3, h4) {
                    align-self: start;
                }
            }
        }

        /* --md-n-above  */
        @media (width >=768px) {
            &.hero {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* --lg-only */
        @media (768px <=width <=1024px) {
            &.hero {
                min-block-size: calc(var(--card-min-block-size) * 1.125);
            }
        }

        /* --lg-n-above */
        @media (width >=1024px) {
            grid-column: span calc(var(--columns) / 3);

            &.hero {
                grid-column: span var(--columns);
                min-block-size: calc(var(--card-min-block-size) * 1.5);
            }

            &:nth-child(n + 2):nth-child(-n + 5) {
                grid-column: span calc(var(--columns) / 2);
                min-block-size: calc(var(--card-min-block-size) * 1.25);
            }
        }

        /* --motionOK  */
        @media (prefers-reduced-motion: no-preference) {
            img {
                opacity: 0;
                transition: scale 0.4s ease;
            }

            &:hover img {
                scale: 1.03;
            }

            &.hero img {
                animation: 1s var(--animation-fade-in) forwards;
            }
        }
    }
}

@layer animation.reveal {

    /* --motionOK */
    @media (prefers-reduced-motion: no-preference) {
        .card:not(.hero) {
            opacity: 0;
            will-change: transform;
        }

        .reveal {
            /* Animation: fade-in from Open Props */
            animation: fade-in 660ms ease forwards,
                slide-up 1000ms cubic-bezier(0, 0, 0.1, 1) forwards;

            img {
                animation: 1s var(--animation-fade-in) forwards;
            }
        }

        @keyframes slide-up {
            from {
                transform: translateY(100px);
            }
        }
    }
}
}
