*::selection { background: var(--primary); color: black; }

:root {
    --primary: #ff4d00; /* Aggressive Orange */
    --accent: #ff9500e8;  /* Cyber Blue */
    --bg: #0a0b0d;      /* Deep Dark */
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

/* Base Setup */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Orbitron', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: white; overflow-x: hidden; width: 100%; }

/* Background Elements */
.floating-container { position: fixed; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.floating-icon { position: absolute; opacity: 0.2; filter: drop-shadow(0 0 5px var(--accent)); animation: float infinite linear; }
@keyframes float { from { transform: translateY(105vh) rotate(0deg); } to { transform: translateY(-10vh) rotate(360deg); } }

/* Shared Components */
.sub-title { color: var(--accent); letter-spacing: 3px; font-size: 0.8rem; font-weight: bold; display: block; margin-bottom: 10px; }
.glitch-text { color: var(--primary); text-shadow: 2px 2px var(--accent); }

/* Buttons */
.btn-shiny {
    background: transparent; border: 1px solid var(--primary); color: white;
    padding: 12px 35px; font-weight: bold; cursor: pointer; position: relative;
    overflow: hidden; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: var(--transition); letter-spacing: 1px;
}
.btn-shiny:hover { background: var(--primary); box-shadow: 0 0 20px var(--primary); transform: scale(1.05); }

.sec-btn { 
    background: transparent; border: 1px solid white; color: white; 
    padding: 12px 35px; cursor: pointer; font-weight: bold; 
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); transition: var(--transition);
}
.sec-btn:hover { background: white; color: black; }

/* --- Navigation --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 25px 8%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 2000; transition: var(--transition);
}
nav.scrolled { padding: 15px 8%; background: rgba(10, 11, 13, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid var(--primary); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-item { color: white; text-decoration: none; margin: 0 15px; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; transition: 0.3s; }
.nav-item:hover { color: var(--primary); }

/* Hamburger Menu */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; padding: 5px; z-index: 2001; }
.bar { width: 30px; height: 3px; background: white; margin: 3px 0; transition: var(--transition); border-radius: 5px; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
    background: rgba(10, 11, 13, 0.98); backdrop-filter: blur(20px);
    display: flex; justify-content: center; align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1500;
}
.mobile-overlay.active { left: 0; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-item { font-size: 2rem; color: white; text-decoration: none; display: block; margin: 25px 0; font-weight: 900; }

/* --- Hero Section --- */
.hero { 
    height: 100vh; display: flex; align-items: center; justify-content: center; 
    text-align: center; padding: 0 20px; position: relative;
    background: radial-gradient(circle, rgba(255,77,0,0.1) 0%, rgba(0,0,0,1) 80%);
}
.hero h1 { font-size: clamp(2.2rem, 10vw, 5rem); line-height: 1.1; margin-bottom: 20px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* --- Tournaments Section --- */
.tournaments { padding: 100px 8%; position: relative; z-index: 5; }
.tournaments h2 { font-size: 2.5rem; margin-bottom: 40px; }
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.card { 
    background: var(--card-bg); border-radius: 15px; overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); 
}
.card:hover { transform: translateY(-10px); border-color: var(--primary); }
.card-img { height: 250px; width: 100%; }
.card-body { padding: 25px; }
.card-btn { 
    width: 100%; padding: 12px; background: var(--primary); border: none; 
    color: white; font-weight: bold; cursor: pointer; margin-top: 15px; 
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

/* --- Services --- */
.services { padding: 100px 10%; display: flex; gap: 50px; flex-wrap: wrap; align-items: center; }
.services-left { flex: 1; min-width: 300px; }
.services-left h2 { font-size: 2.5rem; margin-bottom: 25px; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 10px; }
.view-all { 
    display: inline-block; color: white; text-decoration: none; 
    border: 1px solid var(--accent); padding: 10px 20px; 
    font-weight: bold; transition: 0.3s; margin-top: 20px;
}
.view-all:hover { background: var(--accent); color: black; }

.services-grid { flex: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; }
.s-card { 
    background: var(--card-bg); padding: 40px 20px; text-align: center; 
    border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; 
}
.s-card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.s-card:hover { transform: translateY(-10px); border-color: var(--primary); }

:root {
    --primary: #ff4d00;
    --accent: #ff8800;
    --bg: #0a0b0d;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Team Section Container */
.team {
    padding: 100px 10%;
    background: #050507;
    text-align: center;
}

.team-header {
    margin-bottom: 60px;
}

.team-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual Member Card */
.member {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    height: 500px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* The Image: Starts grayscale and scales up on hover */
.member-img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: var(--transition);
    transform: scale(1);
}

/* Info Box: Slides up from the bottom */
.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95) 80%);
    text-align: center;
    transform: translateY(45px); /* Slightly hidden */
    transition: var(--transition);
    z-index: 2;
}

