/**
 * Landing v3 — divider-clubs band (aligned with divider-v2)
 * Used by resources/views/landing/v3/components/divider-clubs.blade.php
 */

.divider-section-clubs {
    position: relative;
    z-index: 1;
}

.divider-section-clubs .dc-neon-top,
.divider-section-clubs .dc-neon-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 3;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(132, 204, 22, 0.4) 20%,
        rgba(196, 229, 56, 0.7) 50%,
        rgba(132, 204, 22, 0.4) 80%,
        transparent 100%
    );
    box-shadow: 0 0 8px rgba(196, 229, 56, 0.5), 0 0 20px rgba(132, 204, 22, 0.2);
}

.divider-section-clubs .dc-neon-top {
    top: 0;
}

.divider-section-clubs .dc-neon-bottom {
    bottom: 0;
}

.divider-section-clubs .dc-court-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 35px, #2a2e35 35px, #2a2e35 37px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, #2a2e35 35px, #2a2e35 37px);
    pointer-events: none;
}

.divider-section-clubs .dc-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.divider-section-clubs .dc-glow-1 {
    width: 350px;
    height: 350px;
    top: -120px;
    left: 15%;
    background: rgba(132, 204, 22, 0.08);
}

.divider-section-clubs .dc-glow-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: 10%;
    background: rgba(132, 204, 22, 0.06);
}

.divider-section-clubs .dc-glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.divider-section-clubs .dc-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.42) 0%,
        rgba(255, 255, 255, 0.1) 35%,
        rgba(132, 204, 22, 0.35) 70%,
        rgba(255, 255, 255, 0.08) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.divider-section-clubs .dc-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 45%;
    border-radius: 1.25rem 1.25rem 60% 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.divider-section-clubs .dc-glass > .dc-row {
    position: relative;
    z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .divider-section-clubs .dc-glass {
        background: rgba(15, 23, 42, 0.9);
    }
}

.divider-section-clubs .dc-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    min-height: 6rem;
}

@media (min-width: 768px) {
    .divider-section-clubs .dc-row {
        min-height: 7rem;
    }
}

@media (min-width: 1024px) {
    .divider-section-clubs .dc-row {
        justify-content: space-between;
        gap: 2rem;
    }
}

.divider-section-clubs .dc-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 0;
}

.divider-section-clubs .dc-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(251, 191, 36, 0.15);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.35);
    flex-shrink: 0;
}

.divider-section-clubs .dc-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    border: 1px solid rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

.divider-section-clubs .dc-hero-title {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.9;
    color: #c4e538;
    font-size: 2.25rem;
}

.divider-section-clubs .dc-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.35rem;
}

.divider-section-clubs .dc-caption {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.2rem;
}

@media (min-width: 640px) {
    .divider-section-clubs .dc-hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .divider-section-clubs .dc-hero-title {
        font-size: 3.25rem;
    }
}

.divider-section-clubs .dc-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .divider-section-clubs .dc-right {
        width: auto;
        min-width: 400px;
        max-width: 440px;
        align-items: stretch;
    }
}

.divider-section-clubs .dc-club-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    padding: 1.1rem 1.35rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.divider-section-clubs .dc-club-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.divider-section-clubs .dc-club-card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-section-clubs .dc-club-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2e05 0%, #2a2e35 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #b7d84b;
    font-size: 1.5rem;
}

.divider-section-clubs .dc-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider-section-clubs .dc-club-info {
    min-width: 0;
    flex: 1;
}

.divider-section-clubs .dc-club-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    line-height: 1.2;
}

.divider-section-clubs .dc-club-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0.35rem;
    line-height: 1.2;
}

.divider-section-clubs .dc-club-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.2rem;
}

.divider-section-clubs .dc-club-empty-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.15rem;
}

.divider-section-clubs .dc-club-stats {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.divider-section-clubs .dc-club-stat {
    flex: 1;
    text-align: center;
    padding: 0.35rem 0.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.divider-section-clubs .dc-club-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #b7d84b;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.divider-section-clubs .dc-club-stat-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.divider-section-clubs [data-animate='fade-up'] {
    opacity: 0;
    transform: translateY(16px);
    animation: dc-fade-up-in 0.5s ease-out forwards;
}

.divider-section-clubs [data-animate='scale-in'] {
    opacity: 0;
    transform: scale(0.95);
    animation: dc-scale-in 0.4s ease-out forwards;
}

.divider-section-clubs [data-delay='100'] {
    animation-delay: 0.05s;
}

@keyframes dc-fade-up-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dc-scale-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tablet / mobile — centered header, inset glass, symmetric club stats */
@media (max-width: 1023px) {
    .divider-section-clubs .dc-glass {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        padding: 1.35rem 1rem 1.25rem;
    }

    .divider-section-clubs .dc-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        min-height: 0;
    }

    .divider-section-clubs .dc-left {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.75rem;
        text-align: center;
    }

    .divider-section-clubs .divider-clubs-pill {
        order: -1;
        align-self: center;
    }

    .divider-section-clubs .dc-title-copy {
        max-width: 100%;
        width: 100%;
    }

    .divider-section-clubs .dc-hero-title {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        line-height: 0.9;
    }

    .divider-section-clubs .dc-right {
        width: 100%;
        max-width: none;
    }

    .divider-section-clubs .dc-club-card {
        width: 100%;
    }

    .divider-section-clubs .dc-club-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
        width: 100%;
    }

    .divider-section-clubs .dc-club-stat {
        min-width: 0;
        padding: 0.55rem 0.3rem;
    }

    .divider-section-clubs .dc-club-stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
        word-break: break-word;
    }
}

@media (min-width: 1024px) {
    .divider-section-clubs .dc-left {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .divider-section-clubs .divider-clubs-pill {
        order: 0;
    }
}

@media (max-width: 768px) {
    .divider-section-clubs .dc-glass {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .divider-section-clubs .dc-club-logo {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .divider-section-clubs .dc-club-stat-value {
        font-size: 1.1rem;
    }
}
