/* ============================================
   PROLINE ESPORTS - Main Stylesheet
   Color Scheme: Teal (#00CED1, #20B2AA) + Black
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #00CED1;
    --primary-dark: #008B8B;
    --primary-light: #40E0D0;
    --secondary-color: #20B2AA;
    --accent-color: #00FFFF;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --success: #00ff88;
    --warning: #ffaa00;
    --danger: #ff4444;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    --shadow-glow: 0 0 20px rgba(0, 206, 209, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 206, 209, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-logo:hover img {
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-admin {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-admin:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(0, 206, 209, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23111" width="100" height="100"/><g fill="%23151515"><rect x="0" y="0" width="50" height="50"/><rect x="50" y="50" width="50" height="50"/></g></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    margin-bottom: 20px;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 206, 209, 0.4));
}

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

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--primary-color);
    font-size: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 206, 209, 0.5);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    opacity: 0.3;
    z-index: 1;
}

.about-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Schedule Section */
.schedule {
    background: var(--bg-dark);
}

/* Schedule Columns Layout */
.schedule-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.schedule-column {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(0, 206, 209, 0.1);
}

.column-title {
    font-family: var(--font-heading);
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.class-info {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: -15px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.race-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.race-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-darker);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.race-item:hover {
    background: var(--bg-card-hover);
    transform: translateX(3px);
}

.race-date {
    text-align: center;
    min-width: 60px;
}

.race-date .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.race-date .month {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.race-info {
    flex: 1;
}

.race-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.race-info p {
    font-size: 14px;
    color: var(--text-muted);
}

.race-info i {
    margin-right: 8px;
    color: var(--primary-color);
}

.race-status {
    padding: 5px 10px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    white-space: nowrap;
}

.race-status.completed {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.race-status.upcoming {
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.race-status.finale {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.race-status-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.view-results-hint {
    font-size: 11px;
    color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.race-item.clickable {
    cursor: pointer;
}

.race-item.clickable:hover {
    background: var(--bg-card-hover);
    border-left-color: var(--success);
}

.race-item.clickable:hover .view-results-hint {
    opacity: 1;
}

/* Race Results Modal */
.race-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.race-modal.active {
    opacity: 1;
    visibility: visible;
}

.race-modal-content {
    background: var(--bg-card);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 206, 209, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: var(--transition);
}

.race-modal.active .race-modal-content {
    transform: translateY(0);
}

.race-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.race-modal-close:hover {
    color: var(--primary-color);
}

.race-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.race-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.race-modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.race-modal-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-darker);
}

.race-modal-tab {
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.race-modal-tab:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.race-modal-tab.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.race-modal-body {
    padding: 20px 30px 30px;
    max-height: 50vh;
    overflow-y: auto;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
}

.race-results-table {
    width: 100%;
    border-collapse: collapse;
}

.race-results-table th,
.race-results-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.race-results-table th {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(0, 206, 209, 0.1);
}

.race-results-table td:first-child {
    font-family: var(--font-heading);
    font-weight: 700;
}

.race-results-table td:nth-child(2) {
    text-align: left;
    font-weight: 600;
}

.race-results-table td:last-child {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
}

.race-results-table .podium-1 td:first-child { color: gold; }
.race-results-table .podium-2 td:first-child { color: silver; }
.race-results-table .podium-3 td:first-child { color: #cd7f32; }

.race-results-table .podium {
    background: rgba(0, 206, 209, 0.05);
}

.series-info {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 10px;
}

.series-info h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.series-info p {
    color: var(--text-secondary);
}

/* Results Section */
.results {
    background: var(--bg-darker);
}

.results-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.results-tab-btn {
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.results-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.results-tab-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.results-tab-content {
    display: none;
}

.results-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.standings-image {
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.standings-image img {
    width: 100%;
    display: block;
}

.standings-table-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table th,
.standings-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table th {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(0, 206, 209, 0.1);
}

.standings-table td {
    font-size: 14px;
}

.standings-table td:first-child {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.standings-table td:nth-child(2) {
    text-align: left;
    font-weight: 600;
}

.standings-table td:last-child {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
}

.standings-table tbody tr:hover {
    background: rgba(0, 206, 209, 0.05);
}

.standings-table tbody tr:nth-child(1) td:first-child {
    color: gold;
}

.standings-table tbody tr:nth-child(2) td:first-child {
    color: silver;
}

.standings-table tbody tr:nth-child(3) td:first-child {
    color: #cd7f32;
}

/* Drop Round and Overall columns */
.standings-table .drop-value {
    color: var(--danger);
    font-size: 12px;
}

.standings-table .overall-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--success);
}

/* Hall of Champions Section */
.hall-of-champions {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hall-of-champions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.champions-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: -40px auto 50px;
}

.champions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.no-champions {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px dashed rgba(255, 215, 0, 0.2);
}

.champion-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

.champion-card:hover {
    transform: translateY(-5px);
    border-color: gold;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.15);
}

.champion-trophy {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.champion-trophy i {
    font-size: 36px;
    color: gold;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.champion-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.champion-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.champion-season {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.champion-class {
    display: inline-block;
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 206, 209, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    margin: 0 auto;
}

.champion-year {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: gold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Gallery Section */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 206, 209, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 32px;
    color: var(--bg-dark);
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
}

.lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 48px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
}

.contact-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.social-card i {
    font-size: 48px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.social-card h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.social-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.social-card.discord i { color: #5865F2; }
.social-card.discord:hover { border-color: #5865F2; box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); }

.social-card.facebook i { color: #1877F2; }
.social-card.facebook:hover { border-color: #1877F2; box-shadow: 0 0 20px rgba(24, 119, 242, 0.3); }

.social-card.instagram i { color: #E4405F; }
.social-card.instagram:hover { border-color: #E4405F; box-shadow: 0 0 20px rgba(228, 64, 95, 0.3); }

.social-card.twitch i { color: #9146FF; }
.social-card.twitch:hover { border-color: #9146FF; box-shadow: 0 0 20px rgba(145, 70, 255, 0.3); }

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 206, 209, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-darker);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 30px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .schedule-columns {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }

    .hero-logo {
        max-width: 350px;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .schedule-tabs,
    .results-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .race-item {
        flex-wrap: wrap;
    }

    .race-status {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .standings-table th,
    .standings-table td {
        padding: 8px 5px;
        font-size: 11px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}
