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

:root {
    /* Colors */
    --primary-color: #9945FF;
    --primary-dark: #7A39CC;
    --secondary-color: #14F195;
    --accent-color: #FF6B6B;
    --background-color: #0D0E1A;
    --surface-color: #1A1B2E;
    --surface-light: #252640;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-muted: #8B8FA3;
    --border-color: #2A2B3E;
    --gradient-primary: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B6B 0%, #9945FF 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(153, 69, 255, 0.3);
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: radial-gradient(circle at 50% 50%, rgba(153, 69, 255, 0.1) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.latest-game-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.latest-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.latest-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(1);
}

.loading-game {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
}

.latest-game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.latest-game-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.latest-game-category {
    color: var(--text-muted);
    font-size: 14px;
}

.latest-game-new-badge {
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    position: relative;
}

.latest-game-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
}

.latest-game-description.collapsed {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

.description-toggle {
    color: var(--secondary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    margin: 4px 0;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
}

.description-toggle:hover {
    color: var(--secondary-color);
}

.latest-game-info-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.latest-game-blockchain,
.latest-game-launchpad {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 13px;
    background: var(--surface-light);
    padding: 6px 10px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.latest-game-blockchain img,
.latest-game-launchpad img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.latest-game-image {
    width: 100%;
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

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

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

.latest-game-ath {
    background: var(--surface-light);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-game-ath strong {
    color: var(--text-primary);
    font-size: 11px;
}

.latest-game-ath .ath-value {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 12px;
}

.latest-game-bonding {
    background: var(--surface-light);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-game-bonding strong {
    color: var(--text-primary);
    font-size: 11px;
}

.latest-game-contract {
    background: var(--surface-light);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    position: relative;
}

.latest-game-contract strong {
    color: var(--text-primary);
    font-size: 11px;
}

.latest-game-contract .contract-address {
    font-family: monospace;
    font-size: 10px;
    color: var(--text-muted);
    word-break: break-all;
    display: block;
    margin-top: 4px;
    padding-right: 25px;
}

.latest-game-contract .copy-contract-btn {
    width: 20px;
    height: 20px;
    font-size: 9px;
    top: 8px;
    right: 8px;
}

.latest-game-links {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.latest-game-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.latest-game-link:hover {
    border-color: var(--primary-color);
    background: rgba(153, 69, 255, 0.1);
}

.latest-game-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 4px;
}

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

/* Floating Chains */
.floating-chains {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-chain {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.floating-chain img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.floating-chain[data-chain="solana"] {
    top: 15%;
    left: 5%;
    animation: floatUpDown 4s ease-in-out infinite;
}

.floating-chain[data-chain="bnb"] {
    top: 60%;
    right: 8%;
    animation: floatLeftRight 5s ease-in-out infinite;
    animation-delay: -2s;
}

.floating-chain[data-chain="base"] {
    bottom: 20%;
    left: 15%;
    animation: floatDiagonal 6s ease-in-out infinite;
    animation-delay: -4s;
}

/* Animation keyframes */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-12px); }
}

@keyframes floatDiagonal {
    0%, 100% { transform: translate(0px, 0px); }
    25% { transform: translate(-8px, -8px); }
    50% { transform: translate(8px, -15px); }
    75% { transform: translate(-4px, -12px); }
}

/* Supported Chains Section */
.chains-section {
    background: var(--surface-color);
}

.chains-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.chain-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chain-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.chain-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.chain-item:hover::before {
    transform: scaleX(1);
}

.chain-icon {
    width: 80px;
    height: 80px;
    background: var(--surface-light);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.chain-item:hover .chain-icon {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.chain-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.chain-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Supported Launchpads Section */
.launchpads-section {
    background: var(--background-color);
}

.launchpads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.launchpad-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.launchpad-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.launchpad-icon {
    width: 60px;
    height: 60px;
    background: var(--surface-light);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}

.launchpad-item:hover .launchpad-icon {
    border-color: var(--primary-color);
}

.launchpad-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.launchpad-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(153, 69, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}


/* Sections */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Token Rules Info */
.token-rules-info {
    margin-top: 30px;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
}

.rules-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.rules-text i {
    color: var(--secondary-color);
    font-size: 20px;
    flex-shrink: 0;
}

/* Games Section */
.games-section {
    background: var(--background-color);
}


.games-grid {
    display: block;
    width: 100%;
}

.game-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.game-card:hover::before {
    transform: scaleX(1);
}

.game-card.old-game {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.game-card.old-game:hover {
    opacity: 0.8;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.game-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.game-category {
    color: var(--text-muted);
    font-size: 14px;
}

.game-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.game-status.live {
    background: rgba(20, 241, 149, 0.2);
    color: var(--secondary-color);
}

.game-status.beta {
    background: rgba(153, 69, 255, 0.2);
    color: var(--primary-color);
}

.game-status.coming-soon {
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent-color);
}

.game-new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--background-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

/* Games Categories */
.games-category {
    margin-bottom: 60px;
}

.games-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 auto;
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    font-size: 14px;
}

.game-info-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.game-blockchain,
.game-launchpad {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    background: var(--surface-light);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.game-blockchain img,
.game-launchpad img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

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

.game-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.game-link:hover {
    color: var(--secondary-color);
}

.game-image {
    width: 100%;
    height: 160px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

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

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

.game-ath {
    background: var(--surface-light);
    padding: 8px 10px;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-ath strong {
    color: var(--text-primary);
    font-size: 11px;
}

.ath-value {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
}

.game-bonding {
    background: var(--surface-light);
    padding: 8px 10px;
    border-radius: var(--border-radius);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-bonding strong {
    color: var(--text-primary);
    font-size: 11px;
}

.bonding-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.bonding-status.success {
    background: rgba(20, 241, 149, 0.2);
    color: var(--secondary-color);
}

.bonding-status.failed {
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent-color);
}

.bonding-status.soon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.game-contract {
    background: var(--surface-light);
    padding: 8px 10px;
    border-radius: var(--border-radius);
    margin-bottom: 0;
    border: 1px solid var(--border-color);
    position: relative;
}

.game-contract strong {
    color: var(--text-primary);
    font-size: 11px;
}

.contract-address {
    font-family: monospace;
    font-size: 10px;
    color: var(--text-muted);
    word-break: break-all;
    display: block;
    margin-top: 3px;
    padding-right: 25px;
}

.copy-contract-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    transition: all 0.3s ease;
}

.copy-contract-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.buy-link {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.buy-link:hover {
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Compact Info for Old Projects */
.game-compact-info {
    background: var(--surface-light);
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.compact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.compact-networks {
    display: flex;
    gap: 8px;
}

.compact-networks img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.compact-status i {
    color: var(--accent-color);
    font-size: 16px;
}

.compact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compact-ath {
    color: var(--text-secondary);
    font-size: 12px;
}

.compact-contract {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
}

.compact-contract .copy-contract-btn {
    position: static;
    width: 16px;
    height: 16px;
    font-size: 8px;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    font-size: 18px;
}



/* Footer */
.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link i {
    font-size: 16px;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
        gap: 30px;
        justify-content: center;
    }
    
    .rules-text {
        font-size: 15px;
    }
    
    .chains-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .launchpads-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-links {
        flex-direction: row;
        gap: 30px;
    }
    
    .category-title {
        font-size: 26px;
        text-align: left;
        padding-left: 20px;
    }
    
    .category-title::before {
        display: block;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .btn {
        width: auto;
        max-width: none;
    }
    
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 350px));
        gap: 40px;
        max-width: none;
        justify-content: flex-start;
    }
    
    .launchpads-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Adjust floating chains for mobile */
    .floating-chain {
        width: 40px;
        height: 40px;
    }
    
    .floating-chain img {
        width: 24px;
        height: 24px;
    }
    
    .rules-text {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        font-size: 14px;
    }
    
    .game-info-row,
    .latest-game-info-row {
        justify-content: center;
    }
    
    .category-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        padding-left: 0;
    }
    
    .category-title::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .rule-card, .game-card {
        padding: 16px;
    }
    
    .game-image {
        height: 140px;
        margin-bottom: 12px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
