:root {
    --primary: #ff8ed4;
    --dark-bg: #1a1b1e;
    --darker-bg: #111214;
    --card-bg: #2a2b2f;
    --text: #ffffff;
    --text-secondary: #b3b3b3;
    --border: #3a3b3f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', sans-serif;
    background: var(--darker-bg);
    color: var(--text);
    min-height: 100vh;
}

/* Navigation */
.main-nav {
    background: rgba(26, 27, 30, 0.95);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background: var(--primary);
}

.nav-links a.glow-button {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Game Container */
.game-layout {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    height: 100vh;
    margin-top: 80px;
}

.game-area {
    flex: 1;
    background: #e1f5fe;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cat-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#cat-sprite {
    font-size: 5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shadow {
    width: 60px;
    height: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    margin: 0 auto;
    filter: blur(3px);
}

.game-ui {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stats-panel {
    background: #1a1b1e;
    border-radius: 15px;
    padding: 1.5rem;
}

.pet-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pet-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-details h2 {
    margin: 0;
    font-size: 1.2rem;
}

.level-text {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.stats-display {
    background: var(--darker-bg);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-value {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.stat-bar {
    height: 8px;
    background: #2a2b2f;
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.stat-fill.happiness {
    background: linear-gradient(45deg, #ff6b6b, #ff8787);
}

.stat-fill.hunger {
    background: linear-gradient(45deg, #ffd43b, #ffa94d);
}

.stat-fill.energy {
    background: linear-gradient(45deg, #69db7c, #38d9a9);
}

.action-buttons, .special-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.action-btn {
    border: none;
    border-radius: 15px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: transform 0.2s ease;
}

.action-btn.pink {
    background: #ff8ed4;
}

.action-btn.dark {
    background: #1a1b1e;
    border: 1px solid #2a2b2f;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.5rem;
}

.treat-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

#message-display {
    background: #1a1b1e;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .game-layout {
        flex-direction: column;
    }
    
    .game-ui {
        width: 100%;
    }
    
    .game-area {
        height: 300px;
    }
} 