/**
 * V-League Page Styles
 * Additional styles for page content
 */

/* Hero Sections */
.vl-hero-section,
.vl-page-hero {
    position: relative;
}

/* Adjust hero padding when ticker is present - DISABLED since ticker/header are no longer fixed */
/* body.has-ticker .vl-hero-section {
    padding-top: 165px !important;
}

body.has-ticker section[style*="padding: 180px"] {
    padding-top: 245px !important;
}

@media (max-width: 768px) {
    body.has-ticker .vl-hero-section {
        padding-top: 155px !important;
    }
    
    body.has-ticker section[style*="padding: 180px"] {
        padding-top: 235px !important;
    }
} */

.vl-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="40" fill="none" stroke="%2300FF87" stroke-width="0.5" opacity="0.1"/></svg>') center center no-repeat;
    background-size: 800px;
    animation: heroRotate 60s linear infinite;
    pointer-events: none;
}

@keyframes heroRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   HOME PAGE SECTION LAYOUTS
   ======================================== */

/* Hero Section */
.vl-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Prevent glow overflow */
    background: #0A0A0A;
}

.vl-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.vl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.vl-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.05;
}

.vl-hero-glow-left,
.vl-hero-glow-right {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.vl-hero-glow-left {
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    background: #00FF87;
}

.vl-hero-glow-right {
    right: -200px;
    bottom: -100px;
    background: #00D472;
}

.vl-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.vl-hero-pretitle {
    color: #00FF87;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 1rem;
    margin-bottom: 20px;
}

.vl-hero-title {
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 20px;
}

.vl-hero-tagline {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #00FF87;
    margin-bottom: 30px;
}

.vl-hero-description {
    color: FFFFFF;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.vl-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.vl-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.vl-hero-scroll-text {
    color: #B0B0B0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.vl-hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, #00FF87, transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 60px;
    }

    50% {
        opacity: 1;
        height: 80px;
    }
}

/* About Section */
.vl-about-section {
    padding: 120px 5%;
    background: #0A0A0A;
}

.vl-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.vl-about-pretitle {
    color: #00FF87;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.vl-about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.vl-about-text {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.vl-about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00FF87;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.vl-about-link:hover {
    gap: 15px;
}

/* Stats Container */
.vl-stats-container {
    background: linear-gradient(135deg, #1A1A1A, #0A0A0A);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid #2D2D2D;
}

.vl-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vl-stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 255, 135, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 135, 0.1);
}

.vl-stat-value {
    font-size: 3.5rem;
    font-family: 'Oswald', sans-serif;
    color: #00FF87;
    line-height: 1;
    margin-bottom: 10px;
}

.vl-stat-label {
    color: #B0B0B0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

/* Video Section */
.vl-video-section {
    position: relative;
    background: #0A0A0A;
}

.vl-video-trigger {
    position: relative;
    width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.vl-video-thumbnail {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    object-fit: cover;
    display: block;
}

.vl-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.vl-video-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
}

.vl-video-pretitle {
    color: #00FF87;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 1rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.vl-video-title {
    font-size: clamp(2rem, 6vw, 5rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 40px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.vl-play-button {
    width: 100px;
    height: 100px;
    background: #00FF87;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vl-play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 60px rgba(0, 255, 135, 0.5);
}

/* Video Lightbox */
.vl-video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vl-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.vl-lightbox-close:hover {
    background: #00FF87;
    border-color: #00FF87;
    color: #0A0A0A;
}

.vl-lightbox-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Schedule Section */
.vl-schedule-section {
    padding: 100px 5%;
    background: #0A0A0A;
}

.vl-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.vl-section-pretitle {
    color: #00FF87;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.vl-section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
}

.vl-schedule-container {
    max-width: 1000px;
    margin: 0 auto;
}

.vl-schedule-cta {
    text-align: center;
    margin-top: 40px;
}

.vl-section-cta {
    text-align: center;
    margin-top: 40px;
}


/* Stats Section */
.vl-stats-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
}

.vl-stats-leaders-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.vl-leader-card {
    background: #1A1A1A;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #2D2D2D;
}

.vl-leader-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #00FF87;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Sponsors Section */
.vl-sponsors-section {
    padding: 100px 5%;
    background: #0A0A0A;
}

.vl-sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* News Section */
.vl-news-section {
    padding: 100px 5%;
    background: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
}

.vl-news-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* CTA Section */
.vl-cta-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vl-cta-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.1) 0%, transparent 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vl-cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.vl-cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.vl-cta-description {
    color: #B0B0B0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.vl-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 968px) {
    .vl-about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .vl-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .vl-stats-grid {
        grid-template-columns: 1fr;
    }

    .vl-hero-buttons,
    .vl-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}



/* Button Styles */
.vl-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #00FF87, #00D472);
    color: #0A0A0A !important;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.vl-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 135, 0.3);
    background: linear-gradient(135deg, #00D472, #00FF87);
}

.vl-button-outline {
    display: inline-block;
    padding: 18px 50px;
    border: 2px solid #00FF87;
    color: #00FF87 !important;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.vl-button-outline:hover {
    background: rgba(0, 255, 135, 0.1);
    transform: translateY(-3px);
}

/* Card Hover Effects */
.vl-sponsors-section a:hover {
    opacity: 1 !important;
    filter: grayscale(0) !important;
    transform: scale(1.05);
}

/* Sponsor Card Styles */
section a[style*="background: #1A1A1A"]:hover {
    border-color: #00FF87 !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 135, 0.15);
}

/* Form Styles */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #00FF87 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.15);
}

