body {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #fdf9ee;
    color: #1c1c15;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100dvh;
    padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    padding-top: env(safe-area-inset-top, 0px);
}

header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
    padding-bottom: 0.5rem;
    height: auto !important;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
}

.main-content {
    padding-top: calc(5rem + env(safe-area-inset-top, 0px)) !important;
}

/* Splash Screen fade-out */
#app-splash.splash-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Sello de CANJEADO */
.used-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    border: 8px solid #ba1a1a;
    color: #ba1a1a;
    font-size: 3rem;
    font-weight: 900;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-transform: uppercase;
    opacity: 0.4;
    pointer-events: none;
    z-index: 100;
    letter-spacing: 0.2em;
    background: rgba(255,255,255,0.1);
    backdrop-blur: 2px;
}

.soft-shadow {
    box-shadow: 0 8px 32px 0 rgba(151, 71, 42, 0.06);
}

/* Ticket Cutout Effects */
.ticket-cutout {
    position: relative;
}
.ticket-cutout::before,
.ticket-cutout::after {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 24px;
    height: 24px;
    background-color: #fdf9ee;
    border-radius: 50%;
    z-index: 10;
    border-top: 2px solid #dbc1b9;
}
.ticket-cutout::before {
    left: -12px;
    border-right: 2px solid #dbc1b9;
    transform: rotate(45deg);
}
.ticket-cutout::after {
    right: -12px;
    border-left: 2px solid #dbc1b9;
    transform: rotate(-45deg);
}

.perforated-line {
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 0;
    border-bottom: 2px dashed #dbc1b9;
    z-index: 10;
}

/* Gold Card Holographic sheen */
.gold-hologram::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 38%,
        rgba(251, 191, 36, 0.25) 45%,
        rgba(255, 255, 255, 0.2) 52%,
        transparent 60%
    );
    background-size: 200% 200%;
    pointer-events: none;
    z-index: 2;
    animation: holoSheen 6s linear infinite;
}

@keyframes holoSheen {
    0% { transform: translate(-15%, -15%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(3deg); }
    100% { transform: translate(-15%, -15%) rotate(0deg); }
}

.stamp-animation {
    animation: stampIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(2) rotate(-15deg);
}

@keyframes stampIn {
    to {
        opacity: 0.85;
        transform: scale(1) rotate(-15deg);
    }
}

/* Hover lift effect for cards */
.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 32px 0 rgba(151, 71, 42, 0.12); }

/* Hide scrollbars */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Screen Transitions */
.screen {
    display: none;
}
.screen.active {
    display: flex !important;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
