:root {
    --color-deep-navy: #0a0e27;
    --color-rich-blue: #1a1f4e;
    --color-accent-blue: #2d3a8c;
    --color-gold: #d4af37;
    --color-gold-bright: #f4d03f;
    --color-white: #ffffff;
    --color-text-muted: #a8b2d1;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 12px 48px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fullscreen-background {
    background-image: url('./img/jeppy.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    position: relative;
}

.fullscreen-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.3), transparent);
    pointer-events: none;
}

.start-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fullscreen-background button {
    width: auto;
    align-self: center;
    position: relative;
    z-index: 1;
}

.App {
    text-align: center;
    color: var(--color-white);
    min-height: 100vh;
    height: 100%;
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-rich-blue) 100%);
    background-attachment: fixed;
}

#app {
    height: 100vh;
}

.flex-box-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-box-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.Jeopardy-box {
    background: linear-gradient(145deg, #1e2555 0%, #0f1435 100%);
    min-width: 30em;
    max-width: 50em;
    border: 3px solid rgba(212, 175, 55, 0.4);
    border-radius: 4px;
    box-shadow: var(--shadow-strong),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.Jeopardy-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong),
                0 16px 64px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.greg-image {
    width: 20%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.score-display {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s forwards, shimmer 2s ease-in-out;
    letter-spacing: 0.05em;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.table {
    color: var(--color-white);
    background-color: rgba(26, 31, 78, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85em;
}

.table-dark {
    background-color: rgba(26, 31, 78, 0.8);
}

.table-dark tbody tr:hover {
    background-color: rgba(45, 58, 140, 0.3);
}

/* Jeopardy card styles */
.jeopardy-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jeopardy-year {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: var(--color-text-muted);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.jeopardy-card-header {
    height: 7em;
    background: linear-gradient(to bottom, rgba(45, 58, 140, 0.3), transparent);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.jeopardy-card-content {
    min-height: 18em;
    overflow-y: auto;
    padding: 2em 1.5em;
}

.jeopardy-question-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8em;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.5em;
    color: var(--color-white);
    animation: fadeIn 0.4s ease-in;
}

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

/* Game view styles */
.game-form {
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.game-form input.form-control {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1em;
    padding: 0.75em 1.25em;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: var(--color-white);
    transition: all 0.3s ease;
    min-width: 300px;
}

.game-form input.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.game-form input.form-control::placeholder {
    color: var(--color-text-muted);
}

.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.75em 1.75em;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a134 100%);
    color: var(--color-deep-navy);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary {
    background: rgba(168, 178, 209, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(168, 178, 209, 0.4);
}

.btn-secondary:hover {
    background: rgba(168, 178, 209, 0.3);
    border-color: rgba(168, 178, 209, 0.6);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #2d8659 0%, #1f5d3f 100%);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(45, 134, 89, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #36a16a 0%, #2d8659 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

.btn-outline-danger {
    background: transparent;
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.5);
}

.btn-outline-danger:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #ff6b5a;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid rgba(168, 178, 209, 0.3);
}

.btn-outline-secondary:hover {
    background: rgba(168, 178, 209, 0.1);
    border-color: rgba(168, 178, 209, 0.5);
    color: var(--color-white);
}

.game-message {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.game-message .h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 2em;
    color: var(--color-gold-bright);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.4s ease-in;
}

.game-score {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.game-score .h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.2em;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Play button styles */
.play-button {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8em;
    font-weight: 700;
    padding: 0.875em 2.5em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a134 100%);
    color: var(--color-deep-navy);
    border: none;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.play-button:hover::before {
    left: 100%;
}

.play-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.5);
}

/* Container styles for summary */
.container {
    max-width: 1200px;
    padding: 2rem;
}

.container p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2em;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Smooth scrollbar */
.jeopardy-card-content::-webkit-scrollbar {
    width: 8px;
}

.jeopardy-card-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.jeopardy-card-content::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 4px;
}

.jeopardy-card-content::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body, html {
        overflow-x: hidden;
        overflow-y: auto;
    }

    #app {
        height: auto;
        min-height: 100vh;
    }

    .App {
        min-height: 100vh;
        height: auto;
        padding-bottom: 2rem;
    }

    /* Fullscreen background adjustments */
    .fullscreen-background {
        height: 100vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        padding: 1rem;
    }

    /* Jeopardy card mobile sizing */
    .Jeopardy-box {
        min-width: unset;
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        margin: 0 1rem;
    }

    /* Card header typography */
    .jeopardy-category {
        font-size: 1.5em;
        padding: 0 1rem;
        word-break: break-word;
    }

    .jeopardy-year {
        font-size: 0.75em;
    }

    .jeopardy-card-header {
        height: auto;
        min-height: 5em;
        padding: 1rem 0.5rem;
    }

    .jeopardy-card-content {
        min-height: 14em;
        padding: 1.5em 1em;
    }

    .jeopardy-question-text {
        font-size: 1.3em;
        padding: 0.25em;
        word-break: break-word;
    }

    .score-display {
        font-size: 3.5em;
    }

    /* Form adjustments for mobile */
    .game-form {
        width: 100%;
        padding: 0 1rem;
        margin-top: 1.5rem;
    }

    .game-form.form-inline {
        display: block;
    }

    .game-form form {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .game-form input.form-control {
        min-width: unset;
        width: 100%;
        font-size: 1rem;
        padding: 0.875em 1em;
        margin: 0;
    }

    .game-form button {
        width: 100%;
        padding: 0.875em 1.25em;
        font-size: 0.95em;
        margin: 0 !important;
    }

    .game-form .btn.mx-2 {
        margin: 0 !important;
    }

    /* Message and score sections */
    .game-message,
    .game-score {
        padding: 0 1rem;
        margin-top: 1rem;
    }

    .game-message .h4 {
        font-size: 1.5em;
    }

    .game-score .h4 {
        font-size: 1em;
        line-height: 1.6;
    }

    /* Button group adjustments */
    .game-form + div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: calc(100% - 2rem);
        margin: 0 1rem;
        align-items: stretch;
    }

    .game-form + div span {
        display: flex;
        width: 100%;
    }

    .game-form + div button {
        width: 100%;
        flex: 1;
    }

    /* Play button mobile */
    .play-button {
        font-size: 1.4em;
        padding: 0.75em 2em;
        margin: 0 1rem 2rem 1rem !important;
        width: calc(100% - 2rem);
    }

    /* Container and table mobile */
    .container {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .container p {
        font-size: 1em;
    }

    /* Responsive table wrapper */
    .table {
        font-size: 0.85em;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .table thead th,
    .table tbody td {
        padding: 0.5rem;
        font-size: 0.8em;
    }

    /* Greg image sizing */
    .greg-image {
        width: 40%;
        max-width: 200px;
    }

    /* Reduce animations on mobile for performance */
    .btn {
        font-size: 0.85em;
    }

    .btn:hover:not(:disabled) {
        transform: none;
    }

    .Jeopardy-box:hover {
        transform: none;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .jeopardy-category {
        font-size: 1.3em;
    }

    .jeopardy-question-text {
        font-size: 1.1em;
    }

    .score-display {
        font-size: 3em;
    }

    .play-button {
        font-size: 1.2em;
        padding: 0.75em 1.5em;
    }

    .game-message .h4 {
        font-size: 1.3em;
    }

    .table thead th,
    .table tbody td {
        padding: 0.4rem;
        font-size: 0.75em;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .fullscreen-background {
        height: auto;
        min-height: 100vh;
    }

    .jeopardy-card-content {
        min-height: 10em;
    }

    .play-button {
        margin-bottom: 1rem !important;
    }
}

/* Calendar view styles */
.calendar-bg {
    background: linear-gradient(135deg,
        rgba(10, 14, 39, 0.95) 0%,
        rgba(26, 31, 78, 0.95) 50%,
        rgba(10, 14, 39, 0.95) 100%);
    justify-content: center;
    align-items: center;
}

.calendar-container {
    position: relative;
    background: linear-gradient(145deg, #0a0e27 0%, #1a1f4e 100%);
    padding: 3em;
    border: 2px solid var(--color-gold);
    box-shadow:
        0 0 0 1px rgba(10, 14, 39, 0.8),
        0 0 60px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 100px rgba(212, 175, 55, 0.05);
    max-width: 600px;
    margin: 0 auto;
    animation: calendarEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

@keyframes calendarEnter {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Art deco corner decorations */
.calendar-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
}

.calendar-corner.tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.calendar-corner.tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.calendar-corner.bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.calendar-corner.br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Calendar header */
.calendar-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.calendar-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 50%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0.8rem 0;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: shimmerText 3s ease-in-out infinite;
}

@keyframes shimmerText {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.calendar-decorative-line {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-gold) 20%,
        var(--color-gold) 80%,
        transparent 100%);
    position: relative;
}

.calendar-decorative-line::before,
.calendar-decorative-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    transform: rotate(45deg);
    top: -3px;
}

.calendar-decorative-line::before {
    left: 20%;
}

.calendar-decorative-line::after {
    right: 20%;
}

/* Calendar navigation */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.calendar-nav-btn {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calendar-nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.calendar-nav-btn:hover:not(.disabled)::before {
    width: 100px;
    height: 100px;
}

.calendar-nav-btn:hover:not(.disabled) {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
    border-color: var(--color-gold);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.calendar-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow {
    font-size: 2em;
    font-weight: 300;
    line-height: 1;
}

.calendar-month-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.month-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2em;
    font-weight: 600;
    color: var(--color-gold-bright);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.year-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9em;
    color: var(--color-text-muted);
    letter-spacing: 0.3em;
    font-weight: 300;
}

/* Calendar weekdays */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.weekday {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Calendar grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(145deg, rgba(45, 58, 140, 0.2), rgba(26, 31, 78, 0.2));
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.calendar-day::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-day:hover:not(.disabled):not(.empty)::before {
    opacity: 1;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: linear-gradient(145deg, rgba(20, 25, 50, 0.3), rgba(15, 20, 40, 0.3));
}

.calendar-day:not(.disabled):not(.empty):hover {
    background: linear-gradient(145deg, rgba(45, 58, 140, 0.4), rgba(26, 31, 78, 0.4));
    border-color: var(--color-gold);
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

.calendar-day.selected {
    background: linear-gradient(145deg, var(--color-gold) 0%, #c9a134 100%);
    border-color: var(--color-gold-bright);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    z-index: 11;
}

.calendar-day.selected .day-number {
    color: var(--color-deep-navy);
    font-weight: 700;
}

.calendar-day.today {
    border-color: var(--color-gold);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.day-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--color-white);
    z-index: 1;
}

.today-marker {
    position: absolute;
    bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.5em;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    z-index: 1;
}

/* Calendar actions */
.calendar-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.calendar-action-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: auto;
}

.calendar-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.calendar-action-btn:hover:not(.disabled)::before {
    width: 300px;
    height: 300px;
}

.calendar-action-btn.back {
    background: rgba(168, 178, 209, 0.15);
    border: 1px solid rgba(168, 178, 209, 0.3);
    color: var(--color-white);
}

.calendar-action-btn.back:hover {
    background: rgba(168, 178, 209, 0.25);
    border-color: rgba(168, 178, 209, 0.5);
    transform: translateX(-4px);
}

.calendar-action-btn.play {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a134 100%);
    color: var(--color-deep-navy);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    border: 1px solid transparent;
}

.calendar-action-btn.play:hover:not(.disabled) {
    background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
    transform: translateX(4px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.calendar-action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.calendar-action-btn:hover:not(.disabled) .btn-icon {
    transform: scale(1.2);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Touch-friendly button spacing */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 0.875em 1.5em;
    }

    .game-form input.form-control {
        min-height: 44px;
    }
}

/* Mobile start buttons */
@media (max-width: 600px) {
    .start-buttons-container {
        flex-direction: column;
    }
}

/* Mobile calendar view */
@media (max-width: 600px) {
    .calendar-container {
        max-width: calc(100vw - 2rem);
        padding: 1.5em;
        margin: 0 1rem;
    }

    .calendar-title {
        font-size: 1.8em;
        letter-spacing: 0.1em;
    }

    .calendar-nav {
        padding: 0;
    }

    .calendar-nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-arrow {
        font-size: 1.5em;
    }

    .month-name {
        font-size: 1.6em;
    }

    .year-name {
        font-size: 0.8em;
    }

    .weekday {
        font-size: 0.65em;
    }

    .calendar-grid {
        gap: 0.3rem;
    }

    .day-number {
        font-size: 1.1em;
    }

    .today-marker {
        font-size: 0.45em;
        bottom: 2px;
    }

    .calendar-actions {
        flex-direction: column;
    }

    .calendar-action-btn {
        font-size: 0.9em;
        padding: 0.875rem 1rem;
        gap: 0.5rem;
        width: 100%;
    }

    .calendar-corner {
        width: 25px;
        height: 25px;
    }

    .calendar-decorative-line::before,
    .calendar-decorative-line::after {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 375px) {
    .calendar-container {
        padding: 1em;
    }

    .calendar-title {
        font-size: 1.4em;
    }

    .month-name {
        font-size: 1.3em;
    }

    .day-number {
        font-size: 1em;
    }

    .calendar-action-btn {
        font-size: 0.8em;
        padding: 0.75rem 0.75rem;
    }
}
