/* GeckoJump Homepage Styles - Dark Mode Pixelated Theme */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #333;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 24px;
    filter: drop-shadow(0 0 5px #00ff00);
}

.brand-name {
    font-size: 18px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #00ff00;
    border-color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.nav-link.active {
    color: #00ff00;
    border-color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Home Content */
.home-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    min-height: calc(100vh - 120px);
}

.center-text {
    max-width: 600px;
    margin: 0 auto;
}

.center-text h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    min-height: 40px;
}

.center-text p {
    font-size: 10px;
    color: #888;
    max-width: 400px;
    margin: 0 auto;
}

/* Games Page Styles */
.games-page {
    flex: 1;
    padding: 40px 0;
}

.games-header {
    text-align: center;
    margin-bottom: 40px;
}

.games-header h1 {
    font-size: 24px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    margin-bottom: 10px;
}

.games-header p {
    font-size: 10px;
    color: #888;
}

.games-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-card-small {
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card-small:hover {
    border-color: #00ff00;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.4);
    transform: translateY(-8px);
}

.game-icon-small {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.game-card-small h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(224, 224, 224, 0.3);
}

.game-card-small p {
    font-size: 9px;
    color: #aaa;
    margin-bottom: 25px;
    line-height: 1.4;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.play-button-small {
    margin-top: 20px;
}

.btn-small {
    display: inline-block;
    padding: 12px 24px;
    background: #333;
    color: #e0e0e0;
    text-decoration: none;
    border: 2px solid #555;
    border-radius: 6px;
    font-size: 10px;
    font-family: 'Press Start 2P', monospace;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-small:hover {
    background: #00ff00;
    color: #1a1a1a;
    border-color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

/* MysticGrid specific styling */
.game-card-small.mysticgrid {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-color: #CD853F;
}

.game-card-small.mysticgrid:hover {
    border-color: #FFD700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-8px);
}

.game-card-small.mysticgrid h3 {
    color: #FFD700;
    text-shadow: 0 0 8px #FFD700;
}

.game-card-small.mysticgrid p {
    color: #FFF8DC;
}

.game-card-small.mysticgrid .btn-small {
    background: #CD853F;
    border-color: #D2691E;
    color: #FFF8DC;
}

.game-card-small.mysticgrid .btn-small:hover {
    background: #FFD700;
    color: #8B4513;
    border-color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .home-content {
        padding: 40px 0;
        min-height: calc(100vh - 100px);
    }
    
    .center-text h1 {
        font-size: 18px;
    }
    
    .center-text p {
        font-size: 8px;
    }
    
    .games-grid-small {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .games-page {
        padding: 20px 0;
    }
}
