/* Homepage Specific Styles */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a0505 0%, #0a0a0a 50%, #050a0f 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(204, 0, 0, 0.15) 0%, transparent 70%);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(204, 0, 0, 0.5);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(204, 0, 0, 0.2);
    border: 1px solid rgba(204, 0, 0, 0.4);
    border-radius: 50px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-title-main {
    display: block;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #CC0000, #FF0000, #FF6B00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 1s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition-normal);
    color: inherit;
    text-decoration: none;
}

.stat-item:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-red);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0.75rem;
}

.hero-scroll i {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

/* Match Center */
.match-center-section {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(204, 0, 0, 0.12), transparent 36%),
        linear-gradient(180deg, #090909, #0f0b0b);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-kicker {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.match-center-header { align-items: flex-end; }

.match-center {
    min-height: 230px;
}

.match-loading,
.match-empty {
    min-height: 230px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 22px;
}

.match-empty i { color: var(--primary-red); font-size: 2rem; }
.match-empty strong { color: var(--text-primary); font-size: 1.2rem; }

.match-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(190px, .8fr) minmax(230px, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(20, 20, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.match-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(204, 0, 0, 0.13), transparent 42%, rgba(255, 107, 0, 0.08));
}

.match-teams-stack { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: clamp(1.4rem, 3vw, 2.3rem); min-width: 0; }
.match-team-row { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: .35rem 0; }
.match-team-logo,.match-team-logo-placeholder { width: clamp(52px, 6vw, 72px); height: clamp(52px, 6vw, 72px); flex: 0 0 clamp(52px, 6vw, 72px); object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.match-team-copy { display: flex; flex-direction: column; min-width: 0; }
.match-team-label { color: var(--text-muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.match-team-name { margin-top: .15rem; font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 850; line-height: 1.15; overflow-wrap: anywhere; }
.match-team-row.is-evd .match-team-name { color: #fff; text-shadow: 0 0 24px rgba(204, 0, 0, 0.65); }
.match-team-separator { height: 1px; margin: .35rem 0 .35rem calc(clamp(52px, 6vw, 72px) + 1rem); background: rgba(255,255,255,.08); position: relative; }
.match-team-separator span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding-right: .55rem; background: #141414; color: var(--text-muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }

.match-core { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; padding: 1.5rem; text-align: center; background: rgba(0,0,0,.2); border-inline: 1px solid rgba(255,255,255,.07); }
.match-core-label { color: var(--orange); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.match-status { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border: 1px solid rgba(255,107,0,.35); border-radius: 999px; color: var(--orange); font-size: 0.72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.match-score { margin-top: .65rem; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 900; line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.match-countdown { display: grid; grid-template-columns: repeat(4, minmax(40px, 1fr)); gap: .35rem; width: 100%; min-height: 1.5em; margin-top: .7rem; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; gap: .18rem; padding: .55rem .25rem; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; }
.countdown-unit strong { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 900; line-height: 1; text-shadow: 0 0 18px rgba(255, 107, 0, .22); }
.countdown-unit small { color: var(--text-muted); font-size: .56rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.match-info { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.3rem); }
.match-info-list { width: 100%; margin: 0; }
.match-info-list>div { display: grid; grid-template-columns: 1fr auto; gap: .8rem; padding: .48rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.match-info-list>div:last-child { border-bottom: 0; }
.match-info-list dt { color: var(--text-muted); font-size: .72rem; }
.match-info-list dt i { width: 1.15rem; color: var(--primary-red); }
.match-info-list dd { margin: 0; color: var(--text-primary); font-size: .78rem; font-weight: 750; text-align: right; }
.match-actions { position: relative; grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; padding: 1rem clamp(1rem,3vw,2rem); background: rgba(0,0,0,.26); border-top: 1px solid rgba(255,255,255,.08); }
.match-actions .btn { min-width: 170px; }
.btn-ticket { color: #101010; background: linear-gradient(135deg, #ffb000, #ff6b00); box-shadow: 0 8px 24px rgba(255, 107, 0, .2); }
.btn-ticket:hover { color: #000; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 107, 0, .32); }


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Section Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
}

.section-title i {
    color: var(--primary-red);
}

.section-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.section-link:hover {
    gap: 0.75rem;
}

/* Featured Blogs */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(204, 0, 0, 0.2);
    border-color: var(--primary-red);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #1a0505, #0a0a0a);
}

.blog-card-content {
    padding: var(--spacing-lg);
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Latest News */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.news-card {
    display: flex;
    gap: var(--spacing-md);
    background: var(--card-bg);
    border-radius: 15px;
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.news-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-red);
    transform: translateX(5px);
}

.news-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 12px;
    color: var(--primary-red);
    font-size: 1.75rem;
}

.news-content {
    flex: 1;
}

.news-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(204, 0, 0, 0.2);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.news-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05), rgba(255, 107, 0, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    background: var(--card-bg);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.cta-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
    border-radius: 20px;
    font-size: 2.5rem;
    color: white;
}

.cta-content {
    flex: 1;
}

.cta-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        min-height: calc(100vh - 60px);
    }

    .match-card { grid-template-columns: 1fr; }
    .match-teams-stack { padding: 1.35rem; }
    .match-core { padding: 1.5rem 1rem; border-inline: 0; border-block: 1px solid rgba(255,255,255,.07); }
    .match-info { padding: 1.35rem; }
}

@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .news-card {
        flex-direction: column;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .match-center-header { align-items: flex-start; }
    .match-card { grid-template-columns: 1fr; }
    .match-team-name { font-size: 1rem; }
    .match-team-logo,.match-team-logo-placeholder { width: 52px; height: 52px; flex-basis: 52px; }
    .match-team-separator { margin-left: 68px; }
    .match-score { font-size: 2.4rem; }
    .countdown-unit strong { font-size: 1.65rem; }
    .match-actions .btn { min-width: 0; flex: 1 1 140px; }
}
