/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f1419;
    --primary-blue: #1a1f2e;
    --accent-blue: #2d3748;
    --accent-cyan: #4a5568;
    --glow-blue: #4299e1;
    --glow-cyan: #63b3ed;
    --text-light: #f7fafc;
    --text-gray: #cbd5e0;
    --border-color: rgba(66, 153, 225, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f1419;
    position: relative;
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Stars Background */
.stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    background: rgba(66, 153, 225, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 1px rgba(66, 153, 225, 0.5);
    animation: flyUp linear;
}

.stars-layer-1 .star {
    background: rgba(66, 153, 225, 0.7);
    box-shadow: 0 0 1px rgba(66, 153, 225, 0.5);
}

.stars-layer-2 .star {
    background: rgba(99, 179, 237, 0.6);
    box-shadow: 0 0 0.5px rgba(99, 179, 237, 0.4);
}

.stars-layer-3 .star {
    background: rgba(66, 153, 225, 0.5);
    box-shadow: 0 0 0.5px rgba(66, 153, 225, 0.3);
}

@keyframes flyUp {
    0% {
        transform: translateY(0);
        opacity: 0.3;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(-100vh - 50px));
        opacity: 0;
    }
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.logo-container:hover .logo-image {
    opacity: 1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Legacy support for logo class */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--glow-blue), var(--glow-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
    display: block;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    width: 0;
    height: 2px;
    background: var(--glow-blue);
    transition: width 0.3s ease;
}

.nav-links > li:hover > a::after {
    width: calc(100% - 2.5rem);
}

.nav-links > li > a:hover {
    color: var(--glow-blue);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown > a.dropdown-toggle {
    pointer-events: auto;
}

.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle::after {
    opacity: 1;
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown > a.dropdown-toggle:focus {
    outline: none;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(66, 153, 225, 0.1);
    color: var(--glow-blue);
    border-left-color: var(--glow-blue);
    padding-left: 1.75rem;
}

.language-switcher {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

.lang-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 40px;
}

.lang-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--glow-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.lang-btn.active {
    background: rgba(0, 212, 255, 0.3);
    border-color: var(--glow-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Language Modal */
.language-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.language-modal {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
    animation: slideUp 0.3s ease;
}

.language-modal h2 {
    color: var(--glow-cyan);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.modal-subtitle {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-subtitle strong {
    color: var(--glow-blue);
}

.modal-hint {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.language-modal-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.language-modal-two-options {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
    margin: 0 auto 2rem;
}

.lang-modal-btn {
    background: rgba(0, 49, 77, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-light);
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.lang-modal-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--glow-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.lang-modal-btn.suggested {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--glow-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.suggested-badge {
    font-size: 0.75rem;
    color: var(--glow-cyan);
    font-weight: bold;
    text-transform: uppercase;
}

.modal-continue-btn {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--glow-blue);
    color: var(--text-light);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.modal-continue-btn:hover {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* Two option layout */
.language-modal-two-options .lang-modal-btn {
    padding: 1.5rem;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: transparent;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-btn:hover {
    background: var(--glow-blue);
    border-color: var(--glow-blue);
    color: var(--primary-dark);
}

/* News Section */
.news-section {
    padding: 4rem 0;
}

.news-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.news-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: var(--glow-blue);
}

.news-date {
    color: var(--glow-blue);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-read-more {
    color: var(--glow-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-read-more:hover {
    color: var(--text-light);
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

.view-all-link {
    color: var(--glow-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--text-light);
}

/* Games Section */
.games-section {
    padding: 4rem 0;
}

.games-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.game-card {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.game-image-wrapper {
    width: 100%;
    height: 500px;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 20, 25, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85);
}

.game-card:hover .game-image {
    transform: scale(1.1);
    filter: brightness(1);
}

/* Overlay gradient */
.game-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.game-card:hover .game-image-wrapper::after {
    opacity: 0.7;
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(66, 153, 225, 0.1);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--glow-blue);
}

.game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    padding: 2.5rem;
    z-index: 2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s ease, font-size 0.4s ease;
    letter-spacing: 1px;
}

.game-card:hover .game-name {
    transform: translateY(-8px);
    font-size: 2.7rem;
}

/* Quick Actions Section */
.quick-actions-section {
    padding: 4rem 0;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem 3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 250px;
}

.action-btn:hover {
    transform: translateY(-3px);
    border-color: var(--glow-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: rgba(66, 153, 225, 0.1);
}

.action-text {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* Matches Section */
.matches-section {
    padding: 4rem 0;
}

.matches-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.match-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.match-card:hover {
    border-color: var(--glow-blue);
}

.match-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-info span {
    color: var(--text-gray);
}

.match-info strong {
    color: var(--text-light);
}

/* Sponsors Section */
.sponsors-section {
    padding: 4rem 0;
}

.sponsors-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-light);
    font-weight: 600;
}

.sponsors-grid {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.sponsors-grid::-webkit-scrollbar {
    height: 8px;
}

.sponsors-grid::-webkit-scrollbar-track {
    background: rgba(15, 20, 25, 0.3);
    border-radius: 4px;
}

.sponsors-grid::-webkit-scrollbar-thumb {
    background: var(--glow-blue);
    border-radius: 4px;
}

.sponsors-grid::-webkit-scrollbar-thumb:hover {
    background: var(--glow-cyan);
}

.sponsor-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    max-width: 180px;
    min-height: 120px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.sponsor-card:hover {
    transform: translateY(-3px);
    border-color: var(--glow-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    display: block;
}

.sponsor-card:hover .sponsor-logo {
    transform: scale(1.05);
    opacity: 0.9;
}

.sponsor-name {
    margin-top: 1rem;
    color: var(--text-light);
    font-weight: bold;
}

/* Footer */
footer {
    background: #0f1419;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    color: var(--text-gray);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--glow-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--glow-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* Page Styles */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: transparent;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--text-light);
    font-weight: 700;
}

.page-content {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    min-height: 200px;
}

.team-card {
    background: rgba(15, 20, 25, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 1;
}

.team-card:hover {
    border-color: var(--glow-blue);
}

.team-logo-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid rgba(99, 179, 237, 0.3);
    background: rgba(15, 20, 25, 0.8);
    position: relative;
    overflow: hidden;
}

.team-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.team-logo-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.2), rgba(66, 153, 225, 0.2));
    color: var(--glow-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.team-card h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
}

.team-game {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
}

/* Player Roster - Triangle Layout */
.team-detail-container {
    position: relative;
    padding: 2rem 0;
}

.team-header {
    text-align: center;
    margin-bottom: 3rem;
}

.team-header-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(99, 179, 237, 0.3);
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

.team-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.coach-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(15, 20, 25, 0.4);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.coach-section h3 {
    color: var(--glow-cyan);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.coach-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(99, 179, 237, 0.3);
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.coach-name {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.coach-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Triangle Player Layout */
.players-triangle-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 4rem;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
    cursor: grab;
}

.players-triangle {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.players-triangle-container:active {
    cursor: grabbing;
}

.players-triangle {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    margin: 0 auto;
}


.player-triangle-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(99, 179, 237, 0.3);
    background: rgba(15, 20, 25, 0.8);
    overflow: hidden;
    transition: all 0.4s ease;
}

.player-triangle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.player-triangle-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 179, 237, 0.2), rgba(66, 153, 225, 0.2));
    color: var(--glow-cyan);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
}

.player-triangle-item.active .player-triangle-image-wrapper {
    border-color: var(--glow-cyan);
    border-width: 4px;
    box-shadow: 0 0 20px rgba(99, 179, 237, 0.5);
}

.player-triangle-item.active .player-triangle-placeholder {
    border-color: var(--glow-cyan);
    box-shadow: 0 0 20px rgba(99, 179, 237, 0.5);
}

.player-triangle-name {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.player-triangle-item.active .player-triangle-name {
    opacity: 1;
}

/* Triangle positions - Dynamic positioning handled by JavaScript */
/* Base styles for all player items */
.player-triangle-item {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-triangle-item.active {
    z-index: 10;
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.player-triangle-item.inactive {
    opacity: 0.6;
    z-index: 1;
}

/* Player Info Section */
.player-info-section {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    min-height: 300px;
    transition: all 0.4s ease;
}

.player-info-content {
    text-align: center;
}

.player-info-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--glow-cyan);
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 0 30px rgba(99, 179, 237, 0.3);
}

.player-info-name {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.player-info-role {
    color: var(--glow-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.player-info-nationality {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.player-info-bio {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.player-info-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: var(--glow-cyan);
    font-size: 1.8rem;
    font-weight: 700;
}

/* Player Navigation Arrows */
.player-navigation-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 100;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(99, 179, 237, 0.2);
    border: 2px solid var(--glow-cyan);
    color: var(--glow-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    pointer-events: all;
}

.nav-arrow:hover {
    background: rgba(99, 179, 237, 0.4);
    box-shadow: 0 0 15px rgba(99, 179, 237, 0.5);
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .players-triangle-container {
        min-height: 500px;
    }
    
    .player-triangle-image {
        width: 80px;
        height: 80px;
    }
    
    .player-triangle-item:nth-child(1) {
        top: 0;
        left: 50%;
    }
    
    .player-triangle-item:nth-child(2) {
        top: 160px;
        left: 20%;
    }
    
    .player-triangle-item:nth-child(3) {
        top: 160px;
        right: 20%;
    }
    
    .player-triangle-item:nth-child(4) {
        bottom: 80px;
        left: 10%;
    }
    
    .player-triangle-item:nth-child(5) {
        bottom: 80px;
        right: 10%;
    }
    
    .player-info-image {
        width: 140px;
        height: 140px;
    }
    
    .player-info-name {
        font-size: 1.5rem;
    }
}

/* Match List */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.match-row {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.match-row:hover {
    border-color: var(--glow-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.match-result {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.match-result.win {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.5);
}

.match-result.loss {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    border: 1px solid rgba(255, 0, 0, 0.5);
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1rem;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--glow-blue);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon h2 {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.coming-soon p {
    font-size: 1.5rem;
    color: var(--text-gray);
}

/* Blog Styles */
.page-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    text-align: center;
    margin-top: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-post-card {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    border-color: var(--glow-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-post-date {
    color: var(--glow-cyan);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-post-title {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-excerpt {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: var(--glow-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-read-more:hover {
    color: var(--glow-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.back-link {
    color: var(--glow-blue);
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--glow-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.blog-post-meta {
    color: var(--text-gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.blog-post-content {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-excerpt {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

/* Game Detail Page */
.game-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.game-detail-image {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
}

.game-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-detail-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.game-detail-section {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}

.game-detail-section h2 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--glow-blue);
    padding-bottom: 0.75rem;
}

.game-detail-section p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.game-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-features-list li {
    color: var(--text-light);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
}

.game-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--glow-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Floating Collaboration Button */
.floating-collab-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(15, 20, 25, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: inherit;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.floating-collab-btn:hover {
    transform: translateY(-3px);
    border-color: var(--glow-blue);
    box-shadow: 0 6px 30px rgba(66, 153, 225, 0.3);
}

.collab-btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.collab-btn-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.collab-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.collab-line1 {
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 400;
}

.collab-line2 {
    color: var(--glow-blue);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .floating-collab-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 0.9rem;
    }
    
    .collab-line1 {
        font-size: 0.7rem;
    }
    
    .collab-line2 {
        font-size: 0.75rem;
    }
    
    .collab-btn-logo {
        width: 28px;
        height: 28px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.btn:hover {
    background: var(--glow-blue);
    border-color: var(--glow-blue);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        justify-content: center;
        gap: 1rem;
    }

    .language-switcher {
        justify-content: center;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .logo-image {
        height: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .matches-grid,
    .sponsors-grid,
    .teams-grid,
    .roster-grid,
    .news-grid,
    .games-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .language-modal-options {
        grid-template-columns: 1fr;
    }

    .language-modal-two-options {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .logo-image {
        height: 35px;
    }

    .language-modal {
        padding: 1.5rem;
    }

    .language-modal h2 {
        font-size: 1.5rem;
    }
}


