@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.game-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.user-section {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#user-display {
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
}

.auth-btn {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    color: #333;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ffd700);
    transform: translateY(-1px);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

/* Main Game Layout - Three Columns */
.game-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    flex: 1;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Left Panel - Instructions */
.left-panel {
    position: sticky;
    top: 20px;
}

.instructions-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-height: 500px;
    width: 100%;
}

.instructions-panel h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.instructions-list {
    list-style: none;
    margin: 25px 0;
}

.instructions-list li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.instructions-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 0.9rem;
}

.key-mappings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-map {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #ccc;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.key-map:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.key {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Center Panel - Game */
.center-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.game-status {
    text-align: center;
}

.game-status h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.score {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #ffd700;
    font-weight: 700;
}

.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.line-one, .line-two {
    display: flex;
    gap: 15px;
}

.btn {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.btn:active {
    transform: scale(0.95);
}

.green {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-color: #66BB6A;
}

.green:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

.purple {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
    border-color: #BA68C8;
}

.purple:hover {
    background: linear-gradient(135deg, #BA68C8, #9C27B0);
}

.red {
    background: linear-gradient(135deg, #F44336, #C62828);
    border-color: #EF5350;
}

.red:hover {
    background: linear-gradient(135deg, #EF5350, #F44336);
}

.yellow {
    background: linear-gradient(135deg, #FFEB3B, #F57F17);
    border-color: #FFEE58;
    color: #333;
}

.yellow:hover {
    background: linear-gradient(135deg, #FFEE58, #FFEB3B);
}

.flash {
    background: radial-gradient(circle, #ffffff, #f0f0f0) !important;
    border-color: #ffffff !important;
    color: #333 !important;
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    animation: flash-pulse 0.25s ease;
}

@keyframes flash-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

/* Right Panel - Leaderboard */
.right-panel {
    position: sticky;
    top: 20px;
}

.leaderboard-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 35px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    min-height: 500px;
    width: 100%;
}

.leaderboard-panel h3 {
    text-align: center;
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffd700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 450px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.5) transparent;
}

.leaderboard-list::-webkit-scrollbar {
    width: 6px;
}

.leaderboard-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 3px;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

.leaderboard-list li {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    gap: 15px;
    padding: 12px 15px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    align-items: center;
    font-size: 0.9rem;
}

.leaderboard-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rank {
    font-weight: bold;
    color: #ffd700;
    text-align: center;
    font-size: 0.9rem;
}

.player-name {
    color: #e0e0e0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95rem;
}

.score {
    color: #4CAF50;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
}

/* Special styling for top 3 */
.leaderboard-list li.rank-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.15));
    border-color: #ffd700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.leaderboard-list li.rank-1 .rank {
    color: #ffd700;
    font-size: 1.1rem;
}

.leaderboard-list li.rank-1 .rank::before {
    content: "🥇 ";
}

.leaderboard-list li.rank-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.25), rgba(192, 192, 192, 0.15));
    border-color: #c0c0c0;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.2);
}

.leaderboard-list li.rank-2 .rank::before {
    content: "🥈 ";
}

.leaderboard-list li.rank-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.25), rgba(205, 127, 50, 0.15));
    border-color: #cd7f32;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.2);
}

.leaderboard-list li.rank-3 .rank::before {
    content: "🥉 ";
}


/* Authentication Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #ffd700;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form h3 {
    color: #ffd700;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.auth-form input {
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.auth-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.auth-form button {
    padding: 12px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border: none;
    border-radius: 8px;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-form button:hover {
    background: linear-gradient(135deg, #ffb300, #ffd700);
    transform: translateY(-2px);
}

.auth-form p {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.auth-form a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.auth-form a:hover {
    text-decoration: underline;
}

/* Footer */
.game-footer {
    margin-top: auto;
    text-align: center;
}

.footer-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.footer-info p {
    margin: 5px 10px;
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
}

.footer-info p:first-child {
    font-weight: 600;
    color: #ffd700;
}

