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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

html {
    height: -webkit-fill-available;
}

.app-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header */
.app-header {
    text-align: center;
    color: white;
}

.app-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4fc3f7 0%, #20e3b2 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Progress Label */
.progress-label {
    margin-top: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* Card Container */
.card-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    touch-action: none;
}

#card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Card Styles */
.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.1s ease;
    overflow: hidden;
}

.card:active {
    cursor: grabbing;
}

.card img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.card.animating {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.card-poster {
    width: 100%;
    height: 70%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Layered poster with background and title treatment */
.card-poster-layered {
    width: 100%;
    height: 70%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.poster-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Letterbox style for 16:9 Hulu images */
.card-poster-letterbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-background-letterbox {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.poster-title-image {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 85%;
    height: auto;
    max-height: 30%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    z-index: 2;
}

/* Gradient fallback */
.card-poster-fallback {
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.poster-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-align: center;
    padding: 40px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.card-info {
    padding: 20px;
    height: 30%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.card-type {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Swipe Indicators */
.swipe-indicator {
    position: absolute;
    font-size: 3rem;
    font-weight: 800;
    padding: 10px 20px;
    border: 4px solid;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease, transform 0.1s ease;
    z-index: 100;
}

.swipe-indicator.nope {
    color: #ff4458;
    border-color: #ff4458;
    transform: rotate(-20deg);
    left: 40px;
    top: 80px;
}

.swipe-indicator.like {
    color: #20e3b2;
    border-color: #20e3b2;
    transform: rotate(20deg);
    right: 40px;
    top: 80px;
}

.swipe-indicator.super {
    color: #4fc3f7;
    border-color: #4fc3f7;
    transform: rotate(0deg);
    top: 40px;
    left: 50%;
    margin-left: -75px;
}

.swipe-indicator.visible {
    opacity: 1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn.dislike {
    color: #ff4458;
}

.action-btn.like {
    color: #20e3b2;
}

.action-btn.super {
    width: 50px;
    height: 50px;
    color: #4fc3f7;
}

/* Stats - Hidden */
.stats {
    display: none;
}

/* Onboarding Overlay */
.onboarding {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(102,126,234,0.15) 0%, rgba(0,0,0,0.95) 70%);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.onboarding.hidden {
    display: none;
}

.onboarding-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    color: white;
    margin: auto 0;
    padding: 20px 0;
}

.onboarding-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.onboarding-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.onboarding-subtext {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 36px;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.onboarding-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.onboarding-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.onboarding-icon.swipe-right {
    background: linear-gradient(135deg, #20e3b2 0%, #10b981 100%);
}

.onboarding-icon.swipe-left {
    background: linear-gradient(135deg, #ff4458 0%, #dc2626 100%);
}

.onboarding-icon.swipe-up {
    background: linear-gradient(135deg, #4fc3f7 0%, #667eea 100%);
    width: 68px;
    height: 68px;
}

.onboarding-step:last-child {
    opacity: 0.7;
}

.onboarding-step h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.onboarding-step p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
    max-width: 250px;
}

.start-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.start-btn:active {
    transform: scale(0.98);
}

/* End Screen */
.end-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 20px;
    overflow-y: auto;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.end-screen-content {
    background: rgba(0,0,0,0.4);
    padding: 30px;
    border-radius: 20px;
    max-width: 90%;
    width: 380px;
}

.end-screen.hidden {
    display: none;
}

.end-screen h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.end-screen p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* Header Layout */
.header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.header-title {
    text-align: left;
    flex: 1;
}

/* Coin Bank Badge */
.coin-bank-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 5px 12px 5px 5px;
    flex-shrink: 0;
    margin-top: 4px;
}

.coin-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-bank-badge span {
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

/* Coin Summary (End Screen) */
.coin-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
}

.coin-summary-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.coin-summary-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.coin-session-gain {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.coin-plus {
    font-size: 1.6rem;
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 2px 8px rgba(74, 222, 128, 0.4);
}

.coin-session-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.coin-bank-total {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.coin-bank-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.coin-bank-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

@keyframes coinGlow {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5) drop-shadow(0 0 8px rgba(74,222,128,0.6)); }
    100% { filter: brightness(1); }
}

.coin-summary-image.glow {
    animation: coinGlow 500ms ease-in-out 1;
}

/* Session Summary (End Screen) */
.session-summary {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    text-align: left;
}

.session-summary h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.session-summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.session-summary-list li {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-summary-list li::before {
    content: "\2022";
    color: rgba(255,255,255,0.4);
}

.summary-count {
    font-weight: 700;
    color: white;
    min-width: 16px;
}

/* Spend Button */
.spend-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 12px;
    background: transparent;
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spend-btn:hover {
    background: rgba(74,222,128,0.1);
    border-color: rgba(74,222,128,0.5);
}

.spend-btn.hidden {
    display: none;
}

/* Unlock Modal */
.unlock-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px) saturate(0.6);
    z-index: 2500;
    animation: modalBackdropIn 0.3s ease-out;
}

.unlock-modal.hidden {
    display: none;
}

@keyframes modalBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalContentLift {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.unlock-modal-content {
    background: rgba(30,30,40,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 30px 24px;
    border-radius: 20px;
    max-width: 90%;
    width: 340px;
    text-align: center;
    color: white;
    animation: modalContentLift 0.35s ease-out;
}

.unlock-modal-content h2 {
    font-size: 1.3rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.unlock-modal-sub {
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0 0 20px;
}

.unlock-modes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.unlock-mode-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.unlock-mode-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.18);
}

.unlock-mode-btn:active {
    transform: scale(0.98);
}

.unlock-mode-btn .mode-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.unlock-mode-btn .mode-desc {
    font-size: 0.78rem;
    opacity: 0.5;
}

.unlock-cancel {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: rgba(255,255,255,0.5);
    border: none;
    border-radius: 14px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.unlock-cancel:hover {
    color: rgba(255,255,255,0.8);
}

/* Card mode badge (shown during unlock batches) */
.card-mode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
    z-index: 3;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    animation: badgeSlideIn 0.4s ease-out;
}

@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.restart-btn {
    padding: 12px 30px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.restart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Swipe Toast */
.swipe-toast {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 50;
    white-space: nowrap;
}

.swipe-toast.visible {
    opacity: 1;
}

/* Gesture Demo Animation */
@keyframes gestureDemo {
    0% { transform: translateX(0) rotate(0); }
    40% { transform: translateX(15px) rotate(3deg); }
    100% { transform: translateX(0) rotate(0); }
}

@keyframes gestureLikeFlash {
    0%, 20% { opacity: 0; }
    35%, 50% { opacity: 0.7; }
    70%, 100% { opacity: 0; }
}

.card.gesture-demo {
    animation: gestureDemo 1000ms ease-in-out 1 forwards;
}

.gesture-like-flash {
    position: absolute;
    top: 80px;
    right: 40px;
    font-size: 3rem;
    font-weight: 800;
    color: #20e3b2;
    border: 4px solid #20e3b2;
    border-radius: 10px;
    padding: 10px 20px;
    transform: rotate(20deg);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    animation: gestureLikeFlash 1000ms ease-in-out 1 forwards;
}

/* Idle Card Affordance */
@keyframes idlePulse {
    0%, 70%, 100% { transform: scale(1); }
    80% { transform: scale(1.01); }
    90% { transform: scale(1); }
}

.card.idle-pulse {
    animation: idlePulse 5s ease-in-out infinite;
}

/* Animations */
@keyframes swipe-left {
    to {
        transform: translateX(-150%) rotate(-30deg);
        opacity: 0;
    }
}

@keyframes swipe-right {
    to {
        transform: translateX(150%) rotate(30deg);
        opacity: 0;
    }
}

@keyframes swipe-up {
    to {
        transform: translateY(-150%) rotate(5deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .app-container {
        gap: 15px;
    }

    .card-container {
        height: calc(100vh - 280px);
        min-height: 450px;
        max-height: 600px;
    }

    .app-header h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .action-buttons {
        gap: 15px;
    }

    .action-btn {
        width: 55px;
        height: 55px;
    }

    .action-btn.super {
        width: 46px;
        height: 46px;
    }

    .card-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .swipe-indicator {
        font-size: 2.5rem;
    }

    .swipe-indicator.nope {
        left: 20px;
        top: 60px;
    }

    .swipe-indicator.like {
        right: 20px;
        top: 60px;
    }

    .swipe-indicator.super {
        top: 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .app-container {
        gap: 10px;
    }

    .card-container {
        height: calc(100vh - 220px);
        min-height: 400px;
        max-height: 550px;
    }

    .app-header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .action-buttons {
        gap: 12px;
        padding: 0 10px;
    }

    .action-btn {
        width: 50px;
        height: 50px;
    }

    .action-btn.super {
        width: 42px;
        height: 42px;
    }

    .card-title {
        font-size: 1.2rem;
        -webkit-line-clamp: 2;
    }

    .card-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-height: 1.3;
    }

    .card-type {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .card-info {
        padding: 15px;
    }

    .swipe-indicator {
        font-size: 2rem;
        padding: 8px 16px;
        border-width: 3px;
    }

    .swipe-indicator.nope {
        left: 15px;
        top: 50px;
    }

    .swipe-indicator.like {
        right: 15px;
        top: 50px;
    }

    .swipe-indicator.super {
        top: 20px;
        margin-left: -60px;
    }

    .poster-overlay-title {
        font-size: 1.5rem;
    }

    /* End screen mobile */
    .end-screen {
        padding: 30px 15px;
    }

    .end-screen-content {
        padding: 25px 20px;
        width: 340px;
    }

    .end-screen h2 {
        font-size: 1.6rem;
    }

    .coin-summary {
        padding: 14px;
    }

    .coin-plus {
        font-size: 1.4rem;
    }

    .session-summary {
        padding: 14px;
    }

    /* Onboarding mobile */
    .onboarding-content h2 {
        font-size: 1.8rem;
    }

    .onboarding-subtitle {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .onboarding-subtext {
        margin-bottom: 24px;
    }

    .onboarding-steps {
        gap: 18px;
        margin-bottom: 24px;
    }

    .onboarding-step {
        gap: 6px;
    }

    .onboarding-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 2px;
    }

    .onboarding-icon.swipe-up {
        width: 48px;
        height: 48px;
    }

    .onboarding-icon svg {
        width: 28px;
        height: 28px;
    }

    .onboarding-step h3 {
        font-size: 1.05rem;
    }

    .onboarding-step p {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .app-header h1 {
        font-size: 1.6rem;
    }

    .card-container {
        height: calc(100vh - 200px);
        min-height: 380px;
    }

    .action-btn {
        width: 45px;
        height: 45px;
    }

    .action-btn.super {
        width: 38px;
        height: 38px;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-info {
        padding: 15px;
    }

    .end-screen {
        padding: 25px 10px;
    }

    .end-screen-content {
        width: 300px;
        padding: 20px 15px;
    }

    .end-screen h2 {
        font-size: 1.4rem;
    }

    /* Onboarding extra small */
    .onboarding-content h2 {
        font-size: 1.5rem;
    }

    .onboarding-subtitle {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }

    .onboarding-subtext {
        font-size: 0.75rem;
        margin-bottom: 18px;
    }

    .onboarding-steps {
        gap: 14px;
        margin-bottom: 20px;
    }

    .onboarding-step {
        gap: 4px;
    }

    .onboarding-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
    }

    .onboarding-icon.swipe-up {
        width: 40px;
        height: 40px;
    }

    .onboarding-icon svg {
        width: 24px;
        height: 24px;
    }

    .onboarding-step h3 {
        font-size: 0.95rem;
    }

    .onboarding-step p {
        font-size: 0.8rem;
    }

    .start-btn {
        padding: 12px 35px;
        font-size: 1rem;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .app-container {
        max-width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .app-header {
        display: none;
    }

    .card-container {
        height: calc(100vh - 40px);
        flex: 1;
        max-height: none;
    }

    .action-buttons,
    .stats {
        flex-direction: column;
        gap: 10px;
    }

    .stats {
        order: 3;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .app-container {
        max-width: 500px;
    }

    .card-container {
        height: 650px;
    }
}
