:root {
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --crimson: #8B0000;
    --crimson-light: #DC143C;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --shadow-color: rgba(139, 0, 0, 0.3);
}

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

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

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
}

.logo img {
    height: 100px;
    width: auto;
    filter: none;
    opacity: 0.92;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: background-color 0.3s ease;
}

.menu-toggle:hover .bar {
    background-color: var(--crimson-light);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a0000 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 10, 0.3) 50%, var(--dark-bg) 100%);
}

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

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(60px, 12vw, 140px);
    font-weight: 800;
    letter-spacing: 8px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--crimson-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 24px);
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

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

.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--crimson) 0%, var(--crimson-light) 100%);
    color: var(--text-primary);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.5);
}

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

.btn-secondary:hover {
    background: var(--crimson);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.btn-large {
    padding: 20px 50px;
    font-size: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: var(--crimson-light);
    animation: bounce 2s infinite;
}

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

.featured {
    padding: 120px 0;
    background: var(--darker-bg);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 6vw, 70px);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 6px;
    color: var(--text-primary);
}

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

.featured-card {
    background: var(--card-bg);
    padding: 50px 30px;
    text-align: center;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-light);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto; 
}

.featured-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.featured-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* FEATURED ICONS */
.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.featured-icon svg {
  width: 34px;
  height: 34px;
  stroke: #dc143c;
  stroke-width: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.featured-card:hover .featured-icon svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(220,20,60,0.8));
}

.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0000 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 20px;
    letter-spacing: 6px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a0000 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(139, 0, 0, 0.15) 0%, transparent 70%);
}

.page-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(50px, 8vw, 90px);
    letter-spacing: 8px;
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 80px 0;
    min-height: 50vh;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 2;
    color: var(--text-secondary);
}

.about-content p {
    margin-bottom: 25px;
}

.loading-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--card-bg);
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-light);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.team-card-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card-image {
    transform: scale(1.1);
}

.team-card-content {
    padding: 25px;
}

.team-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.team-card .role {
    color: var(--crimson-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.team-card .game {
    color: var(--text-secondary);
    font-size: 14px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.team-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(220,20,60,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc143c;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social:hover {
    color: #ff2a4d;
    box-shadow: 0 0 12px rgba(220,20,60,0.6);
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: var(--card-bg);
    overflow: hidden;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-light);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.news-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.1);
}

.news-card-content {
    padding: 30px;
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.news-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.news-card .date {
    color: var(--crimson-light);
    font-size: 13px;
    margin-top: 15px;
    display: block;
    font-weight: 600;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.tournament-card {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tournament-card:hover {
    transform: translateY(-10px);
    border-color: var(--crimson-light);
    box-shadow: 0 10px 40px var(--shadow-color);
}

.tournament-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
}

.status-live {
    background: var(--crimson);
    color: var(--text-primary);
    animation: pulse 2s infinite;
}

.status-upcoming {
    background: #444;
    color: var(--text-primary);
}

.status-ended {
    background: #222;
    color: #666;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.8);
    }
}

.tournament-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.tournament-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.register-list {
    max-width: 800px;
    margin: 0 auto;
}

.register-item {
    background: var(--card-bg);
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(139, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.register-item:hover {
    transform: translateX(10px);
    border-color: var(--crimson-light);
    box-shadow: 0 5px 30px var(--shadow-color);
}

.register-item h3 {
    font-size: 28px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.register-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    padding: 50px;
    border: 1px solid rgba(139, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    background: var(--darker-bg);
    border: 1px solid rgba(139, 0, 0, 0.3);
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--crimson-light);
    box-shadow: 0 0 15px var(--shadow-color);
}

.success-message {
    background: var(--card-bg);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--crimson-light);
    margin-top: 30px;
    /* animation: fadeIn 0.5s ease; */
}

.success-message p {
    font-size: 20px;
    color: var(--crimson-light);
}

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

footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(139, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 0, 0, 0.1);
}

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

.social-connect {
  background: linear-gradient(
    180deg,
    #0b0b0b,
    #111111
  );
  padding: 80px 0;
}

.social-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.social-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

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

.social-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-card span {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.social-card svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2;
}

.social-card:hover {
  border-color: #dc143c;
  box-shadow:
    0 0 25px rgba(220, 20, 60, 0.5),
    inset 0 0 15px rgba(220, 20, 60, 0.25);
  color: #dc143c;
}

.social-card i {
  font-size: 32px;
}



@media (max-width: 1024px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-title {
    text-align: center;
  }
}





@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 15px 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .featured-grid,
    .team-grid,
    .news-grid,
    .tournaments-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
