/* ============================================
   SOMALI DAYCARE - VIRAL MEME GAME STYLES
   ============================================ */

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

:root {
    --primary-yellow: #FFD700;
    --primary-orange: #FF6B35;
    --primary-purple: #6B4EAA;
    --primary-green: #00D26A;
    --primary-red: #FF4757;
    --primary-blue: #3498DB;
    --dark-bg: #0f0a1a;
    --darker-bg: #080510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 215, 0, 0.2);
    --text-light: #ffffff;
    --text-muted: #8a8a9a;
    --glow-yellow: 0 0 30px rgba(255, 215, 0, 0.4);
    --glow-green: 0 0 30px rgba(0, 210, 106, 0.4);
    --glow-red: 0 0 30px rgba(255, 71, 87, 0.4);
}

body {
    font-family: 'Comic Neue', cursive, sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-light);
    position: relative;
}

.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(107, 78, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    z-index: -2;
}

/* Floating Items */
.floating-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: floatAround 20s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 15%;
    right: 10%;
    animation-delay: 2s;
}

.float-item:nth-child(3) {
    top: 35%;
    left: 3%;
    animation-delay: 4s;
}

.float-item:nth-child(4) {
    top: 55%;
    right: 5%;
    animation-delay: 6s;
}

.float-item:nth-child(5) {
    top: 70%;
    left: 8%;
    animation-delay: 8s;
}

.float-item:nth-child(6) {
    top: 25%;
    right: 3%;
    animation-delay: 10s;
}

.float-item:nth-child(7) {
    top: 85%;
    right: 15%;
    animation-delay: 12s;
}

.float-item:nth-child(8) {
    top: 45%;
    left: 2%;
    animation-delay: 14s;
}

@keyframes floatAround {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(10deg);
    }

    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }

    75% {
        transform: translate(30px, 10px) rotate(15deg);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 1.5rem 2rem;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.title {
    font-family: 'Bangers', cursive;
    letter-spacing: 4px;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    margin-bottom: 1rem;
}

.somali {
    font-size: 4rem;
    color: var(--primary-orange);
    text-shadow:
        4px 4px 0px #000,
        -1px -1px 0px #FFE082,
        0 0 30px rgba(255, 107, 53, 0.6);
    animation: textPulse 2s ease-in-out infinite;
}

.daycare {
    font-size: 5.5rem;
    color: var(--primary-yellow);
    text-shadow:
        5px 5px 0px #000,
        -2px -2px 0px #FFF59D,
        0 0 40px rgba(255, 215, 0, 0.6);
}

@keyframes textPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Hero Babies */
.hero-babies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-baby {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    background: linear-gradient(135deg, #6B4EAA, #FF6B35);
    border-radius: 50%;
    padding: 8px;
}

.baby-float-1 {
    top: 15%;
    left: 5%;
    animation: babyFloat1 4s ease-in-out infinite;
}

.baby-float-2 {
    top: 20%;
    right: 8%;
    animation: babyFloat2 5s ease-in-out infinite;
}

.baby-float-3 {
    bottom: 15%;
    left: 10%;
    animation: babyFloat3 4.5s ease-in-out infinite;
}

@keyframes babyFloat1 {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes babyFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(-25px) rotate(-5deg);
    }
}

@keyframes babyFloat3 {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-15px) rotate(-3deg);
    }
}

/* Token Banner */
.token-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(107, 78, 170, 0.3), rgba(255, 107, 53, 0.2));
    border: 2px solid var(--primary-yellow);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.token-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.token-label {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0 #000;
}

.token-ca {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.buy-btn,
.chart-btn {
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    text-shadow: 2px 2px 0px #000;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.buy-btn {
    background: linear-gradient(180deg, var(--primary-green), #00a854);
    border: 3px solid var(--primary-yellow);
    color: white;
    animation: buyPulse 2s ease-in-out infinite;
}

.buy-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-green);
}

@keyframes buyPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 5px rgba(0, 210, 106, 0.2);
    }
}

