/* ===== ROOT & RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-dark: #2d1b3d;
    --plum-deep: #1a0f24;
    --black: #0a0612;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --red-envelope: #c8102e;
    --red-dark: #8b0000;
    --paper-old: #f4e8d0;
    --shadow-glow: rgba(212, 175, 55, 0.4);
}

body {
    font-family: 'Noto Serif', serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== MAIN CONTAINER ===== */
.app-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-dark) 0%, var(--plum-deep) 50%, var(--black) 100%);
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('anh-nen.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0.4;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
}

/* ===== TITLE ===== */
.app-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--gold);
    text-shadow: 0 0 20px var(--shadow-glow),
        0 0 40px rgba(212, 175, 55, 0.2),
        0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    margin-top: 1rem;
    margin-bottom: 0;
    animation: fadeInDown 1s ease-out;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    margin-top: 0.5rem;
    color: var(--gold-light);
}

/* ===== MAIN CONTENT AREA ===== */
.main-content-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1200px;
    animation: fadeIn 1.5s ease-out;
}

/* ===== MOVIE POSTER ===== */
.poster-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 400px;
}

.movie-poster {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 30px var(--shadow-glow);
    transition: transform 0.3s ease;
    border: 3px solid var(--gold);
}

.movie-poster:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px var(--shadow-glow);
}

/* ===== BAMBOO CONTAINER ===== */
.bamboo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 400px;
}

.bamboo-image {
    width: 280px;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.bamboo-container:hover .bamboo-image {
    transform: scale(1.05);
}

.glow-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--shadow-glow) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

/* ===== FORTUNE BUTTON ===== */
.fortune-btn {
    position: relative;
    padding: 1rem 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: 3px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3),
        0 0 40px var(--shadow-glow);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

/* Mobile Fortune Button (below poster on mobile) */
.fortune-btn-mobile {
    display: none;
    /* Hidden by default, shown on mobile */
    padding: 0.75rem 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: 3px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5),
        0 0 40px var(--shadow-glow);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.fortune-btn:hover,
.fortune-btn-mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5),
        0 0 60px var(--shadow-glow);
}

.fortune-btn:active,
.fortune-btn-mobile:active {
    transform: translateY(-1px) scale(0.95);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4),
        0 0 30px var(--shadow-glow);
}

.fortune-btn.clicked,
.fortune-btn-mobile.clicked {
    animation: buttonClick 0.3s ease-out;
}

@keyframes buttonClick {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.9);
    }

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

/* ===== BUY TICKET BUTTON ===== */
.buy-ticket-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 2px solid #f39c12;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4),
        0 0 20px rgba(243, 156, 18, 0.2);
    margin-top: 0.75rem;
}

.buy-ticket-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5),
        0 0 30px rgba(243, 156, 18, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.buy-ticket-btn:active {
    transform: translateY(-1px);
}

/* Hide desktop buy ticket on mobile */
.buy-ticket-desktop {
    display: inline-block;
}

@media (max-width: 768px) {
    .buy-ticket-desktop {
        display: none;
    }
}

.btn-text {
    position: relative;
    z-index: 2;
    letter-spacing: 0.1em;
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

/* ===== DECORATIVE PARTICLES ===== */
.decorative-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

.modal-container {
    max-width: 500px;
    width: 100%;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-content {
    position: relative;
}

/* Red Envelope Design */
.envelope-top {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, var(--red-envelope) 0%, var(--red-dark) 100%);
    border-radius: 15px 15px 0 0;
    position: relative;
    box-shadow: 0 -5px 15px rgba(200, 16, 46, 0.3);
}

.envelope-top::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 20px solid var(--red-dark);
}

.envelope-body {
    background: rgba(244, 232, 208, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem 2rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.5);
    position: relative;
    border: 1px solid rgba(200, 16, 46, 0.2);
}

.envelope-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(200, 16, 46, 0.03) 2px, rgba(200, 16, 46, 0.03) 4px);
    pointer-events: none;
    border-radius: 0 0 15px 15px;
}

/* Fortune Content */
.fortune-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.fortune-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-envelope);
    margin-bottom: 0.5rem;
}

.fortune-ornament {
    color: var(--gold);
    font-size: 1.5rem;
}

.fortune-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d1b3d;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid var(--gold);
    box-shadow: inset 0 2px 10px rgba(212, 175, 55, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fortune-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.modal-hashtag {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.action-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-family: 'Noto Serif', serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.share-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.retry-btn {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
    color: var(--black);
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-glow);
}

/* ===== LOADING INDICATOR ===== */
.loading-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--shadow-glow);
}

.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--gold);
    text-shadow: 0 0 10px var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== MOVIE BANNER ===== */
.movie-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    white-space: nowrap;
    z-index: 10;
}