.footer-links {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.footer-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.separator {
    color: #666;
    font-size: 0.8rem;
}

.footer-social p {
    color: #ccc;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */

@media (min-width: 1200px) {
    .game-layout {
        grid-template-columns: 350px 1fr 350px;
        gap: 50px;
    }
    
    .instructions-panel,
    .leaderboard-panel {
        padding: 40px;
        min-height: 600px;
    }
    
    .instructions-panel h3,
    .leaderboard-panel h3 {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }
    
    .btn {
        height: 160px;
        width: 160px;
        font-size: 2rem;
    }
    
    h1 {
        font-size: 4rem;
    }
}

/* Tablet Landscape (768px - 1199px) */
@media (max-width: 1199px) {
    .game-layout {
        grid-template-columns: 320px 1fr 320px;
        gap: 30px;
    }
    
    .instructions-panel,
    .leaderboard-panel {
        padding: 30px;
        min-height: 450px;
    }
    
    .btn {
        height: 120px;
        width: 120px;
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 3rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .game-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 25px;
    }
    
    .left-panel {
        order: 1;
        position: static;
    }
    
    .center-panel {
        order: 2;
    }
    
    .right-panel {
        order: 3;
        position: static;
    }
    
    .instructions-panel,
    .leaderboard-panel {
        min-height: auto;
        padding: 25px;
    }
    
    .key-mappings {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    
    .leaderboard-header,
    .leaderboard-list li {
        grid-template-columns: 50px 1fr 60px 100px;
        gap: 12px;
        font-size: 0.9rem;
    }
}

/* Mobile Landscape (481px - 767px) */
@media (max-width: 767px) {
    .user-section {
        position: relative;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        height: 100px;
        width: 100px;
        font-size: 1.2rem;
    }
    
    .line-one, .line-two {
        gap: 10px;
    }
    
    .instructions-panel,
    .leaderboard-panel {
        padding: 20px;
    }
    
    .leaderboard-header,
    .leaderboard-list li {
        grid-template-columns: 40px 1fr 50px;
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .leaderboard-header span:last-child,
    .leaderboard-list li .date {
        display: none;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .game-container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .btn {
        height: 80px;
        width: 80px;
        font-size: 1rem;
    }
    
    .key-mappings {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .instructions-panel,
    .leaderboard-panel {
        padding: 15px;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
}

/* Game over effect */
body.game-over {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ...existing styles... */

/* Landing Page Styles */
.landing-page {
    background: linear-gradient(135deg, #1e3c72, #2a5298, #1e3c72);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    min-height: 80vh;
    padding: 40px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.simon-text {
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.game-text {
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    font-weight: 600;
    margin: 0;
}

.hero-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.cta-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-btn.primary:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.cta-btn.secondary {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-btn.secondary:hover {
    background: linear-gradient(135deg, #ffb300, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Demo Game */
.demo-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.demo-btn-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.demo-line-one, .demo-line-two {
    display: flex;
    gap: 15px;
}

.demo-btn {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.demo-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.demo-btn.red {
    background: linear-gradient(135deg, #F44336, #C62828);
}

.demo-btn.yellow {
    background: linear-gradient(135deg, #FFEB3B, #F57F17);
    color: #333;
}

.demo-btn.green {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

.demo-btn.purple {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
}

.demo-text {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 50px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 1rem;
}

/* How to Play Section */
.how-to-play-section {
    padding: 80px 0;
    text-align: center;
}

.how-to-play-section h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 50px;
    font-weight: 700;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.step-content h3 {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: #e0e0e0;
    line-height: 1.5;
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    margin: 40px -20px;
    border-radius: 20px;
}

.stats-section h2 {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 50px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    color: #4CAF50;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
}

/* Landing Footer */
.landing-footer {
    padding: 40px 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive Design for Landing Page */
@media (max-width: 1023px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .cta-buttons {
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .demo-btn {
        height: 80px;
        width: 80px;
        font-size: 1.2rem;
    }
    
    .features-section,
    .how-to-play-section,
    .stats-section {
        padding: 60px 0;
    }
    
    .features-section h2,
    .how-to-play-section h2,
    .stats-section h2 {
        font-size: 2rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .demo-btn {
        height: 70px;
        width: 70px;
        font-size: 1rem;
    }
    
    .demo-line-one, .demo-line-two {
        gap: 10px;
    }
    
    .feature-card,
    .stat-card {
        padding: 25px 15px;
    }
}

/* ...rest of existing styles... */