@charset "UTF-8";

/* --- Global Styles & Theme --- */
:root {
    --color-primary: #1e293b; /* Dark Navy */
    --color-secondary: #f8fafc; /* Light Gray/White */
    --color-luck: #10b981;    /* Emerald 500 */
    --color-decision: #8b5cf6; /* Violet 500 */
    --color-ability: #f97316;  /* Orange 500 */
}

body {
    background-color: #f1f5f9;
    font-family: 'Noto Sans KR', sans-serif;
    color: #334155;
}

/* --- Navigation Tabs --- */
.nav-btn {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.nav-btn.active-luck {
    color: var(--color-luck);
    border-bottom-color: var(--color-luck);
}
.nav-btn.active-decision {
    color: var(--color-decision);
    border-bottom-color: var(--color-decision);
}
.nav-btn.active-ability {
    color: var(--color-ability);
    border-bottom-color: var(--color-ability);
}

/* --- Section Transitions --- */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Lotto Ball Styles --- */
.lotto-ball {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.2), 3px 3px 5px rgba(0, 0, 0, 0.1);
    font-size: 1.25rem;
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.lotto-ball:nth-child(1) { animation-delay: 0.1s; }
.lotto-ball:nth-child(2) { animation-delay: 0.2s; }
.lotto-ball:nth-child(3) { animation-delay: 0.3s; }
.lotto-ball:nth-child(4) { animation-delay: 0.4s; }
.lotto-ball:nth-child(5) { animation-delay: 0.5s; }
.lotto-ball:nth-child(6) { animation-delay: 0.6s; }

@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

.ball-yellow { background-color: #fbc400; color: #333; text-shadow: none; }
.ball-blue { background-color: #69c8f2; }
.ball-red { background-color: #ff7272; }
.ball-black { background-color: #a0a0a0; }
.ball-green { background-color: #b0d840; }

/* --- Reaction Test Game --- */
#reaction-screen {
    background-color: #ef4444; /* Initial Red */
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}
#reaction-screen.ready { background-color: #ef4444; } /* Waiting for green */
#reaction-screen.now { background-color: #22c55e; } /* Click now! (Green) */
#reaction-screen.waiting { background-color: #3b82f6; } /* Result screen (Blue) */

/* --- AdSense Placeholder --- */
.adsense-slot {
    width: 100%;
    height: 100px;
    background-color: #e5e7eb;
    border: 1px dashed #9ca3af;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin: 1.5rem 0;
}

/* --- Common Util --- */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}