.chart-btn {
    background: linear-gradient(180deg, var(--primary-purple), #4a3480);
    border: 3px solid rgba(255, 215, 0, 0.5);
    color: white;
}

.chart-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary-yellow);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-yellow);
    transform: translateY(-2px);
}

.social-btn.twitter:hover {
    border-color: #1DA1F2;
}

.social-btn.telegram:hover {
    border-color: #0088cc;
}

/* ============================================
   STATS TICKER
   ============================================ */

.stats-ticker {
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-orange));
    padding: 0.8rem 0;
    overflow: hidden;
    border-top: 2px solid var(--primary-yellow);
    border-bottom: 2px solid var(--primary-yellow);
}

.ticker-content {
    display: flex;
    gap: 4rem;
    animation: tickerScroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 0 #000;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 1.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: var(--primary-yellow);
    text-shadow: 3px 3px 0px #000;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-title.glow-text {
    text-shadow:
        3px 3px 0px #000,
        0 0 20px rgba(255, 215, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ============================================
   WHEEL SECTION
   ============================================ */

.wheel-section {
    text-align: center;
    padding-top: 2rem;
}

.wheel-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.wheel-container {
    position: relative;
    width: 520px;
    height: 520px;
}

.wheel-pointer {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4.5rem;
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 1);
    z-index: 10;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.7));
    animation: pointerBounce 0.5s ease-in-out infinite;
}

@keyframes pointerBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow:
        0 0 0 12px var(--primary-yellow),
        0 0 0 18px var(--primary-orange),
        0 0 0 24px #8B4513,
        0 0 60px rgba(255, 215, 0, 0.5),
        inset 0 0 80px rgba(0, 0, 0, 0.5);
    animation: wheelGlow 2s ease-in-out infinite alternate;
}

@keyframes wheelGlow {
    from {
        box-shadow:
            0 0 0 12px var(--primary-yellow),
            0 0 0 18px var(--primary-orange),
            0 0 0 24px #8B4513,
            0 0 60px rgba(255, 215, 0, 0.4),
            inset 0 0 80px rgba(0, 0, 0, 0.5);
    }

    to {
        box-shadow:
            0 0 0 12px var(--primary-yellow),
            0 0 0 18px var(--primary-orange),
            0 0 0 24px #8B4513,
            0 0 100px rgba(255, 215, 0, 0.7),
            inset 0 0 80px rgba(0, 0, 0, 0.5);
    }
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--dark-bg), #050308);
    border-radius: 50%;
    border: 5px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
    z-index: 5;
}

.center-baby {
    width: 75px;
    height: 75px;
    object-fit: contain;
    animation: babySpin 3s linear infinite;
}

/* Wheel Info Section */
.wheel-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    min-width: 280px;
}

.last-result {
    background: var(--card-bg);
    border: 3px solid var(--primary-yellow);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
}

.last-result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.last-result-value {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0 #000;
}

.center-baby {
    width: 65px;
    height: 65px;
    object-fit: contain;
    animation: babySpin 3s linear infinite;
}

