﻿/* 全国決勝大会セクション - リンク誘導重視バージョン */
.finals-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-color);
    color: var(--light-color);
    z-index: 1;
}

/* ロゴショーケース - 大きく目立つロゴ */
.logo-showcase {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 300px;
    position: relative;
    z-index: 2;
    transform: translateY(-20px);
}

.finals-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.4));
}

/* セクションヘッダー - コンパクト版 */
.finals-section .section-header {
    margin-bottom: 40px;
}

.finals-section .section-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

    .finals-section .section-title .highlight {
        color: var(--primary-gold);
        position: relative;
    }

.finals-section .title-underline {
    height: 3px;
    width: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gold);
    position: relative;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.finals-section .section-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    opacity: 0.9;
}

/* コンテンツレイアウト */
.finals-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* 会場と日付カード */
.finals-venue-date {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.venue-card,
.date-card {
    flex: 1;
    max-width: 400px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .venue-card::before,
    .date-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--primary-gold);
    }

    .venue-card:hover,
    .date-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
    }

.venue-icon,
.date-icon {
    margin-right: 20px;
}

.venue-details h3,
.date-details h3 {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-gold);
}

.venue-details p,
.date-details p {
    margin: 0 0 5px 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--light-color);
}

.venue-details span,
.date-details span {
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
}

/* カウントダウン表示 */
.finals-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px auto;
    padding: 15px 35px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50px;
    max-width: fit-content;
}

.countdown-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.countdown-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.countdown-unit {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* 主要アクション - 決勝ページへのリンク */
.primary-action {
    text-align: center;
    transform: scale(1.1);
    margin: 10px 0;
}

    .primary-action .btn {
        animation: pulse-button 2s infinite alternate ease-in-out;
    }

@keyframes pulse-button {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(255, 215, 0, 0.5);
    }
}

/* ハイライトアイテム */
.finals-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .highlight-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--primary-gold);
        transform: scaleX(0.3);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .highlight-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.05);
    }

        .highlight-item:hover::before {
            transform: scaleX(1);
        }

.highlight-icon {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-color);
}

.highlight-content p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* アクションボタン */
.finals-action {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .btn span {
        margin-right: 10px;
        position: relative;
        z-index: 1;
    }

    .btn i {
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .btn:hover i {
        transform: translateX(5px);
    }

/* プライマリーボタン - 決勝詳細ページへ */
.btn-primary {
    background: var(--primary-gold);
    color: var(--dark-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    padding: 18px 36px;
}

    .btn-primary:hover {
        transform: translateY(-5px);
        background: #fff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

/* セカンダリーボタン - チケット情報 */
.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

    .btn-secondary:hover {
        background: rgba(255, 215, 0, 0.1);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

/* 二次的なアクションボタン用 */
.secondary-action {
    margin-top: -10px;
}

/* 装飾要素 */
.finals-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.decoration-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.el-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-gold);
    top: -200px;
    right: -100px;
    opacity: 0.03;
}

.el-2 {
    width: 400px;
    height: 400px;
    background: var(--primary-red);
    bottom: -150px;
    left: -100px;
    opacity: 0.03;
}

/* レスポンシブ調整 */
@media (max-width: 992px) {
    .finals-section {
        padding: 80px 0 60px;
    }

        .finals-section .section-title {
            font-size: 2.8rem;
        }

    .logo-showcase {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .finals-section .section-title {
        font-size: 2.5rem;
    }

    .finals-venue-date {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .venue-card,
    .date-card {
        width: 100%;
        max-width: 450px;
    }

    .finals-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .finals-countdown {
        padding: 12px 25px;
    }

    .countdown-value {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .finals-section {
        padding: 60px 0 50px;
    }

    .logo-showcase {
        max-width: 200px;
        margin-bottom: 30px;
    }

    .finals-section .section-title {
        font-size: 2.2rem;
    }

    .finals-highlights {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
        gap: 15px;
    }

    .highlight-item {
        padding: 20px;
    }

    .highlight-icon {
        width: 50px;
        height: 50px;
    }

        .highlight-icon i {
            font-size: 20px;
        }

    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
    }

    .btn-primary {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .finals-countdown {
        flex-direction: column;
        gap: 5px;
    }

    .countdown-label,
    .countdown-unit {
        font-size: 0.9rem;
    }
}
