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

body {
    font-family: 'Comic Sans MS', 'Chalkboard', 'Arial Rounded MT Bold', sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF6B35 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.title {
    font-size: 3rem;
    color: #8B0000;
    text-shadow: 3px 3px 0px #FFD700, -1px -1px 0 #fff;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subtitle {
    font-size: 1.3rem;
    color: #4a0080;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.7);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
}

.subtitle strong {
    color: #ff0000;
    text-decoration: underline;
}

.game-area {
    background: rgba(255,255,255,0.9);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 5px solid #FF1493;
}

.input-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.big-box {
    width: 150px;
    height: 150px;
    font-size: 4rem;
    text-align: center;
    border: 5px solid #00CED1;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #8B0000;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.big-box:focus {
    outline: none;
    border-color: #FF1493;
    box-shadow: 0 0 30px rgba(255,20,147,0.5);
    transform: scale(1.05);
}

.big-box::placeholder {
    color: #ccc;
}

.submit-btn {
    font-size: 1.8rem;
    padding: 15px 60px;
    background: linear-gradient(145deg, #32CD32, #228B22);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 20px rgba(50,205,50,0.4);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(50,205,50,0.6);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

.result {
    margin-top: 30px;
    padding: 25px;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: bold;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.result.win {
    background: linear-gradient(145deg, #90EE90, #32CD32);
    color: #006400;
    border: 4px solid #006400;
}

.result.lose {
    background: linear-gradient(145deg, #FFB6C1, #FF69B4);
    color: #8B0000;
    border: 4px solid #8B0000;
}

.win-extras, .lose-extras {
    margin-top: 20px;
}

.results-link, .game-link {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.3rem;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.results-link {
    background: linear-gradient(145deg, #9370DB, #8A2BE2);
    color: white;
}

.results-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(147,112,219,0.5);
}

.game-link {
    background: linear-gradient(145deg, #FF6347, #DC143C);
    color: white;
}

.game-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,99,71,0.5);
}

.share-section {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    border: 4px solid #00CED1;
}

.share-section p {
    font-size: 1.2rem;
    color: #4a0080;
    margin-bottom: 15px;
}

.share-btn {
    font-size: 1.2rem;
    padding: 12px 35px;
    background: linear-gradient(145deg, #1E90FF, #4169E1);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(30,144,255,0.4);
}

.share-msg {
    margin-top: 15px;
    color: #32CD32;
    font-weight: bold;
    font-size: 1.1rem;
}

.footer {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.footer p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.num-6 {
    color: #FF1493;
    font-size: 1.5rem;
    font-weight: bold;
}

.num-7 {
    color: #00CED1;
    font-size: 1.5rem;
    font-weight: bold;
}

.merch-link {
    display: inline-block;
    color: #FFD700;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 25px;
    border: 2px solid #FFD700;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.merch-link:hover {
    background: #FFD700;
    color: #000;
}

/* Merch Section Styles */
.merch-section {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    border: 5px solid #FF1493;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.merch-section h2 {
    font-size: 2rem;
    color: #8B0000;
    margin-bottom: 10px;
}

.affiliate-disclosure {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.merch-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 3px solid #00CED1;
    border-radius: 15px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.merch-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,206,209,0.4);
    border-color: #FF1493;
}

.merch-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.merch-item span {
    font-size: 0.85rem;
    font-weight: bold;
    color: #FF1493;
}

.hidden {
    display: none !important;
}

/* Results Page Styles */
.stats-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255,255,255,0.9);
    padding: 25px 40px;
    border-radius: 20px;
    border: 4px solid #FF1493;
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #8B0000;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.chart-container {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 4px solid #00CED1;
}

.chart-container h2 {
    color: #4a0080;
    margin-bottom: 20px;
}

.answers-list {
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    border: 4px solid #32CD32;
}

.answers-list h2 {
    color: #4a0080;
    margin-bottom: 20px;
}

.answers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.answer-item {
    background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #ddd;
}

.answer-item.win {
    border-color: #32CD32;
    background: linear-gradient(145deg, #90EE90, #98FB98);
}

.answer-item.lose {
    border-color: #FF69B4;
    background: linear-gradient(145deg, #FFB6C1, #FFC0CB);
}

.answer-values {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.answer-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.back-link {
    margin-bottom: 30px;
}

.play-again-btn {
    display: inline-block;
    font-size: 1.5rem;
    padding: 15px 40px;
    background: linear-gradient(145deg, #FF1493, #C71585);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.play-again-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,20,147,0.5);
}

/* Responsive */
@media (max-width: 600px) {
    .title {
        font-size: 2rem;
    }
    
    .big-box {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .input-boxes {
        gap: 10px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