.member-info h4 {
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #fff;
    text-transform: uppercase;
}

.member-info p {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Social Icons: Hidden until hover, then slide up and fade in */
.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-socials a {
    color: #fff;
    font-size: 1rem;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s ease;
}

.team-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* --- HOVER TRIGGERS --- */

/* 1. Image turns color and zooms */
.member:hover .member-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* 2. Info box moves to final position */
.member:hover .member-info {
    transform: translateY(0);
}

/* 3. Social icons appear with a slight delay */
.member:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .member {
        max-width: 100%;
        height: 450px;
    }
}


/* --- Newsletter Section --- */
.newsletter-section {
    padding: 80px 10%;
    background: #050507;
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    background: var(--card-bg);
    border: 1px solid rgba(255, 77, 0, 0.2);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text {
    flex: 1;
    min-width: 300px;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.newsletter-text p {
    opacity: 0.7;
    font-size: 0.95rem;
    max-width: 500px;
}

/* --- Form Styling --- */
.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.input-group input {
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: white;
    flex: 1;
    font-size: 0.9rem;
    outline: none;
    font-family: 'Orbitron', sans-serif;
}

/* --- Custom Checkbox --- */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0.6;
    user-select: none;
    transition: 0.3s;
}

.checkbox-container:hover { opacity: 1; }

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0; width: 0;
}

.checkmark {
    position: absolute;
    top: 0; left: 0;
    height: 18px; width: 18px;
    background-color: #222;
    border: 1px solid var(--primary);
    border-radius: 3px;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px; top: 2px;
    width: 4px; height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

/* --- Background Glow Animation --- */
.newsletter-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulseGlow 5s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .newsletter-container { padding: 40px 20px; }
    .newsletter-text { text-align: center; }
    .newsletter-text p { margin: 0 auto; }
    .input-group { flex-direction: column; background: transparent; border: none; padding: 0; }
    .input-group input { 
        background: rgba(255,255,255,0.05); 
        border: 1px solid rgba(255,255,255,0.1); 
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .btn-shiny { width: 100%; border-radius: 10px; clip-path: none; }
}

/* --- Blog Section Styling --- */
.blog-section {
    padding: 100px 0;
    background: #050507;
    overflow: hidden;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--cyber-blue);
    margin: 15px auto;
}

.blog-outer-container {
    width: 100%;
    cursor: grab;
}

.blog-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    width: max-content;
}

.blog-item {
    width: 400px;
    background: #0a0b14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
}

.blog-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.blog-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 11, 20, 0.4); /* Dark blue overlay */
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    display: block;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: 0.3s;
}

.blog-content p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* Hover Effects */
.blog-item:hover {
    border-color: var(--cyber-blue);
    transform: translateY(-10px);
}

.blog-item:hover .blog-img-wrapper img {
    opacity: 1;
    transform: scale(1.1);
}

.blog-item:hover h3 {
    color: var(--cyber-blue);
}

.read-more:hover {
    color: var(--primary);
}

/* Pagination Dots */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: var(--cyber-blue);
    width: 25px;
    border-radius: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .blog-item { width: 300px; }
}
/* --- Footer Styling --- */
.main-footer {
    background: #000;
    position: relative;
    padding-top: 100px;
    z-index: 10;
    overflow: hidden;
    border-top: 2px solid var(--primary);
}

/* SVG Wave Top */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-wave .shape-fill {
    fill: var(--bg);
}

