:root {
    --bg-color: #fff7ed;
    /* Warm cream background */
    --text-color: #431407;
    /* Dark brown text */
    --primary-color: #ea580c;
    /* Vibrant Orange */
    --secondary-color: #f59e0b;
    /* Amber/Yellow */
    --accent-color: #84cc16;
    /* Fresh Green */
    --card-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
    background-image: radial-gradient(#fed7aa 1px, transparent 1px);
    background-size: 20px 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

header {
    margin-bottom: 2rem;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.2rem;
    color: #78350f;
}

/* Slot Machine Styles */
.slot-machine {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--secondary-color);
    position: relative;
}

.slot-machine::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: -1;
}

.window {
    font-size: 6rem;
    line-height: 1;
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.food-item {
    animation: none;
}

.shake {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both infinite;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Button Styles */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6);
}

.cta-button:active {
    transform: translateY(1px);
}

.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Result Area */
.hidden {
    display: none;
    opacity: 0;
}

#result-message {
    margin-top: 2rem;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#result-message p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.secondary-btn {
    background: white;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background: var(--text-color);
    color: white;
}

/* SEO Content */
.seo-content {
    margin-top: 4rem;
    text-align: left;
    opacity: 0.7;
    font-size: 0.9rem;
    color: #78350f;
}

details summary {
    cursor: pointer;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}