/* ==========================================================================
   PROJECT BOO BOO KITTY - Page Themes
   Background gradients and page-specific styling
   ========================================================================== */

/* ==========================================================================
   Background Themes
   ========================================================================== */

/* Landing/Main Theme */
.theme-landing {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--color-white);
}

/* Arcade Theme */
.theme-arcade {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--color-white);
}

/* Fun Facts Theme */
.theme-funfacts {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: var(--color-white);
}

/* Trivia Theme */
.theme-trivia {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--color-white);
}

/* JFK Theme */
.theme-jfk {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 50%, #34495e 100%);
    color: var(--color-white);
}

/* News Theme */
.theme-news {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--color-white);
}

/* X-Files Theme */
.theme-xfiles {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: var(--color-white);
}

/* Orioles Theme */
.theme-orioles {
    background: linear-gradient(135deg, #df4601 0%, #000000 100%);
    color: var(--color-white);
}

/* Commanders Theme */
.theme-commanders {
    background: linear-gradient(135deg, #773141 0%, #5a252f 50%, #3d1a20 100%);
    color: var(--color-white);
}

/* Halloween Theme */
.theme-halloween {
    background: linear-gradient(135deg, #1a0a1a 0%, #2d1f3d 50%, #0a0a1a 100%);
    color: var(--color-white);
}

/* Game Themes */
.theme-pacman {
    background: linear-gradient(180deg, #000000 0%, #1a1a2e 100%);
    color: var(--color-white);
}

.theme-tetris {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    color: var(--color-white);
}

.theme-minesweeper {
    background: linear-gradient(135deg, #37474f 0%, #263238 100%);
    color: var(--color-white);
}

.theme-solitaire {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    color: var(--color-white);
}

.theme-skifree {
    background: linear-gradient(180deg, #87ceeb 0%, #e3f2fd 50%, #ffffff 100%);
    color: var(--color-gray-800);
}

.theme-jezzball {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2f1a 100%);
    color: var(--color-white);
}

/* ==========================================================================
   Floating Background Shapes (Landing Page)
   ========================================================================== */

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    top: 50%;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #54a0ff, #2e86de);
    top: 30%;
    left: 60%;
    animation-delay: -15s;
}

.shape-5 {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #5f27cd, #341f97);
    bottom: -150px;
    right: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg) scale(0.95);
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg) scale(1.05);
    }
}

/* ==========================================================================
   X-Files Specific Effects
   ========================================================================== */

.xfiles-glow {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5),
                 0 0 20px rgba(0, 255, 0, 0.3),
                 0 0 30px rgba(0, 255, 0, 0.2);
}

.xfiles-scanlines::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 100;
}

/* ==========================================================================
   Team Pages Specific Styles
   ========================================================================== */

/* Orioles accent */
.theme-orioles .card {
    border-left: 5px solid var(--color-orioles);
}

.theme-orioles .badge-team {
    background: linear-gradient(135deg, var(--color-orioles) 0%, #ff6b1a 100%);
}

/* Commanders accent */
.theme-commanders .card {
    border-left: 5px solid var(--color-commanders-accent);
}

.theme-commanders .badge-team {
    background: linear-gradient(135deg, var(--color-commanders-accent) 0%, #d4a017 100%);
    color: var(--color-commanders);
}

/* ==========================================================================
   Stats Bar (Team Pages)
   ========================================================================== */

.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-white);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Legend Cards (Team Pages)
   ========================================================================== */

.legends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-4);
}

.legend-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
}

.legend-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.legend-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
}

.theme-orioles .legend-number {
    color: var(--color-orioles);
}

.theme-commanders .legend-number {
    color: var(--color-commanders-accent);
}

.legend-name {
    font-weight: var(--font-weight-semibold);
    margin: var(--space-2) 0;
}

.legend-years {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Schedule Section (Team Pages)
   ========================================================================== */

.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.schedule-game {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    gap: var(--space-4);
    transition: all var(--transition-base);
}

.schedule-game:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.schedule-game.home {
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

.theme-orioles .schedule-game.home {
    border-left-color: var(--color-orioles);
}

.theme-commanders .schedule-game.home {
    border-left-color: var(--color-commanders-accent);
}

.game-date {
    text-align: center;
}

.game-day {
    display: block;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.game-date-num {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.game-month {
    display: block;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
}

.opponent-name {
    font-weight: var(--font-weight-semibold);
}

.game-location {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-lg);
}

.game-time {
    text-align: right;
    font-size: var(--font-size-sm);
}

.game-network {
    display: block;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
    .schedule-game {
        grid-template-columns: 70px 1fr;
        grid-template-rows: auto auto;
    }

    .game-time {
        grid-column: 1 / -1;
        text-align: left;
        padding-top: var(--space-3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-bar {
        flex-direction: column;
    }
}

/* ==========================================================================
   Responsive Floating Shapes
   ========================================================================== */

@media (max-width: 768px) {
    .shape {
        opacity: 0.05;
    }

    .shape-1 { width: 200px; height: 200px; }
    .shape-2 { width: 150px; height: 150px; }
    .shape-3 { width: 100px; height: 100px; }
    .shape-4 { width: 125px; height: 125px; }
    .shape-5 { width: 175px; height: 175px; }
}