/* ===== MODAL BACKGROUND OVERLAY ===== */
.modal-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes float {

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* Show mobile button, hide desktop button */
    .fortune-btn-mobile {
        display: block;
    }

    .fortune-btn {
        display: none;
    }

    .content-wrapper {
        justify-content: flex-start;
        padding: 1rem 1rem;
    }

    .main-content-area {
        flex-direction: column;
        gap: 0.75rem;
        margin: 0.5rem 0;
    }

    .poster-container,
    .bamboo-container {
        max-width: 240px;
    }

    .bamboo-image {
        width: 200px;
    }

    /* Modal optimizations */
    .fortune-modal-content {
        width: 90%;
        max-width: 400px;
        padding: 1.5rem;
    }

    .fortune-image {
        width: 120px;
        height: 120px;
    }

    .fortune-title {
        font-size: 1.5rem;
    }

    .fortune-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 1.3rem;
        padding: 0.6rem 1.2rem;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }

    .subtitle {
        font-size: 1.6rem;
    }

    .content-wrapper {
        padding: 1rem 0.75rem;
    }

    .main-content-area {
        gap: 0.75rem;
        margin: 0.75rem 0;
    }

    .poster-container,
    .bamboo-container {
        max-width: 200px;
    }

    .bamboo-image {
        width: 160px;
    }

    .fortune-btn-mobile {
        font-size: 1rem;
        padding: 0.65rem 1.75rem;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }

    /* Modal optimizations */
    .fortune-modal-content {
        width: 92%;
        max-width: 340px;
        padding: 1.25rem;
    }

    .fortune-image {
        width: 100px;
        height: 100px;
    }

    .fortune-title {
        font-size: 1.3rem;
        margin: 0.75rem 0 0.5rem;
    }

    .fortune-category {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .fortune-text {
        font-size: 0.9rem;
        padding: 0.75rem;
        line-height: 1.5;
    }

    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .modal-btn {
        font-size: 0.95rem;
        padding: 0.65rem 1.5rem;
    }
}

@media (max-width: 360px) {
    .app-title {
        font-size: 1.15rem;
        padding: 0.5rem 0.9rem;
        margin-top: 0.4rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .content-wrapper {
        padding: 0.75rem 0.5rem;
    }

    .main-content-area {
        gap: 0.6rem;
        margin: 0.6rem 0;
    }

    .poster-container,
    .bamboo-container {
        max-width: 180px;
    }

    .bamboo-image {
        width: 140px;
    }

    .fortune-btn-mobile {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
        margin-top: 0.6rem;
        margin-bottom: 0.6rem;
    }

    /* Modal optimizations for smallest screens */
    .fortune-modal-content {
        width: 94%;
        max-width: 300px;
        padding: 1rem;
    }

    .fortune-image {
        width: 85px;
        height: 85px;
    }

    .fortune-title {
        font-size: 1.15rem;
        margin: 0.6rem 0 0.4rem;
    }

    .fortune-category {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .fortune-text {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .modal-actions {
        gap: 0.4rem;
        margin-top: 0.75rem;
    }

    .modal-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.25rem;
    }

    .envelope-body {
        padding: 2.5rem 1.5rem 1.5rem;
    }
}

/* ===== CAPTURE MODE - Disable blur for html2canvas ===== */
.capture-mode .envelope-body,
.capture-mode .fortune-text {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.capture-mode .modal-background-overlay {
    display: none !important;
}

.capture-mode .envelope-body::before {
    display: none !important;
}

/* ===== SPIN WHEEL STYLES ===== */
.lucky-spin-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #FF6B6B 0%, #C92A2A 100%);
    border: 3px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4),
        0 0 40px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s ease-in-out infinite;
}

.lucky-spin-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6),
        0 0 60px rgba(212, 175, 55, 0.5);
}

.spin-container {
    background: rgba(244, 232, 208, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gold);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.spin-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-envelope);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.spin-wheel-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

#spinWheel {
    display: block;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px var(--shadow-glow);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

#spinWheel.spinning {
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.spin-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--red-envelope);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 10;
}

.spin-btn {
    padding: 1rem 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    border: 3px solid var(--gold);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    margin-bottom: 1rem;
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spin-result {
    min-height: 80px;
    padding: 1rem;
    font-family: 'Noto Serif', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--plum-dark);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.spin-result.show {
    opacity: 1;
}

.close-spin-btn {
    padding: 0.75rem 2rem;
    font-family: 'Noto Serif', serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.close-spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

@keyframes spinWheel {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(1800deg);
    }
}

/* Mobile responsiveness for spin wheel */
@media (max-width: 480px) {
    .lucky-spin-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .spin-container {
        padding: 1.5rem;
    }

    .spin-title {
        font-size: 1.5rem;
    }

    #spinWheel {
        width: 280px;
        height: 280px;
    }

    .spin-btn {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
    }
}