/* TAO GAMES - Landing Page Styles */

:root {
    --bg-dark: #0a0a0c;
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --accent-football: #ff4d00; /* Terracotta/Orange vibe from icon */
    --accent-zen: #ffb7c5;      /* Sakura pink from icon */
    --font-primary: 'Outfit', sans-serif;
    --card-bg: rgba(255, 255, 255, 0.03);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Background Decorations */
.background-decor {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.15;
}

.blur-1 {
    top: -200px;
    left: -200px;
    background: var(--accent-football);
}

.blur-2 {
    bottom: -200px;
    right: -200px;
    background: var(--accent-zen);
}

/* Header */
header {
    padding: 80px 0 40px;
    text-align: center;
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-football), var(--accent-zen));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Main Grid */
main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0 100px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    width: 100%;
}

/* Game Cards */
.game-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition);
}

.category {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.view-button {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card Specifics - Football */
.football:hover {
    border-color: var(--accent-football);
    background: rgba(255, 77, 0, 0.05);
    transform: translateY(-10px);
}

.football:hover .image-wrapper {
    box-shadow: 0 0 40px rgba(255, 77, 0, 0.4);
    transform: scale(1.05);
}

.football:hover h2 {
    color: var(--accent-football);
}

.football .view-button {
    background: linear-gradient(135deg, #cc3d00, var(--accent-football));
}

/* Card Specifics - Zen */
.zen:hover {
    border-color: var(--accent-zen);
    background: rgba(255, 183, 197, 0.05);
    transform: translateY(-10px);
}

.zen:hover .image-wrapper {
    box-shadow: 0 0 40px rgba(255, 183, 197, 0.4);
    border-radius: 50%; /* morph to circle for zen feel */
    transform: scale(1.05);
}

.zen:hover h2 {
    color: var(--accent-zen);
}

.zen .view-button {
    background: linear-gradient(135deg, #e6a0ad, var(--accent-zen));
    color: #1a1a1c;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    header {
        padding: 50px 0 20px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .image-wrapper {
        width: 160px;
        height: 160px;
    }
}
