/* ===== ROOT VARIABLES ===== */
:root {
    --bg-primary: #0f0f1e;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(26, 26, 46, 0.6);
    --text-primary: #e8e8e8;
    --text-secondary: #9a9a9a;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --border: rgba(255, 255, 255, 0.08);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 600px;
}

/* ===== CARD ===== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ===== CAT ICON ===== */
.cat-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== TITLE ===== */
.title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* ===== SUBTITLE ===== */
.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ===== FACT CONTAINER ===== */
.fact-container {
    background: rgba(15, 15, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.fact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    text-align: center;
    font-weight: 400;
}

/* ===== BUTTON ===== */
.btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus {
    outline: none;
    border-color: var(--accent-light);
}

.btn-text {
    letter-spacing: 0.3px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .card {
        padding: 2rem 1.5rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .fact-container {
        padding: 1.5rem;
        min-height: 130px;
    }
    
    .fact-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem 1.25rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.875rem;
    }
    
    .fact-container {
        padding: 1.25rem;
        min-height: 120px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .floating-emojis {
        display: none;
    }
}

/* ===== FLOATING EMOJIS ===== */
.floating-emojis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    filter: blur(0.5px);
}

.emoji-1 {
    top: 10%;
    left: 5%;
    animation: float1 6s ease-in-out infinite;
}

.emoji-2 {
    top: 25%;
    right: 8%;
    animation: float2 7s ease-in-out infinite;
}

.emoji-3 {
    top: 60%;
    left: 10%;
    animation: float3 8s ease-in-out infinite;
}

.emoji-4 {
    bottom: 15%;
    right: 12%;
    animation: float4 6.5s ease-in-out infinite;
}

.emoji-5 {
    top: 45%;
    left: 15%;
    animation: float5 7.5s ease-in-out infinite;
}

.emoji-6 {
    top: 70%;
    right: 15%;
    animation: float6 9s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -30px) rotate(10deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 25px) rotate(-12deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(35px, -20px) rotate(15deg);
    }
}

@keyframes float4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-25px, -35px) rotate(-8deg);
    }
}

@keyframes float5 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(20deg);
    }
}

@keyframes float6 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-20px, -25px) rotate(-15deg);
    }
}