/* Container & Grid */
.footer-container {
    padding: 60px 10% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Brand Section */
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.7;
    margin: 20px 0;
    max-width: 400px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 8px;
}

/* Support Column */
.contact-info p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--accent);
    margin-right: 10px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 242, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--cyber-blue);
    border: 1px solid var(--cyber-blue);
}

.a3 {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px #00ff00;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.heart {
    color: var(--primary);
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-desc {
        margin: 20px auto;
    }
    .footer-links a:hover {
        padding-left: 0;
    }
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .nav-links, .hide-mobile { display: none; }
    .menu-toggle { display: flex; }
    .hero-btns { flex-direction: column; align-items: center; width: 100%; }
    .btn-shiny, .sec-btn { width: 280px; text-align: center; }
    .services { padding: 60px 5%; text-align: center; }
    .footer-top { text-align: center; }
    .footer-input { justify-content: center; max-width: 300px; margin: 20px auto; }
}

/* Tournaments page styles */
*::selection { background: var(--primary); color: black; }

:root {
    --primary: #ff4d00; /* Aggressive Orange */
    --accent: #ff9500e8;
    --cyber-blue: #00f2ff;
    --bg: #0a0b0d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base Setup */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Orbitron', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: white; overflow-x: hidden; width: 100%; }

/* Floating Background Icons */
.floating-container { position: fixed; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.floating-icon { position: absolute; opacity: 0.2; filter: drop-shadow(0 0 5px var(--accent)); animation: float 10s infinite linear; }
@keyframes float { from { transform: translateY(105vh) rotate(0deg); } to { transform: translateY(-10vh) rotate(360deg); } }

/* --- Navigation --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 25px 8%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 2000; transition: var(--transition);
    background: transparent; 
}
 
nav.scrolled { 
    padding: 15px 8%; 
    background: rgba(10, 11, 13, 0.95); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid var(--primary); 
}

.logo { font-size: 1.2rem; font-weight: 900; letter-spacing: 1px; }
.glitch-text { color: var(--primary); text-shadow: 2px 2px var(--accent); }
 
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-item { color: white; text-decoration: none; margin: 0 15px; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; transition: 0.3s; }
.nav-item:hover, .nav-item.active { color: var(--primary); }

/* Hamburger Toggle Animation */
.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 2001; }
.bar { width: 30px; height: 3px; background: white; transition: var(--transition); border-radius: 5px; }
 
/* The Cross Animation logic */
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--primary); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--primary); }

.mobile-overlay {
    position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
    background: rgba(10, 11, 13, 0.98); backdrop-filter: blur(20px);
    display: flex; justify-content: center; align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1500;
}
.mobile-overlay.active { left: 0; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-item { font-size: 2rem; color: white; text-decoration: none; display: block; margin: 25px 0; font-weight: 900; }

/* --- Tournament Header --- */
.subpage-hero { 
    height: 50vh; display: flex; align-items: center; justify-content: center; 
    text-align: center; padding: 0 20px; position: relative;
    background: radial-gradient(circle, rgba(255,77,0,0.15) 0%, rgba(0,0,0,1) 80%);
}
.subpage-hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); text-transform: uppercase; }

/* --- Tournaments Section --- */
.tournaments { padding: 80px 10%; position: relative; z-index: 5; }
.sub-title { color: var(--accent); letter-spacing: 3px; font-size: 0.8rem; font-weight: bold; display: block; margin-bottom: 10px; }
 
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
    margin-top: 50px;
}

