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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Floating background shapes */
.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);
    }
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.landing-header {
    text-align: center;
    margin-bottom: 60px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.logo-icon {
    font-size: 4em;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.landing-header h1 {
    font-size: 3.2em;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #ffecd2 50%, #fcb69f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 10px;
    letter-spacing: 3px;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.3));
}

.tagline {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    flex: 1;
    align-items: start;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
}

.halloween-card::before {
    background: linear-gradient(90deg, #ff9a56, #ff6b35, #f7931e);
}

.arcade-card::before {
    background: linear-gradient(90deg, #f093fb, #f5576c, #ffd700);
}

.trivia-card::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.jfk-card::before {
    background: linear-gradient(90deg, #c9a227, #d4af37, #f0c75e);
}

.news-card::before {
    background: linear-gradient(90deg, #1a1a2e, #16213e, #0f3460);
}

.pacman-card::before {
    background: linear-gradient(90deg, #ffeb3b, #ffc107, #ff9800);
}

.tetris-card::before {
    background: linear-gradient(90deg, #00bcd4, #3f51b5, #9c27b0);
}

.minesweeper-card::before {
    background: linear-gradient(90deg, #607d8b, #455a64, #37474f);
}

.jezzball-card::before {
    background: linear-gradient(90deg, #00ff88, #00cc6a, #00994d);
}

.skifree-card::before {
    background: linear-gradient(90deg, #e3f2fd, #90caf9, #42a5f5);
}

.solitaire-card::before {
    background: linear-gradient(90deg, #2e7d32, #388e3c, #43a047);
}

.pictionary-card::before {
    background: linear-gradient(90deg, #ff6b6b, #feca57, #ff9ff3);
}

.baseball-card::before {
    background: linear-gradient(90deg, #df4601, #000000, #df4601);
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Construction badge */
.construction-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    color: white;
    padding: 8px 40px;
    font-size: 0.7em;
    font-weight: bold;
    letter-spacing: 1px;
    transform: rotate(35deg);
    box-shadow: 0 4px 15px rgba(247, 147, 30, 0.4);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.badge-icon {
    font-size: 1.1em;
}

.badge-text {
    white-space: nowrap;
}

.game-icon {
    font-size: 4.5em;
    margin-bottom: 15px;
    animation: bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.game-card h2 {
    font-size: 1.8em;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

.halloween-card h2 {
    color: #ff6b35;
}

.arcade-card h2 {
    color: #f5576c;
}

.trivia-card h2 {
    color: #667eea;
}

.jfk-card h2 {
    color: #b8941f;
}

.news-card h2 {
    color: #16213e;
}

.pacman-card h2 {
    color: #ff9800;
}

.tetris-card h2 {
    color: #3f51b5;
}

.minesweeper-card h2 {
    color: #455a64;
}

.jezzball-card h2 {
    color: #00994d;
}

.skifree-card h2 {
    color: #1976d2;
}

.solitaire-card h2 {
    color: #2e7d32;
}

.pictionary-card h2 {
    color: #ff6b6b;
}

.baseball-card h2 {
    color: #df4601;
}

.game-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.game-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #555;
    font-weight: 500;
}

.play-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 14px 45px;
    font-size: 1.1em;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.halloween-card .play-btn {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35);
}

.arcade-card .play-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.35);
}

.halloween-card .preview-btn {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.35);
}

.jfk-card .play-btn {
    background: linear-gradient(135deg, #c9a227 0%, #b8941f 100%);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.35);
}

.news-card .play-btn {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 8px 25px rgba(22, 33, 62, 0.35);
}

.pacman-card .play-btn {
    background: linear-gradient(135deg, #ffeb3b 0%, #ff9800 100%);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35);
    color: #333;
}

.tetris-card .play-btn {
    background: linear-gradient(135deg, #3f51b5 0%, #9c27b0 100%);
    box-shadow: 0 8px 25px rgba(63, 81, 181, 0.35);
}

.minesweeper-card .play-btn {
    background: linear-gradient(135deg, #607d8b 0%, #37474f 100%);
    box-shadow: 0 8px 25px rgba(69, 90, 100, 0.35);
}

.jezzball-card .play-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00994d 100%);
    box-shadow: 0 8px 25px rgba(0, 153, 77, 0.35);
    color: #000;
}

.skifree-card .play-btn {
    background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.35);
}

.solitaire-card .play-btn {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.pictionary-card .play-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35);
}

.baseball-card .play-btn {
    background: linear-gradient(135deg, #df4601 0%, #000000 100%);
    box-shadow: 0 8px 25px rgba(223, 70, 1, 0.35);
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.landing-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .logo-icon {
        font-size: 3em;
    }

    .landing-header h1 {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1.1em;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .game-card {
        padding: 25px;
    }

    .game-icon {
        font-size: 3.5em;
    }

    .construction-badge {
        font-size: 0.6em;
        padding: 6px 35px;
        right: -40px;
    }
}
