:root {
    --primary-dark: #070e1b;
    --accent-red: #E63946;
    --accent-red-glow: rgba(230, 57, 70, 0.4);
    --accent-blue: #00b4d8;
    --accent-blue-glow: rgba(0, 180, 216, 0.3);
    --accent-green: #2a9d8f;
    --accent-green-glow: rgba(42, 157, 143, 0.35);
    --gold: #ffb703;
    --gold-glow: rgba(255, 183, 3, 0.35);
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    --text-light: #e2e8f0;
    
    /* Glassmorphism settings */
    --glass-bg: rgba(13, 27, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    /* Fonts */
    --font-display: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

html {
    background-color: var(--primary-dark);
}

body {
    background: transparent;
    color: var(--text-light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background overlay using generated bg_geom.png */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg_geom.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* --- Hero Section --- */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.img-titre {
    max-width: 100%;
    width: 680px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.img-titre:hover {
    transform: scale(1.02);
}

.date-badge {
    display: inline-block;
    background: rgba(13, 27, 42, 0.8);
    color: var(--text-primary);
    padding: 12px 45px;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 180, 216, 0.2);
    margin-top: -5px;
    text-transform: uppercase;
}

/* --- Main Layout --- */
.main-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}

.judoka-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.img-judoka {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

.right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Alert Section (CTA) --- */
.alert-section {
    position: relative;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(13, 27, 42, 0.85) 100%);
    border: 1px solid rgba(230, 57, 70, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(230, 57, 70, 0.1);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.alert-section:hover {
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(230, 57, 70, 0.18);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    color: #ff4d6d;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #ff4d6d;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4d6d;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 4px #ff4d6d;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
        box-shadow: 0 0 12px #ff4d6d;
    }
}

.alert-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.alert-icon {
    background: rgba(230, 57, 70, 0.2);
    color: #ff4d6d;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.alert-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.alert-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.btn-social {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-fb {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15) 0%, rgba(24, 119, 242, 0.05) 100%);
    border-color: rgba(24, 119, 242, 0.3);
    color: #4c94ff;
}

.btn-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4), 0 0 15px rgba(24, 119, 242, 0.2);
    transform: translateY(-2px);
}

.btn-ig {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.15) 0%, rgba(225, 48, 108, 0.05) 100%);
    border-color: rgba(225, 48, 108, 0.3);
    color: #ff5c8a;
}

.btn-ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4), 0 0 15px rgba(220, 39, 67, 0.2);
    transform: translateY(-2px);
}

/* --- Venue Info Card --- */
.card-header {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.card-header i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px var(--accent-blue-glow));
}

.venue-name {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

hr {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 25px 0;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.big-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-blue);
    line-height: 1;
    text-shadow: 0 0 15px var(--accent-blue-glow);
}

.feature-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.warning-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
}

.warning-text i {
    margin-top: 3px;
}

/* --- Info Grid & Schedules --- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-grid .full-width {
    grid-column: 1 / -1;
}

.schedule-card .card-header i {
    color: var(--gold);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.sub-header {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.schedule-row:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.category {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cat-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.cat-years {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.times {
    text-align: right;
    font-size: 1.05rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.times div strong {
    color: var(--accent-blue);
    font-weight: 700;
}

/* --- Pricing Section --- */
.pricing-card .card-header i {
    color: var(--accent-green);
    filter: drop-shadow(0 0 8px var(--accent-green-glow));
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.price-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 25px 15px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.price-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.3;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
}

.price-value small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-top: 4px;
}

.price-item.free-tier {
    border-color: rgba(42, 157, 143, 0.2);
    background: linear-gradient(180deg, rgba(42, 157, 143, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.price-item.free-tier:hover {
    border-color: rgba(42, 157, 143, 0.4);
    background: linear-gradient(180deg, rgba(42, 157, 143, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 15px 30px rgba(42, 157, 143, 0.15);
}

.price-item.free-tier .price-value {
    color: #48cae4;
    text-shadow: 0 0 15px rgba(72, 202, 228, 0.3);
}

.price-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Footer & Urgent Alert --- */
.footer-alert {
    text-align: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(13, 27, 42, 0.85) 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-top: 4px solid var(--accent-red);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 30px;
}

.footer-alert h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff4d6d;
    letter-spacing: 1px;
}

.footer-alert p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.footer-alert p strong {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.web-link {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.web-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--accent-blue);
}

.web-link:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 180, 216, 0.6);
}

.web-link:hover::after {
    width: 100%;
}

/* --- Global Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .judoka-container {
        min-height: auto;
        order: -1;
    }
    
    .img-judoka {
        max-width: 380px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
        gap: 35px;
    }
    
    .img-titre {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .date-badge {
        font-size: 1.3rem;
        padding: 10px 35px;
        letter-spacing: 2px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alert-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-social {
        width: 100%;
    }
    
    .web-link {
        font-size: 2rem;
    }
    
    .footer-alert h3 {
        font-size: 1.4rem;
    }
    
    .footer-alert p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .times {
        text-align: center;
    }
}
