@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&family=Outfit:wght@400;700&display=swap");

:root {
            --dusty-rose: #be185d;
            --cream: #fffbeb;
            --dark-brown: #451a03;
            --light-gray: #f5f5f5;
            --border-color: #e5e5e5;
        }

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

        html, body {
            height: 100%;
        }

        body {
            font-family: 'Raleway', sans-serif;
            font-weight: 400;
            line-height: 1.6;
            color: var(--dark-brown);
            background-color: #fff;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        h1 {
            font-size: 3.5rem;
            margin-bottom: 0.5rem;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 0.75rem;
        }

        h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        p {
            font-size: 1rem;
            margin-bottom: 1.25rem;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        a {
            color: var(--dusty-rose);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        a:hover {
            text-decoration: underline;
        }

        button, .btn {
            font-family: 'Raleway', sans-serif;
            font-weight: 700;
            padding: 1rem 2rem;
            border: none;
            border-radius: 4px;
            background-color: var(--dusty-rose);
            color: #fff;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            display: inline-block;
            text-align: center;
        }

        button:hover, .btn:hover {
            background-color: #a01450;
            text-decoration: none;
        }

        /* Header & Navigation */
        header {
            background-color: #fff;
            padding: 2rem;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

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

        .logo {
            font-family: 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark-brown);
        }

        nav {
            display: flex;
            gap: 2rem;
            flex-direction: column;
            align-items: flex-start;
        }

        nav a {
            font-size: 1rem;
            font-weight: 400;
            color: var(--dark-brown);
            border-bottom: 2px solid transparent;
            padding-bottom: 0.25rem;
        }

        nav a:hover {
            border-bottom-color: var(--dusty-rose);
            text-decoration: none;
        }

        nav a.active {
            border-bottom-color: var(--dusty-rose);
            font-weight: 700;
        }

        /* Main Content */
        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 5rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        section:last-child {
            border-bottom: none;
        }

        /* Hero Section */
        #hero_compact {
            padding: 6rem 0;
            text-align: center;
            background-color: var(--cream);
        }

        #hero_compact h1 {
            color: var(--dark-brown);
            margin-bottom: 1rem;
        }

        #hero_compact .subheading {
            font-size: 1.25rem;
            color: #666;
            margin-bottom: 2.5rem;
            font-weight: 400;
        }

        #hero_compact .cta-group {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Feature Split Left (40/60) */
        #feature_split_left {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 3rem;
            align-items: center;
        }

        #feature_split_left .content {
            order: 1;
        }

        #feature_split_left .image-container {
            order: 2;
            height: 400px;
            overflow: hidden;
            border-radius: 8px;
        }

        #feature_split_left .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #feature_split_left h2 {
            color: var(--dark-brown);
        }

        #feature_split_left .subheading {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 1.5rem;
        }

        #feature_split_left p {
            margin-bottom: 1.5rem;
            font-size: 1rem;
        }

        /* Treasure Rooms Block */
        #treasure_rooms_block {
            background: linear-gradient(135deg, var(--cream) 0%, #fff9f0 100%);
            padding: 4rem 2rem;
            border-radius: 12px;
            text-align: center;
        }

        #treasure_rooms_block h2 {
            color: var(--dark-brown);
            margin-bottom: 1rem;
        }

        #treasure_rooms_block .subheading {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
        }

        #treasure_rooms_block .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        #treasure_rooms_block .feature-item {
            background-color: #fff;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        #treasure_rooms_block .feature-item h3 {
            color: var(--dusty-rose);
            margin-bottom: 0.75rem;
        }

        #treasure_rooms_block .feature-item p {
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        /* Gameplay Mechanics */
        #gameplay_mechanics {
            background-color: var(--light-gray);
        }

        #gameplay_mechanics h2 {
            color: var(--dark-brown);
            margin-bottom: 1rem;
        }

        #gameplay_mechanics .subheading {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
        }

        #gameplay_mechanics .mechanics-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        #gameplay_mechanics .mechanic-card {
            background-color: #fff;
            padding: 2rem;
            border-radius: 8px;
            border-left: 4px solid var(--dusty-rose);
        }

        #gameplay_mechanics .mechanic-card h3 {
            color: var(--dark-brown);
            margin-bottom: 0.75rem;
        }

        #gameplay_mechanics .mechanic-card p {
            font-size: 0.95rem;
            margin-bottom: 0;
            color: #555;
        }

        /* Responsible Play */
        #responsible_play_cta {
            background: linear-gradient(135deg, #f0f9ff 0%, var(--cream) 100%);
            padding: 4rem 2rem;
            border-radius: 12px;
            text-align: center;
        }

        #responsible_play_cta h2 {
            color: var(--dark-brown);
            margin-bottom: 1rem;
        }

        #responsible_play_cta .subheading {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 2rem;
        }

        #responsible_play_cta .tips {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-top: 2rem;
        }

        #responsible_play_cta .tip {
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        #responsible_play_cta .tip h4 {
            color: var(--dusty-rose);
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        #responsible_play_cta .tip p {
            font-size: 0.9rem;
            margin-bottom: 0;
            color: #555;
        }

        /* CTA Join Section */
        #cta_join {
            background-color: var(--dusty-rose);
            color: #fff;
            padding: 5rem 2rem;
            text-align: center;
            border-radius: 12px;
        }

        #cta_join h2 {
            color: #fff;
            margin-bottom: 1rem;
        }

        #cta_join .subheading {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
        }

        #cta_join .btn {
            background-color: #fff;
            color: var(--dusty-rose);
            font-weight: 700;
            padding: 1rem 2.5rem;
        }

        #cta_join .btn:hover {
            background-color: var(--cream);
        }

        /* Footer */
        footer {
            background-color: var(--dark-brown);
            color: #fff;
            padding: 3rem 2rem 1.5rem;
            margin-top: 5rem;
        }

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

        .footer-section h3 {
            color: #fff;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

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

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-section a {
            color: #fff;
            font-size: 0.95rem;
        }

        .footer-section a:hover {
            color: var(--dusty-rose);
            text-decoration: none;
        }

        .footer-contact p {
            font-size: 0.95rem;
            margin-bottom: 0.75rem;
            color: #fff;
        }

        .footer-contact a {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

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

            h2 {
                font-size: 1.75rem;
            }

            #feature_split_left {
                grid-template-columns: 1fr;
            }

            #feature_split_left .content {
                order: 1;
            }

            #feature_split_left .image-container {
                order: 2;
                height: 300px;
            }

            nav {
                flex-direction: row;
                gap: 1.5rem;
            }

            .header-container {
                flex-direction: column;
                gap: 1rem;
            }

            #hero_compact .cta-group {
                flex-direction: column;
                align-items: center;
            }

            #hero_compact .cta-group .btn {
                width: 100%;
                max-width: 250px;
            }
        }

        /* Decorative element */
        .decorative-number {
            font-family: 'Outfit', sans-serif;
            font-size: 6rem;
            font-weight: 700;
            color: var(--dusty-rose);
            opacity: 0.15;
            position: absolute;
            top: -1rem;
            left: -2rem;
            pointer-events: none;
        }

        .section-with-decoration {
            position: relative;
        }
/* ── image safety ── */
img { max-width: 100%; height: auto; display: block; }
img[style*='width:'] { max-width: 100%; }
