/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 420px;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    z-index: 1001;
    top: 100%;
    left: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-header {
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 2px solid #e5e7eb;
}

.dropdown-header h3 {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.filter-dropdown {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-dropdown:hover {
    border-color: #3b82f6;
}

.dropdown-section {
    padding: 1rem;
}

.dropdown-section h4 {
    color: #1e40af;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-content a {
    color: #1e40af !important;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 4px;
}

.dropdown-content a:hover {
    background-color: #f0f7ff;
    color: #1e3a8a !important;
    transform: translateX(4px);
}

.dropdown-content a i {
    width: 20px;
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
}

.dropdown-content a div {
    flex: 1;
}

.dropdown-content a span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-content a small {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 2px;
    font-weight: 400;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 0.5rem 1rem;
}

.dropdown-actions {
    padding: 1rem;
    background: #f8fafc;
    border-top: 2px solid #e5e7eb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.clear-filters {
    background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
    border: 2px solid #ef4444 !important;
    color: #dc2626 !important;
    font-weight: 600 !important;
}

.clear-filters:hover {
    background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
    color: #b91c1c !important;
    transform: translateX(4px) !important;
}

.dropdown-all {
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe) !important;
    border: 2px solid #3b82f6 !important;
    font-weight: 600 !important;
}

.dropdown-all:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
    transform: translateX(4px) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: #dbeafe;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #dbeafe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #dbeafe;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #f59e0b;
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e40af;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e40af;
}

/* Characters Section */
.characters-section {
    background: white;
}

.search-bar {
    position: relative;
    max-width: 400px;
    margin: 0 auto 3rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #3b82f6;
}

.search-bar i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.character-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.character-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.character-rank {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid white;
}

