/* ===== PAGE - PROFESSIONAL BOXER ===== */

/* Section Navigation */
.boxer-nav-section {
    background: #0a0a0a;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Navigation Container */
.boxer-nav-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 16px;
}

/* Base Button Style */
.boxer-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    padding: 16px 0;
    background: rgba(30, 30, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.boxer-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.boxer-nav-link:hover::before {
    opacity: 1;
}

.boxer-nav-link span {
    position: relative;
    z-index: 1;
    display: block;
    line-height: 1;
}

.boxer-nav-en {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.05em;
    font-style: italic;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.boxer-nav-jp {
    font-size: 14px;
    /* 11pxから14pxに拡大 */
    color: #a1a1aa;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Rank A: Emerald/Gold Glow */
.boxer-nav-link.rank-a {
    border-top: 2px solid #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.boxer-nav-link.rank-a:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3), 0 0 10px rgba(16, 185, 129, 0.4) inset;
}

.boxer-nav-link.rank-a:hover .boxer-nav-en {
    background: linear-gradient(to bottom, #d1fae5, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
}

.boxer-nav-link.rank-a:hover .boxer-nav-jp {
    color: #fff;
}

/* Rank B: Blue/Cyan Glow */
.boxer-nav-link.rank-b {
    border-top: 2px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
}

.boxer-nav-link.rank-b:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), 0 0 10px rgba(59, 130, 246, 0.4) inset;
}

.boxer-nav-link.rank-b:hover .boxer-nav-en {
    background: linear-gradient(to bottom, #dbeafe, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
}

.boxer-nav-link.rank-b:hover .boxer-nav-jp {
    color: #fff;
}

/* Rank C: Orange/Red Glow */
.boxer-nav-link.rank-c {
    border-top: 2px solid #f97316;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.1);
}

.boxer-nav-link.rank-c:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(249, 115, 22, 0.15);
    border-color: #f97316;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3), 0 0 10px rgba(249, 115, 22, 0.4) inset;
}

.boxer-nav-link.rank-c:hover .boxer-nav-en {
    background: linear-gradient(to bottom, #ffedd5, #fb923c);
    -webkit-background-clip: text;
    background-clip: text;
}

.boxer-nav-link.rank-c:hover .boxer-nav-jp {
    color: #fff;
}

/* Rank OB: Purple/Silver Glow */
.boxer-nav-link.rank-ob {
    border-top: 2px solid #a855f7;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1);
}

.boxer-nav-link.rank-ob:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(168, 85, 247, 0.15);
    border-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3), 0 0 10px rgba(168, 85, 247, 0.4) inset;
}

.boxer-nav-link.rank-ob:hover .boxer-nav-en {
    background: linear-gradient(to bottom, #f3e8ff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
}

.boxer-nav-link.rank-ob:hover .boxer-nav-jp {
    color: #fff;
}

/* Mobile responsiveness for nav */
@media (max-width: 640px) {
    .boxer-nav-link {
        width: calc(50% - 8px);
        /* 2 columns */
        padding: 12px 0;
    }

    .boxer-nav-en {
        font-size: 20px;
    }
}

/* Boxer Cards (Wide for A/B/OB) */
.boxer-card-wide {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.boxer-card-wide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    /* Remove shadow from style attribute if possible, handle here */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.boxer-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .boxer-card-wide {
        flex-direction: row;
        align-items: center;
        padding: 48px !important;
        gap: 48px;
    }

    .boxer-card-wide img {
        width: 300px;
        /* Larger image on PC */
        height: 300px;
        flex-shrink: 0;
    }

    /* Alternating layout for variety (optional, can remove if 100% consistent layout desired) */
    /* .boxer-card-wide:nth-child(even) {
        flex-direction: row-reverse;
    } */
}

/* Mobile optimizations for wide cards */
@media (max-width: 767px) {
    .boxer-card-wide {
        text-align: left;
        padding: 20px !important;
        gap: 16px;
    }

    .boxer-card-wide img {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .boxer-card-content {
        width: 100%;
    }

    /* 日付テキストのモバイル最適化 */
    .boxer-card-content p[style*="color:#a1a1aa"] {
        font-size: 14px !important;
        line-height: 2 !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 日付エリア全体 */
    .boxer-card-content div[style*="padding-top:12px"],
    .boxer-card-content div[style*="padding-top:16px"] {
        padding-top: 16px !important;
        margin-top: 20px !important;
    }
}

/* Boxer Grid C (C-Class specific) */
.boxer-grid-c {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* Adjusted minmax */
    gap: 24px;
}

.boxer-card-c {
    text-align: center;
    /* Center everything by default */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.boxer-card-c:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.boxer-card-c img {
    margin: 0 auto 24px;
    width: 220px;
    /* Default PC size as per original code */
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Mobile optimizations for C cards */
@media (max-width: 767px) {
    .boxer-grid-c {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .boxer-card-c img {
        width: 100%;
        max-width: 320px;
        /* Match large size of A/B cards on mobile */
        height: 320px;
    }
}