    :root {
        /* Color Palette - Premium Dark Mode */
        --bg-base: #0f172a;
        --bg-surface: rgba(30, 41, 59, 0.4);
        --bg-surface-hover: rgba(30, 41, 59, 0.7);
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --accent-primary: #3b82f6;
        --accent-secondary: #8b5cf6;
        --accent-glow: rgba(59, 130, 246, 0.5);

        /* Layout & UI Elements */
        --border-glass: rgba(255, 255, 255, 0.08);
        --border-glass-hover: rgba(255, 255, 255, 0.15);
        --radius-lg: 20px;
        --radius-md: 12px;
        --radius-sm: 8px;
        --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
        --shadow-glow: 0 0 25px var(--accent-glow);

        /* Typography */
        --font-heading: 'Outfit', sans-serif;
        --font-body: 'Inter', sans-serif;

        /* Animation */
        --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-body);
        background-color: var(--bg-base);
        color: var(--text-primary);
        line-height: 1.6;
        overflow-x: hidden;
        position: relative;
        min-height: 100vh;
    }

    /* Dynamic Background Elements */
    .background-effects {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        overflow: hidden;
    }

    .glow-orb {
        position: absolute;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.4;
        animation: float 20s infinite alternate;
    }

    .orb-1 {
        top: -200px;
        left: -100px;
        background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    }

    .orb-2 {
        bottom: -300px;
        right: -200px;
        background: radial-gradient(circle, var(--accent-primary), transparent 70%);
        animation-delay: -10s;
    }

    @keyframes float {
        0% {
            transform: translate(0, 0);
        }

        100% {
            transform: translate(100px, 50px);
        }
    }

    /*tabs*/
    .tabs {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
        padding: 20px 170px;/*padding: height width*/
        background-color: #000000aa;
    }
    
    .tab {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

    .tabs input {
        display: none;
    }

    .tabs label {
        padding: 10px;
        cursor: pointer;
    }

    .page-title {
        font-size: 32px;
        font-weight: 800;
        margin-right: 25px;
        letter-spacing: -1px;
    }

    .tab-content {
        scroll-margin-top: 80px;
    }

    /* Layout Utilities */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 32px; /*padding: height width*/
    }

    .page-content {
        padding-top: 48px;
        padding-bottom: 80px;
    }

    /* Typography */
    h1,
    h2,
    h3 {
        font-family: var(--font-heading);
        line-height: 1.2;
    }

    p {
        color: var(--text-secondary);
    }

    .highlight {
        font-weight: 700;
    }
    .gradient_purplish{
        background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

    /* Header */
    .header {
        padding: 150px 0 64px;
        text-align: left;
    }

    .intro-text {
        font-size: 20px;
        font-weight: 300;
        max-width: 1200px;
        margin-left: 25px;
    }

    .text-desc {
        font-size: 18px;
        font-weight: 400;
        max-width: 1200px;
        margin-left: 50px;
        margin-top: 20px;
    }

    /* Buttons */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: var(--radius-sm);
        font-family: var(--font-heading);
        font-weight: 700;
        text-decoration: none;
        transition: all var(--transition-fast);
        cursor: pointer;
        border: none;
        font-size: 16px;
    }

    .btn-primary {
        background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
        color: white;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-glow);
    }

    .btn-outline {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
        border: 1px solid var(--border-glass);
        backdrop-filter: blur(10px);
    }

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-4px);
        /* specialized for back button hover */
        border-color: var(--border-glass-hover);
    }

    /* Grid System */
    .games-grid {
        display: grid;
        grid-template-columns: 1fr;
        /*grid-template-columns: repeat(auto-fill, minmax(700px, 1fr));
        */
        gap: 32px;
        margin-top: 32px;
    }

    /* Game Card (Glassmorphism) */
    .game-card {
        background: var(--bg-surface);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-lg);
        overflow: hidden;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-subtle);
        transition: all var(--transition-smooth);
        display: flex;
        flex-direction: row;
        height: 100%;
    }

    .game-card:hover {
        transform: translateY(-8px);
        border-color: var(--border-glass-hover);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(59, 130, 246, 0.1);
    }

    .card-image-wrapper {
        position: relative;
        height: auto;
        overflow: hidden;
        width: 275px;
        padding: 20px 20px;
        flex-shrink: 0;
    }

    .card-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        transition: transform var(--transition-smooth);
        display: block;
    }

    /* Shine effect */
    .card-image-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
        transform: skewX(-25deg);
        transition: 0s;
    }

    /**/

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

    .game-card:hover .card-image-wrapper::after {
        left: 200%;
        transition: 0.8s ease-in-out;
    }

    .card-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent, var(--bg-surface));
        opacity: 0.8;
    }

    .card-content {
        padding: 24px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .game-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .game-description {
        margin-bottom: 32px;
        flex-grow: 1;
    }

    .card-content .btn {
        align-self: flex-start;
    }

    /* Detail Page Specifics */
    .nav-bar {
        margin-bottom: 48px;
    }

    .detail-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 48px;
        flex-wrap: wrap;
        gap: 24px;
    }

    .detail-title {
        font-size: 56px;
        margin-bottom: 0;
    }

    .glass-panel {
        background: var(--bg-surface);
        border: 1px solid var(--border-glass);
        border-radius: var(--radius-lg);
        padding: 32px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: var(--shadow-subtle);
    }

    .gameplay-media {
        padding: 16px;
        margin-bottom: 48px;
    }

    .media-container {
        width: 100%;
        border-radius: var(--radius-md);
        overflow: hidden;
        position: relative;
    }

    .full-media {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .details-grid {
        display: grid;
        gap: 32px;
        grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
    }

    .section-heading {
        font-size: 24px;
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--border-glass);
    }

    .styled-list {
        list-style-type: none;
    }

    .styled-list li {
        margin-bottom: 8px;
        padding-left: 24px;
        position: relative;
        color: var(--text-secondary);
    }

    .styled-list li::before {
        content: "•";
        color: var(--accent-primary);
        position: absolute;
        left: 0;
        font-size: 19px;
        line-height: inherit;
    }

    .round-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .tag {
        background: rgba(59, 130, 246, 0.1);
        color: var(--text-primary);
        border: 1px solid var(--accent-glow);
        padding: 6px 16px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 500;
    }

    /*Contact*/
    .contact-section {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .contact-text {
        margin: 10px 0 30px;
        color: #aaa;
        font-size: 0.95rem;
    }

    .contact-links {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-item {
        padding: 10px 18px;
        background: #222;
        color: white;
        text-decoration: none;
        border-radius: 20px;
        transition: 0.3s;
    }

    .contact-item:hover {
        background: #1502471f;
        color: white;
    }

    /* Animations */
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .delay-1 {
        transition-delay: 0.2s;
    }

    /* Responsive */
@media (max-width: 768px) {

    /* 🔝 Fix top tabs bar */
    .tabs {
        padding: 12px 20px; /* reduce side padding */
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .tab{
        display: flex;
        align-items: center;
    }

    .tabs label {
        padding: 6px 8px;
        font-size: 14px;
    }

    /* 📦 Container spacing */
    .container {
        padding: 0 16px;
    }

    .topmargin{
        padding-top: 45px;
    }

    /* 🧱 Game card: horizontal → vertical */
    .game-card {
        flex-direction: column;
    }

    /* 🖼 Image full width */
    .card-image-wrapper {
        width: 100%;
        height: auto;
        padding: 16px;
    }

    .card-image {
        object-fit: contain;
    }

    /* 📝 Content spacing */
    .card-content {
        padding: 16px;
    }

    .game-title {
        font-size: 20px;
    }

    .game-description {
        margin-bottom: 20px;
        font-size: 14px;
    }

    /* 🔤 Headings */
    .page-title {
        font-size: 24px;
        font-weight: 600;
        margin-right: 0px;
        letter-spacing: 0px;
    }

    .intro-text {
        font-size: 16px;
        margin-left: 0;
    }

    .text-desc {
        font-size: 16px;
        margin-left: 0;
    }

    .header {
        padding: 48px 0 24px;
    }

    .detail-title {
        font-size: 28px;
    }

    /* 📊 Grids */
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    /* 🧩 Buttons */
    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    /*round*/
    .long-round {
        border-radius: px;
    }
} 
