:root {
    --primary-pink: #f45ca0;
    --primary-yellow: #ffeb3b;
    --primary-blue: #00bcd4;
    --game-pink: #ff4081;
    --white: #ffffff;
    --border-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Fredoka', sans-serif;
    background: #FF99CC;
    color: #444;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.game-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Landscape */
.main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg_landscape.png') center center/cover no-repeat;
    z-index: 1;
}

/* Floating Decorations */
.floating-items {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-items div {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite alternate;
}

@keyframes float {
    from {
        transform: translateY(0) rotate(0);
    }

    to {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Main Container */
.game-container {
    position: relative;
    z-index: 3;
    width: 95%;
    max-width: 800px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

/* Header */
.game-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-box {
    background: var(--primary-pink);
    color: white;
    padding: 10px 30px;
    border-radius: 40px;
    border: 5px solid white;
    box-shadow: 0 8px 15px var(--shadow-color);
    text-align: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.game-grid {
    display: flex;
    gap: 20px;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.game-card {
    background: rgba(255, 255, 255, 0.9);
    border: 6px solid white;
    border-radius: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 20px;
    position: relative;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: scale(1.02) rotate(-1deg);
}

.news-card {
    flex: 1;
    max-width: 400px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, white 0%, #fff0f6 100%);
}

.char-img {
    height: 180px;
    position: absolute;
    bottom: -20px;
    left: -20px;
    filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.1));
}

.speech-bubble {
    background: white;
    padding: 15px;
    border-radius: 20px;
    border: 2px solid #eee;
    margin-left: 120px;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid white;
    transform: translateY(-50%);
}

.badge-new {
    background: var(--primary-yellow);
    color: var(--primary-pink);
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 700;
    position: absolute;
    top: -15px;
    left: 20px;
    border: 3px solid white;
    box-shadow: 0 4px 0 var(--primary-pink);
}

.action-card {
    flex: 1;
    max-width: 300px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding-top: 40px;
}

.item-preview {
    text-align: center;
}

.preview-title {
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.preview-icons {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 0px rgba(0, 0, 0, 0.1));
}

.play-btn {
    background: linear-gradient(180deg, #ffeb3b 0%, #fbc02d 100%);
    border: 5px solid white;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 0 #d4a017, 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.play-btn:active {
    transform: translateY(8px);
    box-shadow: 0 2px 0 #d4a017, 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-icon {
    font-size: 3rem;
    color: white;
    -webkit-text-stroke: 4px #d4a017;
    margin-bottom: -5px;
}

.btn-main-text {
    font-weight: 700;
    color: white;
    font-size: 1rem;
    -webkit-text-stroke: 1px #d4a017;
    text-shadow: 2px 2px 0 #d4a017;
}

.download-free {
    background: var(--primary-pink);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: -10px;
    border: 3px solid white;
    box-shadow: 0 4px 0 #b0003a;
}

/* Bottom Nav */
.bottom-nav {
    background: white;
    border-radius: 40px;
    border: 5px solid white;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ccc;
    cursor: pointer;
}

.nav-item.active {
    color: var(--primary-pink);
}

.nav-item .nav-icon {
    font-size: 1.5rem;
}

.proof-counter {
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-size: 0.9rem;
}

.player-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: glow 1s infinite;
}

@keyframes glow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Animations */
.pulse {
    animation: btnPulse 2s infinite ease-in-out;
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .game-grid {
        flex-direction: column;
        padding-top: 20px;
    }

    .news-card {
        height: 180px;
        margin-bottom: 20px;
    }

    .char-img {
        height: 140px;
    }

    .speech-bubble {
        margin-left: 100px;
        font-size: 0.8rem;
    }

    .action-card {
        height: 320px;
    }

    .play-btn {
        width: 120px;
        height: 120px;
    }
}

.game-footer {
    position: absolute;
    bottom: 5px;
    width: 100%;
    text-align: center;
    font-size: 0.6rem;
    color: white;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    z-index: 4;
}