:root {
    --bg-dark: #0a0b10;
    --bg-card: #121420;
    --primary: #ff007f; /* Rose TikTok */
    --secondary: #00f0ff; /* Cyan TikTok */
    --text-light: #ffffff;
    --text-gray: #8a8d9f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-light);
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px var(--secondary);
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
    background: radial-gradient(circle, rgba(26,21,44,1) 0%, rgba(10,11,16,1) 100%);
    position: relative;
}

.hero-content {
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--text-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.btn-main {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(45deg, var(--primary), #b000ff);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.7);
}

/* Games Section */
.games-section {
    padding: 80px 5%;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.games-section h2 span {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.neon-green { background: #00ff66; color: black; box-shadow: 0 0 10px #00ff66; }
.neon-purple { background: #b000ff; color: white; box-shadow: 0 0 10px #b000ff; }

.game-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

.game-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.mapping-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
}

.mapping-preview span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 3px;
    color: var(--secondary);
}

.btn-game {
    display: block;
    text-align: center;
    padding: 10px;
    background: rgba(0, 240, 255, 0.1);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-game:hover {
    background: var(--secondary);
    color: black;
    box-shadow: 0 0 15px var(--secondary);
}

.btn-locked {
    background: transparent;
    border-color: var(--text-gray);
    color: var(--text-gray);
    cursor: not-allowed;
}

.empty-card {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: transparent;
    justify-content: center;
    text-align: center;
}

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 60px 5%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-box {
    width: 300px;
    padding: 20px;
    text-align: center;
}

.feature-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-box p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
}