.card { 
    background: var(--card-bg); border-radius: 15px; overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); 
    position: relative;
}
.card:hover { transform: translateY(-12px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(255, 77, 0, 0.1); }

.card-img { height: 220px; width: 100%; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; filter: brightness(0.7); }
.card:hover .card-img img { transform: scale(1.1); filter: brightness(1); }

.status-badge {
    position: absolute; top: 15px; right: 15px; background: #00ff00; color: black;
    padding: 5px 15px; border-radius: 5px; font-size: 0.7rem; font-weight: 900; z-index: 10;
}

.card-body { padding: 25px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: 10px; color: #fff; }

.card-btn { 
    width: 100%; padding: 14px; background: var(--primary); border: none; 
    color: white; font-weight: bold; cursor: pointer; margin-top: 15px; 
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); transition: 0.3s;
}
.card-btn:hover { background: white; color: black; box-shadow: 0 0 20px white; }

/* --- Footer (Same as Home) --- */
.main-footer {
    background: #000; position: relative; padding-top: 100px; z-index: 10;
    overflow: hidden; border-top: 2px solid var(--primary);
}
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; line-height: 0; }
.footer-wave svg { width: calc(100% + 1.3px); height: 50px; fill: var(--bg); }

.footer-container { padding: 60px 10% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { color: var(--accent); margin-bottom: 25px; letter-spacing: 2px; text-transform: uppercase; font-size: 0.9rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: white; text-decoration: none; font-size: 0.85rem; opacity: 0.6; transition: 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--primary); padding-left: 8px; }

.footer-desc { font-size: 0.9rem; line-height: 1.8; opacity: 0.7; margin-bottom: 20px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-link { 
    width: 40px; height: 40px; background: #111; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s;
}
.social-link:hover { background: var(--primary); transform: translateY(-5px); }

.status-indicator { display: inline-flex; align-items: center; background: rgba(0, 242, 255, 0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.7rem; color: var(--cyber-blue); margin-top: 15px; }
.dot { height: 8px; width: 8px; background-color: #00ff00; border-radius: 50%; margin-right: 10px; animation: blink 1.5s infinite; }
@keyframes blink { 0% { opacity: 0.4; } 100% { opacity: 1; } }

.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; font-size: 0.8rem; opacity: 0.5; }

/* Button Fixed Utility */
.btn-shiny {
    background: transparent; border: 1px solid var(--primary); color: white;
    padding: 10px 25px; font-weight: bold; cursor: pointer; position: relative;
    overflow: hidden; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: var(--transition); letter-spacing: 1px; font-size: 0.8rem;
}
.btn-shiny:hover { background: var(--primary); box-shadow: 0 0 20px var(--primary); }

/* --- Responsive Breakpoints FIX --- */
@media (max-width: 968px) {
    .nav-links, .nav-actions .btn-shiny { display: none; } /* Discord button removed from mobile nav bar */
    .menu-toggle { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    .subpage-hero h1 { font-size: 2.2rem; }
}

/* Leaderboard Header */
.leaderboard-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    background: radial-gradient(circle, rgba(255,77,0,0.1) 0%, rgba(0,0,0,1) 80%);
}

/* Leaderboard Styles */
.search-container {
    text-align: center;
    margin-bottom: 40px;
}

.search-container h2 {
    margin-bottom: 20px;
}

.search-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    width: 300px;
    outline: none;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.search-bar:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.leaderboard-table th, .leaderboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leaderboard-table td.points {
    font-weight: bold;
    color: var(--primary);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

/* Podium Styles */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 30px;
    margin: 50px 0;
    perspective: 1000px;
    background: transparent;
}

.podium-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    text-align: center;
    padding: 30px 20px;
    min-width: 200px;
    animation: podiumRise 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
    backdrop-filter: blur(10px);
}

@keyframes podiumRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.podium-card:hover {
    transform: translateY(-20px) scale(1.08) rotateY(5deg);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 77, 0, 0), 0 0 50px currentColor;
}

.p-1 {
    height: 380px;
    order: 2;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.05) 100%);
    border-color: var(--gold);
    animation-delay: 0.3s;
    box-shadow: 0 0 30px rgba(255,215,0,0.4);
}

.p-1 .rank-icon {
    color: var(--gold) !important;
    text-shadow: 0 0 20px var(--gold);
}

.p-2 {
    height: 320px;
    order: 1;
    background: linear-gradient(135deg, rgba(192,192,192,0.1) 0%, rgba(192,192,192,0.05) 100%);
    border-color: var(--silver);
    animation-delay: 0.6s;
    box-shadow: 0 0 30px rgba(192,192,192,0.4);
}

.p-2 .rank-icon {
    color: var(--silver) !important;
    text-shadow: 0 0 20px var(--silver);
}