@keyframes babySpin {
    0% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

.wheel-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.countdown-container {
    text-align: center;
}

.next-spin {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timer {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: var(--primary-yellow);
    text-shadow: 3px 3px 0px #000;
}

.spin-btn {
    position: relative;
    font-family: 'Bangers', cursive;
    padding: 1.2rem 3rem;
    background: linear-gradient(180deg, var(--primary-orange), #cc4400);
    border: 5px solid var(--primary-yellow);
    border-radius: 60px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 0px #994400, 0 15px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    overflow: hidden;
}

.spin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.btn-text {
    display: block;
    font-size: 1.8rem;
    text-shadow: 3px 3px 0px #000;
    letter-spacing: 2px;
}

.btn-subtext {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.spin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 11px 0px #994400, 0 20px 40px rgba(0, 0, 0, 0.4);
}

.spin-btn:active {
    transform: translateY(6px);
    box-shadow: 0 2px 0px #994400, 0 5px 15px rgba(0, 0, 0, 0.4);
}

.spin-btn:disabled {
    background: #555;
    border-color: #777;
    cursor: not-allowed;
    box-shadow: 0 4px 0px #333;
}

.spin-btn:disabled::before {
    display: none;
}

/* ============================================
   RESULT DISPLAY
   ============================================ */

.result-display {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 3px solid var(--card-border);
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.result-content h2 {
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    color: var(--primary-yellow);
    text-shadow: 3px 3px 0px #000;
    margin-bottom: 0.5rem;
}

.result-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.result-display.win {
    border-color: var(--primary-green);
    box-shadow: var(--glow-green);
}

.result-display.win h2 {
    color: var(--primary-green);
}

.result-display.lose {
    border-color: var(--primary-red);
    box-shadow: var(--glow-red);
}

.result-display.lose h2 {
    color: var(--primary-red);
}

/* ============================================
   BABIES SECTION
   ============================================ */

.babies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.baby-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 3px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.baby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-orange));
}

.baby-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-yellow);
    box-shadow: var(--glow-yellow);
}

.baby-card.winner {
    border-color: var(--primary-green);
    box-shadow: var(--glow-green);
}

.baby-card.winner::before {
    background: var(--primary-green);
}

.baby-card.loser {
    border-color: var(--primary-red);
    box-shadow: var(--glow-red);
}

.baby-card.loser::before {
    background: var(--primary-red);
}

.baby-rarity {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: bold;
}

.baby-rarity.common {
    background: #607D8B;
    color: white;
}

.baby-rarity.rare {
    background: #2196F3;
    color: white;
}

.baby-rarity.epic {
    background: #9C27B0;
    color: white;
}

.baby-rarity.legendary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
}

.baby-image-container {
    width: 130px;
    height: 130px;
    margin: 0 auto 1rem;
    position: relative;
    background: linear-gradient(135deg, #6B4EAA 0%, #FF6B35 100%);
    border-radius: 50%;
    padding: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.baby-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.baby-card:hover .baby-image {
    transform: scale(1.15) rotate(5deg);
}

.baby-name {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: var(--primary-orange);
    margin-bottom: 0.3rem;
}

.baby-holder {
    font-size: 0.8rem;
    color: var(--text-muted);
    word-break: break-all;
    margin-bottom: 1rem;
}

.baby-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.baby-stat {
    text-align: center;
}

.baby-stat-value {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    color: var(--primary-yellow);
}

.baby-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.add-baby-btn {
    display: block;
    margin: 0 auto;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(180deg, var(--primary-purple), #4a3480);
    border: 4px solid var(--primary-yellow);
    border-radius: 40px;
    color: white;
    cursor: pointer;
    text-shadow: 2px 2px 0px #000;
    transition: all 0.3s ease;
}

.add-baby-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(107, 78, 170, 0.5);
}

/* ============================================
   LEADERBOARD
   ============================================ */

.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 700px;
    margin: 0 auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    border-color: var(--primary-yellow);
    transform: translateX(5px);
}

.leaderboard-item.top-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), transparent);
    border-color: #FFD700;
}

.leaderboard-item.top-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.15), transparent);
    border-color: #C0C0C0;
}

.leaderboard-item.top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15), transparent);
    border-color: #CD7F32;
}

.lb-rank {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    min-width: 50px;
    text-align: center;
}

.top-1 .lb-rank {
    color: #FFD700;
}

.top-2 .lb-rank {
    color: #C0C0C0;
}

.top-3 .lb-rank {
    color: #CD7F32;
}

.lb-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: contain;
    background: linear-gradient(135deg, #6B4EAA, #FF6B35);
    padding: 5px;
}

.lb-info {
    flex: 1;
}

