:root {
    --bg-color: #0d0e15;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-1: #4e54c8;
    --accent-2: #8f94fb;
    --accent-3: #ff416c;
    --accent-4: #ff4b2b;
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 65, 108, 0.3), transparent 70%);
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 1s ease-out;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
main {
    flex-grow: 1;
}

.games-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

/* Game Cards */
.game-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 1s ease-out both;
}

.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card.coming-soon {
    cursor: default;
    opacity: 0.85;
}

.game-card:not(.coming-soon):hover {
    transform: translateY(-10px);
    border-color: rgba(143, 148, 251, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(78, 84, 200, 0.2);
}

.card-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.badge.available {
    background: rgba(78, 84, 200, 0.2);
    color: #8f94fb;
    border: 1px solid rgba(143, 148, 251, 0.3);
}

.badge.upcoming {
    background: rgba(255, 65, 108, 0.2);
    color: #ff416c;
    border: 1px solid rgba(255, 65, 108, 0.3);
}

.game-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.game-card.coming-soon h3 {
    background: linear-gradient(45deg, var(--accent-3), var(--accent-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.game-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(143, 148, 251, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.game-card:hover .card-hover-effect {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--card-border);
    animation: fadeIn 1.5s ease-out;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.email-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(78, 84, 200, 0.3);
}

.email-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(78, 84, 200, 0.5);
}

.copyright {
    margin-top: 4rem;
    color: #475569;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .games-section h2 { font-size: 2rem; }
    .container { padding: 2rem 1rem; }
}
