/* Tournaments Page Specific Styles */

/* Global Styles */
body {
    background-color: #000;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Updated Tournament Hero Section - Better spacing for floating nav */
.tournament-hero {
    margin: 8px;
    margin-top: 15px;
    position: relative;
    height: auto;
    min-height: 500px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournament-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.tournament-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.tournament-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 3rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    min-height: 500px;
}

.tournament-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

/* Hero Title Color Styles - NEW */
.tournament-hero h1 .hero-white {
    color: white;
}

.tournament-hero h1 .hero-green {
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tablet Responsive (768px and up) */
@media (min-width: 768px) {
    .tournament-hero {
        margin: 10px;
        margin-top: 20px;
        min-height: 550px;
        border-radius: 20px;
    }

    .tournament-hero-content {
        padding: 4rem 2rem;
        max-width: 700px;
        min-height: 550px;
    }

    .tournament-hero h1 {
        font-size: 3rem;
    }

    .tournament-hero-description {
        font-size: 1.1rem;
    }
}

/* Desktop Responsive (1024px and up) */
@media (min-width: 1024px) {
    .tournament-hero {
        margin: 20px;
        margin-top: 15px;
        min-height: 600px;
        border-radius: 24px;
    }

    .tournament-hero-content {
        padding: 5rem 3rem;
        max-width: 800px;
        min-height: 600px;
    }

    .tournament-hero h1 {
        font-size: 4rem;
    }

    .tournament-hero-description {
        font-size: 1.3rem;
    }
}

.tournament-hero-description {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tournament-hero-cta {
    background: #BAF631;
    color: #333;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(186, 246, 49, 0.4);
    align-self: center;
}

.tournament-hero-cta:hover {
    background: #A8E02C;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(186, 246, 49, 0.5);
    text-decoration: none;
    color: #333;
}

/* Description Section - Mobile First - WHITE BACKGROUND */
.description-section {
    margin: 8px;
    margin-top: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.description-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.description-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.description-content h2 .highlight {
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description-content p {
    color: rgba(0, 0, 0, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.description-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-box {
    background: rgba(186, 246, 49, 0.1);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(186, 246, 49, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.stat-box:hover {
    background: rgba(186, 246, 49, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(186, 246, 49, 0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7EC800;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.description-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.experience-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.experience-tab {
    background: rgba(186, 246, 49, 0.1);
    border: 2px solid rgba(186, 246, 49, 0.3);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.experience-tab:hover {
    background: rgba(186, 246, 49, 0.2);
    border-color: rgba(186, 246, 49, 0.5);
    transform: translateY(-2px);
}

.experience-tab.active {
    background: #BAF631;
    border-color: #BAF631;
    color: #333;
    box-shadow: 0 4px 15px rgba(186, 246, 49, 0.3);
}

.experience-gallery {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.experience-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.experience-image.active {
    opacity: 1;
}

.desc-image-main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Nationalities Section */
.nationalities-section {
    margin: 8px;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.nationalities-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Left Side: Packs Content */
.packs-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.packs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.pack-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pack-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(186, 246, 49, 0.3);
}

.pack-thumbnail {
    width: 60px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e8;
}

.pack-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pack-info {
    flex: 1;
    min-width: 0;
}

.pack-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.pack-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.pack-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #BAF631;
    display: block;
}

/* Right Side: International Content */
.international-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nationalities-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.2;
    text-align: center;
}

.big-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #BAF631;
    display: inline;
    margin-right: 0.5rem;
}

.subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: inline;
}

.nationalities-info p {
    font-size: 0.8rem;
    margin: 0.5rem 0 1rem 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    text-align: center;
}

.flags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.flag-item {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: #000000 1px solid;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.flag-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(186, 246, 49, 0.3);
    border-color: #BAF631;
}

.flag-item::after {
    content: attr(data-country);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.flag-item:hover::after {
    opacity: 1;
}

/* Exclusions Box */
.exclusions-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
}

.exclusions-box h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.8rem 0;
    text-align: center;
}

.exclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exclusions-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.exclusions-list i {
    color: #ff6b6b;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* SPONSOR SECTION - NEW */
.sponsor-section {
    margin: 8px;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.sponsor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(186, 246, 49, 0.05) 0%, 
        rgba(186, 246, 49, 0.02) 25%, 
        transparent 50%, 
        rgba(186, 246, 49, 0.02) 75%, 
        rgba(186, 246, 49, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.sponsor-container {
    position: relative;
    z-index: 2;
}

.sponsor-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sponsor-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.sponsor-header h2 .highlight {
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sponsor-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.sponsor-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.sponsor-logo-container {
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.sponsor-logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(186, 246, 49, 0.3);
}

.sponsor-logo {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.sponsor-logo-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    background: linear-gradient(135deg, rgba(186, 246, 49, 0.2) 0%, rgba(168, 224, 44, 0.2) 100%);
}

.sponsor-info {
    color: white;
}

.sponsor-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sponsor-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sponsor-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sponsor-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sponsor-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.sponsor-feature i {
    color: #BAF631;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sponsor-feature span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

/* System Section - Mobile First */
.system-section {
    margin: 8px;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.system-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.system-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.system-icon {
    width: 40px;
    height: 40px;
    background: #BAF631;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.system-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.system-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.system-features li:last-child {
    border-bottom: none;
}

.system-features i {
    color: #BAF631;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.dj-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
}

.dj-image {
    height: 180px;
    background: #e8e8e8;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}

/* Next Tournaments Section - Mobile First */
.next-tournaments-section {
    margin: 8px;
    margin-top: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-radius: 18px;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.next-tournaments-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.next-tournaments-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(0, 0, 0);
    margin-bottom: 0.8rem;
}

.next-tournaments-header p {
    color: rgba(0, 0, 0, 0.9);
    font-size: 0.95rem;
}

.next-tournaments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.next-tournament-card {
    background: rgb(0, 0, 0);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.next-tournament-card:hover {
    transform: translateY(-3px);
    background: rgb(68, 68, 68);
}

.next-tournament-image {
    height: 280px;
    background: #e8e8e8;
    position: relative;
    background-size: cover;
    background-position: center 80%;
}

.tournament-date-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: #BAF631;
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
}

.next-tournament-content {
    padding: 1.5rem;
}

.next-tournament-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.next-tournament-details {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.next-tournament-cta {
    background: transparent;
    color: rgb(255, 255, 255);
    border: 2px solid white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.next-tournament-cta:hover {
    background: white;
    color: #000000;
    text-decoration: none;
}

/* Past Editions Section - Mobile First */
.past-editions-section {
    margin: 8px;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
}

.past-editions-header {
    text-align: center;
    margin-bottom: 2rem;
}

.past-editions-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.past-editions-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.past-editions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.past-edition-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.past-edition-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.past-edition-thumbnail {
    height: 150px;
    background: #e8e8e8;
    position: relative;
    background-size: cover;
    background-position: center;
}

.past-edition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.past-edition-card:hover .past-edition-overlay {
    opacity: 1;
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.past-edition-card:hover .gallery-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.no-gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

.past-edition-content {
    padding: 1.2rem;
}

.past-edition-date {
    color: #BAF631;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.past-edition-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.past-edition-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
}

.edition-status {
    margin-top: 0.8rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.gallery-available {
    background: rgba(186, 246, 49, 0.2);
    color: #BAF631;
    border: 1px solid rgba(186, 246, 49, 0.3);
}

.status-badge.no-gallery {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.past-editions-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.past-editions-empty h4 {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

/* Padel Levels Section - NEW */
.levels-section {
    margin: 8px;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.levels-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.levels-image-container {
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.levels-image-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(186, 246, 49, 0.3);
}

.levels-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.levels-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.levels-content h2 .highlight {
    background: linear-gradient(135deg, #BAF631 0%, #A8E02C 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.levels-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced FAQ Section - Mobile First - 2 COLUMNS */
.faq-section {
    margin: 8px;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 1.5rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.faq-question:hover {
    color: #BAF631;
}

.faq-question .toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.faq-item.active .faq-question .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 0 1.5rem 1.2rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    font-size: 0.85rem;
}

/* Custom Modal Styles */
.pack-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pack-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.pack-modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

.pack-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pack-modal-header h3 {
    color: white;
    margin: 0;
    font-weight: 700;
}

.pack-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pack-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.pack-modal-body {
    padding: 1.5rem;
}

.pack-modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.pack-modal-image {
    position: relative;
}

.pack-modal-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.pack-modal-price {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #BAF631;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.pack-modal-details {
    color: white;
}

.pack-modal-details p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pack-modal-details h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pack-modal-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pack-modal-details li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pack-select-btn {
    background: #BAF631;
    color: #333;
    font-weight: 600;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.pack-select-btn:hover {
    background: #A8E02C;
    transform: translateY(-2px);
}

/* Registration Modal Styles */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.registration-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.registration-modal-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.registration-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.registration-modal-header h3 {
    color: white;
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.registration-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.registration-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.registration-modal-body {
    padding: 1.5rem;
}

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.form-input,
.form-select,
.form-textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #BAF631;
    box-shadow: 0 0 0 2px rgba(186, 246, 49, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: #333;
    color: white;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.helper-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-top: 0.2rem;
    line-height: 1.3;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #BAF631;
    color: #333;
}

.btn-primary:hover {
    background: #A8E02C;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(186, 246, 49, 0.4);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Form Validation Styles */
.form-input:invalid,
.form-select:invalid {
    border-color: #ff6b6b;
}

.form-input:valid,
.form-select:valid {
    border-color: #51cf66;
}

/* Loading State */
.form-loading .btn-primary {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-loading .btn-primary::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-message.success {
    background: rgba(81, 207, 102, 0.2);
    color: #51cf66;
    border: 1px solid rgba(81, 207, 102, 0.3);
}

.form-message.error {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Tablet Responsive (768px and up) */
@media (min-width: 768px) {
    .description-section,
    .nationalities-section,
    .sponsor-section,
    .levels-section,
    .system-section .system-card,
    .next-tournaments-section,
    .past-editions-section,
    .faq-section {
        margin: 10px;
        margin-top: 2rem;
        padding: 3rem 2rem;
        border-radius: 20px;
    }

    .description-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .description-content h2 {
        font-size: 2.5rem;
    }

    .description-images {
        gap: 1.2rem;
    }

    .experience-gallery {
        height: 300px;
    }

    .experience-tab {
        font-size: 0.9rem;
        padding: 1rem 0.8rem;
    }

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

    .nationalities-section {
        padding: 2rem;
    }

    .nationalities-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .packs-content h2 {
        font-size: 2rem;
        text-align: left;
    }

    .packs-grid {
        gap: 1.2rem;
    }

    .pack-card {
        padding: 1.2rem;
    }

    .pack-thumbnail {
        width: 70px;
        height: 70px;
    }

    .pack-title {
        font-size: 1.1rem;
    }

    .pack-description {
        font-size: 0.85rem;
    }

    .nationalities-info h2 {
        font-size: 1.5rem;
        text-align: left;
    }

    .nationalities-info p {
        text-align: left;
    }

    .flags-container {
        justify-content: flex-start;
    }

    .flag-item {
        width: 50px;
        height: 50px;
    }

    /* Sponsor Section - Tablet */
    .sponsor-content {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 3rem;
    }

    .sponsor-logo-container {
        min-height: 350px;
    }

    .sponsor-logo {
        min-height: 350px;
    }

    /* Levels Section - Tablet */
    .levels-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .levels-image-container {
        order: 1;
    }

    .levels-content {
        order: 2;
    }

    .system-section {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .next-tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

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

    /* FAQ Two-column layout for tablet+ */
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .pack-modal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .registration-modal {
        padding: 20px;
    }

    .form-actions {
        flex-direction: row;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1;
    }
}

/* Desktop Responsive (1024px and up) */
@media (min-width: 1024px) {
    .description-section,
    .nationalities-section,
    .sponsor-section,
    .levels-section,
    .system-section .system-card,
    .next-tournaments-section,
    .past-editions-section,
    .faq-section {
        margin: 20px;
        margin-top: 3rem;
        padding: 4rem 3rem;
        border-radius: 24px;
    }

    .description-content h2 {
        font-size: 2.8rem;
    }

    .experience-gallery {
        height: 400px;
    }

    .experience-tab {
        font-size: 1rem;
        padding: 0.8rem 0.5rem;
    }

    .description-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .nationalities-section {
        padding: 2.5rem 3rem;
    }

    .nationalities-info h2 {
        font-size: 1.6rem;
    }

    .big-number {
        font-size: 2.2rem;
    }

    .flag-item {
        width: 55px;
        height: 55px;
    }

    .exclusions-box {
        padding: 1.5rem;
    }

    /* Sponsor Section - Desktop */
    .sponsor-header h2 {
        font-size: 2.5rem;
    }

    .sponsor-content {
        grid-template-columns: 1fr 1.5fr;
        gap: 4rem;
    }

    .sponsor-logo-container {
        min-height: 400px;
    }

    .sponsor-logo {
        min-height: 400px;
    }

    .sponsor-name {
        font-size: 2rem;
    }

    .sponsor-description {
        font-size: 1rem;
    }

    /* Levels Section - Desktop */
    .levels-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }

    .levels-content h2 {
        font-size: 2.5rem;
    }

    .levels-description {
        font-size: 1rem;
    }

    .past-editions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .next-tournaments-header h2,
    .past-editions-header h2,
    .faq-header h2 {
        font-size: 3rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .past-editions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile specific adjustments for compact nationalities */
@media (max-width: 768px) {
    .nationalities-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .packs-content h2 {
        text-align: center;
    }

    .nationalities-info h2 {
        text-align: center;
    }

    .nationalities-info p {
        text-align: center;
    }

    .flags-container {
        justify-content: center;
    }

    .flag-item {
        width: 45px;
        height: 45px;
    }

    /* Sponsor Section - Mobile */
    .sponsor-content {
        grid-template-columns: 1fr;
    }

    .sponsor-logo-container {
        min-height: 180px;
    }

    .sponsor-features {
        gap: 0.6rem;
    }

    /* Levels Section - Mobile */
    .levels-container {
        grid-template-columns: 1fr;
    }

    .levels-image-container {
        min-height: 200px;
    }

    .registration-modal {
        padding: 10px;
    }
    
    .registration-modal-content {
        max-height: 95vh;
    }
    
    .registration-modal-header,
    .registration-modal-body {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        flex: none;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .tournament-hero,
    .description-section,
    .nationalities-section,
    .sponsor-section,
    .levels-section,
    .system-section,
    .next-tournaments-section,
    .past-editions-section,
    .faq-section {
        margin: 0;
        padding: 1rem;
        background: white !important;
        color: black !important;
        border-radius: 0;
        page-break-inside: avoid;
    }
}