.lb-address {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.lb-amount {
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    color: var(--primary-green);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem 2.5rem;
    text-align: center;
    min-width: 160px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.stat-card.win {
    border-color: rgba(0, 210, 106, 0.4);
}

.stat-card.lose {
    border-color: rgba(255, 71, 87, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0px #000;
}

.stat-card.win .stat-value {
    color: var(--primary-green);
}

.stat-card.lose .stat-value {
    color: var(--primary-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   HISTORY LOG
   ============================================ */

.history-section {
    max-width: 700px;
}

.history-log {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 1rem;
    max-height: 350px;
    overflow-y: auto;
}

.log-entry {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: background 0.2s ease;
}

.log-entry:hover {
    background: rgba(255, 255, 255, 0.03);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    font-family: monospace;
    color: var(--primary-yellow);
    font-size: 0.85rem;
    min-width: 55px;
}

.log-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.log-entry.win .log-text {
    color: var(--primary-green);
}

.log-entry.lose .log-text {
    color: var(--primary-red);
}

/* ============================================
   TOKENOMICS
   ============================================ */

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tokenomics-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tokenomics-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.tokenomics-value {
    font-family: 'Bangers', cursive;
    font-size: 3rem;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0 #000;
}

.tokenomics-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--card-border);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-mascot {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
    background: linear-gradient(135deg, #6B4EAA, #FF6B35);
    border-radius: 50%;
    padding: 8px;
}

.footer-text {
    flex: 1;
    text-align: center;
    min-width: 250px;
}

.disclaimer {
    color: var(--primary-red);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: bold;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .somali {
        font-size: 2.8rem;
    }

    .daycare {
        font-size: 3.8rem;
    }

    .hero-babies {
        display: none;
    }

    .wheel-container {
        width: 300px;
        height: 300px;
    }

    #wheelCanvas {
        width: 300px;
        height: 300px;
    }

    .wheel-center {
        width: 70px;
        height: 70px;
    }

    .center-baby {
        width: 50px;
        height: 50px;
    }

    .babies-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .stat-card {
        min-width: 130px;
        padding: 1rem 1.5rem;
    }

    .token-banner {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-mascot {
        display: none;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* ============================================
   PIRATE SHIP ANIMATION - FULL SCENE
   ============================================ */

.pirate-ship-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    display: none;
    pointer-events: none;
}

.pirate-ship-container.active {
    display: block;
    animation: fadeInOut 5s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.pirate-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 20, 40, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* Ocean Waves */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100px;
    background: linear-gradient(180deg, #1a4a6e 0%, #0d2840 100%);
    border-radius: 50% 50% 0 0;
    animation: waveMove 3s ease-in-out infinite;
}

.wave1 {
    bottom: 0;
    left: -50%;
    opacity: 0.8;
    animation-delay: 0s;
}

.wave2 {
    bottom: 30px;
    left: -30%;
    opacity: 0.6;
    background: linear-gradient(180deg, #1e5a7e 0%, #0d2840 100%);
    animation-delay: 0.5s;
}

.wave3 {
    bottom: 60px;
    left: -70%;
    opacity: 0.4;
    background: linear-gradient(180deg, #226a8e 0%, #0d2840 100%);
    animation-delay: 1s;
}

@keyframes waveMove {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(30px);
    }
}

/* The Ship */
.pirate-ship {
    position: absolute;
    top: 45%;
    left: -400px;
    transform: translateY(-50%);
    animation: sailAcross 5s ease-in-out forwards;
}

@keyframes sailAcross {
    0% {
        left: -400px;
        transform: translateY(-50%) rotate(-2deg);
    }

    25% {
        transform: translateY(-50%) rotate(2deg);
    }

    50% {
        transform: translateY(-50%) rotate(-2deg);
    }

    75% {
        transform: translateY(-50%) rotate(2deg);
    }

    100% {
        left: calc(100% + 400px);
        transform: translateY(-50%) rotate(0deg);
    }
}

.ship-hull {
    width: 300px;
    height: 80px;
    background: linear-gradient(180deg, #5D4E37 0%, #3D2E1F 100%);
    border-radius: 0 0 50% 50%;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ship-window {
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #FFD700 0%, #B8860B 100%);
    border-radius: 50%;
    border: 3px solid #2D1F0F;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.ship-mast {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.flag-pole {
    width: 8px;
    height: 150px;
    background: linear-gradient(180deg, #5D4E37 0%, #3D2E1F 100%);
    margin: 0 auto;
}

.pirate-flag {
    font-size: 4rem;
    animation: flagWave 0.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

@keyframes flagWave {
    from {
        transform: rotate(-5deg);
    }

    to {
        transform: rotate(5deg);
    }
}

.pirates-on-deck {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.pirates-on-deck .pirate {
    font-size: 2.5rem;
    animation: pirateJump 0.4s ease-in-out infinite alternate;
}

.pirates-on-deck .pirate:nth-child(2) {
    animation-delay: 0.2s;
}

.pirates-on-deck .pirate:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pirateJump {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

.treasure-pile {
    position: absolute;
    bottom: 85px;
    right: 30px;
    display: flex;
    gap: 5px;
}

.treasure-pile span {
    font-size: 1.8rem;
    animation: treasureBounce 0.3s ease-in-out infinite alternate;
}

.treasure-pile span:nth-child(2) {
    animation-delay: 0.1s;
}

.treasure-pile span:nth-child(3) {
    animation-delay: 0.2s;
}

.treasure-pile span:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes treasureBounce {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-8px) rotate(10deg);
    }
}

/* Message */
.pirate-message {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: messageIn 0.5s ease-out forwards;
}

@keyframes messageIn {
    from {
        transform: translateX(-50%) scale(0.5);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.pirate-title {
    font-family: 'Bangers', cursive;
    font-size: 4rem;
    color: #FF4757;
    text-shadow:
        4px 4px 0 #000,
        0 0 30px rgba(255, 71, 87, 0.7);
    animation: titlePulse 0.5s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

.pirate-subtitle {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: var(--primary-yellow);
    text-shadow: 3px 3px 0 #000;
    margin-top: 10px;
}

/* ============================================
   AIRDROP WINNER POPUP
   ============================================ */

.airdrop-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.airdrop-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.airdrop-content {
    background: linear-gradient(180deg, #2d2d44, #1a1a2e);
    border: 5px solid var(--primary-green);
    border-radius: 30px;
    padding: 40px 50px;
    text-align: center;
    position: relative;
    max-width: 500px;
    box-shadow: 0 0 50px rgba(0, 210, 106, 0.3);
    animation: popIn 0.4s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.airdrop-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.airdrop-close:hover {
    color: white;
}

.airdrop-icon {
    font-size: 5rem;
    margin-bottom: 10px;
    animation: giftBounce 0.5s ease-out infinite alternate;
}

@keyframes giftBounce {
    from {
        transform: scale(1) rotate(-5deg);
    }

    to {
        transform: scale(1.1) rotate(5deg);
    }
}

.airdrop-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: var(--primary-green);
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 10px;
}

.airdrop-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.winner-address-box {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.winner-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.winner-address {
    display: block;
    font-family: monospace;
    font-size: 1rem;
    color: var(--primary-yellow);
    word-break: break-all;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.copy-winner-btn {
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    padding: 8px 20px;
    background: var(--primary-purple);
    border: 2px solid var(--primary-yellow);
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-winner-btn:hover {
    transform: scale(1.05);
    background: var(--primary-orange);
}

.winner-holdings {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.winner-holdings span:last-child {
    font-family: 'Bangers', cursive;
    color: var(--primary-green);
}

.airdrop-done-btn {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    padding: 15px 50px;
    background: linear-gradient(180deg, var(--primary-green), #00a854);
    border: 4px solid var(--primary-yellow);
    border-radius: 40px;
    color: white;
    cursor: pointer;
    text-shadow: 2px 2px 0 #000;
    transition: all 0.2s;
}

.airdrop-done-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 210, 106, 0.5);
}