/* Stat Leader List Styles */
.vl-stat-leader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #2D2D2D;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.vl-stat-leader:last-child {
    border-bottom: none;
}

.vl-stat-leader .rank {
    width: 30px;
    font-family: 'Oswald', sans-serif;
    color: #00FF87;
    font-weight: 600;
    margin-right: 15px;
    /* Added breathing room */
}

.vl-stat-leader .player-info {
    flex: 1;
    min-width: 150px;
    /* Ensure space for longer names */
    padding-right: 10px;
}

.vl-stat-leader .player-name {
    color: #FFFFFF;
    font-weight: 500;
    white-space: normal !important;
    /* Force wrap */
    word-wrap: break-word;
}

.vl-stat-leader .team-name {
    color: #B0B0B0;
    font-size: 0.85rem;
}

.vl-stat-leader .stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #00FF87;
    font-weight: 600;
    margin-left: auto;
    /* Push to right */
}

/* Schedule Item Styles */
.vl-schedule-item {
    background: #1A1A1A;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    border: 1px solid #2D2D2D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

.vl-schedule-item:hover {
    border-color: #00FF87;
    transform: translateX(5px);
}

.vl-schedule-item .date-time {
    text-align: center;
    min-width: 100px;
}

.vl-schedule-item .date {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #00FF87;
}

.vl-schedule-item .time {
    color: #B0B0B0;
    font-size: 0.9rem;
}

.vl-schedule-item .teams {
    flex: 1;
    text-align: center;
}

.vl-schedule-item .vs {
    color: #B0B0B0;
    margin: 0 15px;
}

.vl-schedule-item .venue {
    color: #B0B0B0;
    font-size: 0.9rem;
    min-width: 150px;
    text-align: right;
}

/* Standings Table Styles */
.vl-standings-table {
    width: 100%;
    border-collapse: collapse;
}

.vl-standings-table th {
    background: #2D2D2D;
    padding: 15px 12px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    color: #B0B0B0;
}

.vl-standings-table td {
    padding: 18px 12px;
    border-bottom: 1px solid #2D2D2D;
}

.vl-standings-table tr:hover td {
    background: rgba(0, 255, 135, 0.05);
}

.vl-standings-table .rank {
    font-family: 'Oswald', sans-serif;
    color: #00FF87;
    font-weight: 600;
    width: 50px;
}

.vl-standings-table .team-name {
    font-weight: 600;
    color: #FFFFFF;
}

.vl-standings-table .record {
    font-family: 'Oswald', sans-serif;
    color: #00FF87;
}

/* News Grid */
.vl-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vl-news-card {
    background: #1A1A1A;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #2D2D2D;
    transition: all 0.3s ease;
}

/* Resize play button on mobile */
@media (max-width: 480px) {
    .vl-news-card .vl-news-video-placeholder svg {
        width: 40px !important;
        height: 40px !important;
    }
}

.vl-news-card:hover {
    border-color: #00FF87;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.vl-news-card .thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background: #2D2D2D;
}

.vl-news-card .thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.vl-news-card .content {
    padding: 25px;
}

.vl-news-card h3 {
    font-family: 'Oswald', sans-serif;
    color: #FFFFFF;
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vl-schedule-item {
        flex-direction: column;
        text-align: center;
    }

    .vl-schedule-item .venue {
        text-align: center;
    }

    section[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    section[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: column;
    }
}

/* Animation for page elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vl-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal effect */
.vl-scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.vl-scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Play button animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.vl-play-button:hover {
    animation: pulse 1s ease infinite;
}

/* Glowing text effect */
.vl-glow {
    text-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

/* Gradient text */
.vl-gradient-text {
    background: linear-gradient(135deg, #00FF87, #00D472);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Override Grid Styling for Mobile Responsiveness to FIX OVERFLOW */
body .vl-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

body .vl-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (max-width: 480px) {

    body .vl-news-grid,
    body .vl-archive-grid {
        grid-template-columns: 1fr;
    }
}