.stats-preview {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.stat-mini {
    background: #f8fafc;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    text-align: center;
}

.stat-mini .label {
    color: #6b7280;
    font-size: 0.7rem;
}

.stat-mini .value {
    color: #1e40af;
    font-weight: 600;
}

.character-name {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.character-position {
    text-align: center;
    color: #f59e0b;
    font-weight: 500;
    margin-bottom: 1rem;
}

.character-description {
    color: #6b7280;
    text-align: center;
    font-size: 0.9rem;
}

/* Episodes Section */
.episodes-section {
    background: #f8fafc;
}

.season-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.season-tab-btn {
    padding: 1rem 2rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.season-tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.season-tab-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.season-content {
    display: none;
}

.season-content.active {
    display: block;
}

.season-subtitle {
    color: #1e40af;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.season-description {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.episode-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-3px);
}

.episode-card.upcoming {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px dashed #94a3b8;
    opacity: 0.8;
}

.episode-card.upcoming:hover {
    transform: translateY(-1px);
}

.episode-card.upcoming .episode-thumbnail {
    opacity: 0.6;
    background: linear-gradient(135deg, #64748b, #94a3b8);
}

.episode-card.upcoming .episode-info h3 {
    color: #64748b;
}

.episode-card.upcoming .episode-meta {
    color: #94a3b8;
}

.episode-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.episode-content {
    padding: 1.5rem;
}

.episode-number {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.episode-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.episode-description {
    color: #6b7280;
    font-size: 0.9rem;
}

/* U20 Arc Section */
.u20arc-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.u20arc-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23cbd5e1" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
}

.arc-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.arc-description h3 {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.arc-description p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.1rem;
}

.arc-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 15px;
    border: 1px solid #93c5fd;
}

.stat-item .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
}

.stat-item .label {
    display: block;
    font-size: 0.9rem;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.u20-tabs {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f1f5f9;
    color: #1e40af;
}

.tab-content {
    display: none;
    position: relative;
    z-index: 1;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.u20-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.u20-player-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.u20-player-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
}

.u20-player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.u20-player-card.blue-lock {
    border-top: 4px solid #3b82f6;
}

.u20-player-card.u20-japan {
    border-top: 4px solid #dc2626;
}

.u20-player-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.u20-player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

.u20-player-info h4 {
    color: #1e40af;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.u20-player-info .position {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.u20-player-info .jersey {
    color: #6b7280;
    font-size: 0.8rem;
}

.u20-player-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.u20-stat {
    background: #f8fafc;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid #3b82f6;
}

.u20-stat .value {
    display: block;
    font-weight: 700;
    color: #1e40af;
    font-size: 1.1rem;
}

.u20-stat .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
}

.performance-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.performance-badge.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.performance-badge.good {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.performance-badge.average {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.performance-badge.poor {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.loan-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
    border: 1px solid #a78bfa;
}

.loan-info {
    color: #7c3aed;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Rankings */
.ranking-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #6b7280;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-color: #3b82f6;
}

.filter-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #1e40af;
}

.rankings-list {
    display: grid;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ranking-item:hover {
    transform: translateX(5px);
}

.ranking-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.ranking-number.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ranking-number.silver {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.ranking-number.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.ranking-number.regular {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.ranking-info {
    flex: 1;
}

.ranking-info h4 {
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.ranking-info .team {
    color: #6b7280;
    font-size: 0.9rem;
}

.ranking-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

/* Match Details */
.match-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.team {
    text-align: center;
}

.team h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blue-lock-team h4 {
    color: #3b82f6;
}

.u20-team h4 {
    color: #dc2626;
}

.formation {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #374151;
}

.vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.match-result {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    background: #fffbeb;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid #fed7aa;
}

.vs-text {
    font-size: 2rem;
    font-weight: 700;
    color: #6b7280;
}

.winner {
    font-size: 0.9rem;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid #a7f3d0;
}

.final-score {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 0;
}

.blue-lock-team .final-score {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.u20-team .final-score {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.match-timeline {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.timeline-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-left: 4px solid #e5e7eb;
    margin-bottom: 1rem;
    border-radius: 0 10px 10px 0;
    background: #f8fafc;
}

.timeline-event.goal {
    border-color: #10b981;
    background: #ecfdf5;
}

.timeline-event.substitution {
    border-color: #f59e0b;
    background: #fffbeb;
}

.timeline-event.card {
    border-color: #ef4444;
    background: #fef2f2;
}

.event-time {
    font-weight: 700;
    color: #1e40af;
    min-width: 40px;
}

.event-description {
    flex: 1;
    color: #374151;
}

.event-player {
    font-weight: 600;
    color: #1e40af;
}

/* Teams Section */
.teams-section {
    background: white;
}

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

.team-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    opacity: 0.9;
}

/* About Section */
.about-section {
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: #4b5563;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #6b7280;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #dbeafe;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    color: #dbeafe;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-stats .stat {
    text-align: center;
}

.footer-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
}

.footer-stats .label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: #dbeafe;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '▶';
    font-size: 0.6rem;
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: white;
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.social-links a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-links a span {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.footer-bottom-content p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.disclaimer {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.go-to-top:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        width: 95%;
        max-width: none;
        max-height: 95vh;
    }
    
    .dropdown-content {
        min-width: 280px;
        max-width: 320px;
        left: -50px;
    }
    
    .dropdown-section {
        padding: 0.75rem;
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
}

.close:hover {
    color: #1e40af;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design for Dropdown Filters */
@media (max-width: 768px) {
    .dropdown-content {
        min-width: 300px;
        max-width: 350px;
        left: -50px;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .dropdown-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .dropdown-content {
        min-width: 280px;
        left: -80px;
    }
    
    .dropdown-header {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .dropdown-section {
        padding: 0.75rem;
    }
    
    .dropdown-actions {
        padding: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .social-links {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }
    
    .social-links a span {
        display: none;
    }
    
    .social-links a {
        justify-content: center;
        padding: 0.5rem;
    }
    
    .go-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .arc-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .u20-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }
    
    .u20-players-grid {
        grid-template-columns: 1fr;
    }
    
    .match-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ranking-filters {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .characters-grid,
    .episodes-grid,
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 4rem 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
} 