.p-3 {
    height: 280px;
    order: 3;
    background: linear-gradient(135deg, rgba(205,127,50,0.1) 0%, rgba(205,127,50,0.05) 100%);
    border-color: var(--bronze);
    animation-delay: 0.9s;
    box-shadow: 0 0 30px rgba(205,127,50,0.4);
}

.p-3 .rank-icon {
    color: var(--bronze) !important;
    text-shadow: 0 0 20px var(--bronze);
}

.podium-card .rank-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px currentColor); }
    to { filter: drop-shadow(0 0 20px currentColor); }
}

.podium-card .avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.podium-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#leaderboard-hero {
    padding-top: 32px;
}

.podium-card .points {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    color: var(--primary);
    margin-bottom: 8px;
    text-shadow: 0 0 3px var(--primary);
}

.podium-card small {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

/* Responsive Podium */
@media (max-width: 968px) {
    .podium-container {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    .podium-card {
        width: 90%;

        max-width: 350px;
        height: auto !important;
        min-height: 300px;
        transform: none;
    }
    .podium-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    .p-1, .p-2, .p-3 {
        order: unset;
        height: auto;
    }
}

/* === SERVICES PAGE STYLES === */

/* Services Hero */
.services-hero {
    height: 60vh;
    background: radial-gradient(circle, rgba(255,77,0,0.15) 0%, rgba(0,0,0,1) 80%);
}

/* Services Main Section */
.services-main {
    padding: 100px 10%;
    background: var(--bg);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto;
}

.services-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 77, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid var(--primary);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
}

.service-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    width: 100%;
}

.service-btn:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

/* Tournament Data Section */
.tournament-data {
    padding: 80px 10%;
    background: #050507;
}

.data-header {
    text-align: center;
    margin-bottom: 50px;
}

.data-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Teams Section */
.featured-teams {
    padding: 100px 10%;
    background: var(--bg);
}

.teams-header {
    text-align: center;
    margin-bottom: 60px;
}

.teams-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 77, 0, 0.1);
}

.team-logo {
    margin-bottom: 20px;
}

.team-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.team-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-name {
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
}

.team-members {
    text-align: left;
}

.team-members h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--accent);
    text-transform: uppercase;
}

.team-members ul {
    list-style: none;
}

.team-members li {
    padding: 5px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.team-members i {
    color: var(--accent);
    margin-right: 10px;
}

/* Tournament Schedule Section */
.tournament-schedule {
    padding: 80px 10%;
    background: #050507;
}

.schedule-header {
    text-align: center;
    margin-bottom: 50px;
}

.schedule-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.schedule-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.schedule-date {
    background: var(--primary);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 70px;
}

.date-day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.schedule-info {
    flex: 1;
}

.schedule-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.schedule-info p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

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

.schedule-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    white-space: nowrap;
}

.schedule-btn:hover {
    background: var(--accent);
    color: black;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 10%;
    background: var(--bg);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 30px;
}

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

/* Responsive Design for Services */
@media (max-width: 968px) {
    .services-grid-main {
        grid-template-columns: 1fr;
    }
    
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-shiny, .sec-btn {
        width: 280px;
    }
}

@media (max-width: 580px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-stats {
        flex-direction: column;
        gap: 15px;
    }
}
/* Team Registration Form */
.team-registration {
    padding: 100px 10%;
    background: #050507;
}

.registration-header {
    text-align: center;
    margin-bottom: 60px;
}

.registration-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.registration-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.members-section {
    margin-bottom: 40px;
}

.members-section h3 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.member-row input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: white;
    font-size: 0.9rem;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

.member-row input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.form-actions {
    text-align: center;
}

.form-actions .btn-shiny {
    padding: 15px 40px;
    font-size: 1rem;
}

@media (max-width: 580px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .member-row {
        grid-template-columns: 1fr;
    }
    
    .registration-form {
        padding: 20px;
    }
}
/* Contact Page Styles */
.contact-info-section {
    padding: 80px 10%;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(255, 77, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid var(--primary);
}

.contact-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.contact-card p {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--primary);
}