:root {
    /* Colors */
    --bg-dark: #05050a;
    --bg-panel: rgba(20, 20, 35, 0.6);
    --primary: #00f3ff;
    /* Cyan Neon */
    --secondary: #bc13fe;
    /* Purple Neon */
    --accent: #ff0055;
    /* Red/Pink Neon */
    --text-main: #ffffff;
    --text-muted: #8b9bb4;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 243, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(188, 19, 254, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);

    /* Fonts */
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 20%);
}

/* Typography */
h1,
h2,
h3,
.nav-link,
.btn-primary {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.highlight {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

/* Buttons */
.btn-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-head);
    font-weight: 700;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
    /* Header offset */
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

/* Battle Arena */
.section-container {
    padding: 4rem 10%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.live-indicator {
    color: var(--accent);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.poker-table-container {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.poker-table {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    background: radial-gradient(ellipse at center, #1a1a3a 0%, #0a0a15 100%);
    border: 2px solid #333;
    border-radius: 200px;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-cards {
    display: flex;
    gap: 10px;
}

.card {
    width: 60px;
    height: 90px;
    background: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
    font-family: var(--font-head);
}

.card.back {
    background: repeating-linear-gradient(45deg,
            #222,
            #222 10px,
            #333 10px,
            #333 20px);
    border: 1px solid #444;
}

.card.placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.player {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.player.p1 {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.player.p2 {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border: 2px solid white;
}

.stats {
    text-align: center;
}

.stats .name {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
}

.stats .chips {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
}

.pot {
    position: absolute;
    bottom: 80px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border-top: var(--glass-border);
    margin-top: 4rem;
}

/* Tournaments */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tournament-card {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.tournament-card h4 {
    font-family: var(--font-head);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.card-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-row.highlight {
    color: var(--secondary);
    font-weight: bold;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Betting Dashboard */
.betting-dashboard {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
}

.bet-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.bet-row:last-child {
    border-bottom: none;
}

.bet-row.header {
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.match-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.vs {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.match-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
}

.col-odds {
    display: flex;
    gap: 1rem;
}

.odd-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.odd-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    font-weight: bold;
}

.col-action {
    display: flex;
    justify-content: flex-end;
}

.small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Info Blocks */
.info-block {
    background: var(--bg-panel);
    border: var(--glass-border);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.info-block .large-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.info-block h4 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--text-main);
}

.info-block p {
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}