:root {
    --primary-color: #8B4513;
    --secondary-color: #6B4423;
    --accent-color: #CD853F;
    --text-color: #4A3429;
    --background-color: #F5F5DC;
    --shadow-color: rgba(75, 52, 41, 0.3);
    --glitch-color: #A0522D;
}

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

body {
    font-family: 'Permanent Marker', cursive;
    background: linear-gradient(135deg, #F5F5DC 0%, #DEB887 100%);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-fruits {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.fruit-silhouette {
    position: absolute;
    opacity: 0.08;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.fruit-1 {
    width: 120px;
    height: 150px;
    background: var(--primary-color);
    top: 10%;
    left: 15%;
    border-radius: 60% 40% 30% 70%;
    animation-delay: 0s;
}

.fruit-2 {
    width: 100px;
    height: 180px;
    background: var(--secondary-color);
    top: 60%;
    right: 20%;
    border-radius: 40% 60% 60% 40%;
    animation-delay: -2s;
}

.fruit-3 {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    top: 30%;
    right: 10%;
    border-radius: 30% 70% 70% 30%;
    animation-delay: -4s;
}

.fruit-4 {
    width: 140px;
    height: 100px;
    background: var(--glitch-color);
    bottom: 20%;
    left: 10%;
    border-radius: 70% 30% 30% 70%;
    animation-delay: -6s;
}

.fruit-5 {
    width: 90px;
    height: 120px;
    background: var(--primary-color);
    bottom: 40%;
    right: 40%;
    border-radius: 50% 50% 20% 80%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-3deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.main-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-title {
    font-family: 'Bungee Shade', cursive;
    font-size: clamp(3rem, 8vw, 8rem);
    color: var(--primary-color);
    text-shadow: 4px 4px 8px var(--shadow-color);
    margin-bottom: 1rem;
    position: relative;
}

.glitch-text {
    position: relative;
    display: inline-block;
    animation: glitch 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--glitch-color);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary-color);
    z-index: -2;
}

@keyframes glitch {
    0%, 98% { transform: translate(0); }
    1% { transform: translate(-2px, 1px); }
    2% { transform: translate(2px, -1px); }
    3% { transform: translate(0); }
}

@keyframes glitch-1 {
    0%, 98% { transform: translate(0); }
    1% { transform: translate(2px, 1px); }
    2% { transform: translate(-2px, -1px); }
    3% { transform: translate(0); }
}

@keyframes glitch-2 {
    0%, 98% { transform: translate(0); }
    1% { transform: translate(-1px, 2px); }
    2% { transform: translate(1px, -2px); }
    3% { transform: translate(0); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    opacity: 0.8;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-family: 'Permanent Marker', cursive;
    text-decoration: none;
    color: var(--background-color);
    background: var(--primary-color);
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateY(0deg);
    overflow: hidden;
}

.btn-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--shadow-color);
    z-index: -1;
    transform: translate(5px, 5px);
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: perspective(1000px) rotateY(-10deg) translateY(-5px);
    box-shadow: 10px 10px 20px var(--shadow-color);
}

.btn:hover .btn-shadow {
    transform: translate(8px, 8px);
}

.btn-wiki {
    background: linear-gradient(45deg, #8B4513, #A0522D);
}

.btn-download {
    background: linear-gradient(45deg, #6B4423, #8B4513);
}

.btn:active {
    transform: perspective(1000px) rotateY(-5deg) translateY(-2px);
}

.game-description {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.description-box {
    background: rgba(245, 245, 220, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(205, 133, 63, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.description-box h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.description-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.glitch-word {
    position: relative;
    color: var(--glitch-color);
    font-weight: bold;
    animation: text-glitch 2s infinite;
}

@keyframes text-glitch {
    0%, 95% { transform: translate(0); }
    5% { transform: translate(1px, 0); }
    10% { transform: translate(-1px, 0); }
    15% { transform: translate(0); }
}

.updates-section,
.additional-links {
    margin-bottom: 3rem;
    text-align: center;
}

.main-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
    border-top: 2px solid var(--accent-color);
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .description-box {
        padding: 1.5rem;
    }
    
    .game-title {
        font-size: clamp(2rem, 12vw, 6rem);
    }
}

@media (max-width: 480px) {
    .description-box {
        padding: 1rem;
    }
    
    .btn {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}

