/**
 * Single Team Page Styles
 * Premium 2025 Design with Gazprom Branding
 */

/* =================================
   RESET & BASE
   ================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =================================
   TEAM CONTENT SECTION
   ================================= */

.team-content-section {
    padding: 130px 30px 90px;
    background: linear-gradient(180deg, #000912 0%, #001833 50%, #000912 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.team-content-section::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(0, 174, 239, 0.09) 0%, transparent 55%),
        radial-gradient(circle at 70% 80%, rgba(0, 119, 204, 0.07) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: bgPattern 40s ease-in-out infinite alternate;
}

@keyframes bgPattern {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.team-article-full {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* =================================
   BREADCRUMB
   ================================= */

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(0, 15, 40, 0.75);
    border: 1px solid rgba(0, 191, 255, 0.25);
    border-radius: 60px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #AEE4FF;
    margin-bottom: 45px;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: breadcrumbFade 0.7s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes breadcrumbFade {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-breadcrumb:hover {
    background: rgba(0, 25, 55, 0.9);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 6px 25px rgba(0, 191, 255, 0.25);
    transform: translateY(-2px);
}

.hero-breadcrumb a {
    color: #00BFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.hero-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00E0FF;
    transition: width 0.3s ease;
}

.hero-breadcrumb a:hover::after {
    width: 100%;
}

.hero-breadcrumb a:hover {
    color: #00E0FF;
}

.hero-breadcrumb svg {
    stroke: #00BFFF;
    stroke-width: 2.5;
    flex-shrink: 0;
    opacity: 0.7;
}

/* =================================
   TEAM TITLE SECTION
   ================================= */

.team-title-section {
    text-align: center;
    margin-bottom: 55px;
    animation: titleFade 0.9s ease-out 0.1s both;
}

@keyframes titleFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-main-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 18px;
    line-height: 1.15;
    letter-spacing: -1.2px;
    text-shadow: 
        0 4px 35px rgba(0, 191, 255, 0.5),
        0 0 60px rgba(0, 174, 239, 0.3);
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 
            0 4px 35px rgba(0, 191, 255, 0.5),
            0 0 60px rgba(0, 174, 239, 0.3);
    }
    50% { 
        text-shadow: 
            0 6px 50px rgba(0, 191, 255, 0.7),
            0 0 80px rgba(0, 174, 239, 0.5);
    }
}

.team-main-league {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(0, 174, 239, 0.22);
    border: 1px solid rgba(0, 191, 255, 0.45);
    border-radius: 60px;
    color: #00BFFF;
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 5px 25px rgba(0, 191, 255, 0.35);
    transition: all 0.35s ease;
}

.team-main-league:hover {
    background: rgba(0, 174, 239, 0.3);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
}

/* =================================
   TEAM PROFILE CARD
   ================================= */

.team-profile-card {
    background: linear-gradient(135deg, rgba(0, 15, 40, 0.92) 0%, rgba(0, 20, 50, 0.88) 100%);
    border: 2px solid rgba(0, 191, 255, 0.32);
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 55px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 90px rgba(0, 191, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    animation: cardFade 1.1s ease-out 0.3s both;
}

@keyframes cardFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-profile-header {
    padding: 35px 45px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.18) 0%, rgba(0, 119, 204, 0.18) 100%);
    border-bottom: 2px solid rgba(0, 191, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.team-profile-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.team-profile-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00E0FF;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-shadow: 0 3px 20px rgba(0, 224, 255, 0.5);
    position: relative;
    z-index: 1;
}

.team-profile-content {
    display: flex;
    gap: 45px;
    padding: 45px;
}

/* =================================
   TEAM PROFILE IMAGE
   ================================= */

.team-profile-image {
    position: relative;
    flex: 0 0 auto;
    width: 420px;
    height: 580px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid rgba(0, 191, 255, 0.35);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(0, 191, 255, 0.2);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-profile-image:hover {
    border-color: #00BFFF;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 191, 255, 0.45);
    transform: scale(1.02);
}

.team-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-profile-image:hover img {
    transform: scale(1.08);
}

.team-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    border: 4px solid rgba(0, 191, 255, 0.55);
    box-shadow: 
        0 10px 50px rgba(0, 0, 0, 0.6),
        0 0 0 12px rgba(0, 191, 255, 0.12);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-profile-image:hover .team-logo-overlay {
    transform: translate(-50%, -50%) scale(1.12);
    border-color: #00BFFF;
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.7),
        0 0 70px rgba(0, 191, 255, 0.7),
        0 0 0 12px rgba(0, 191, 255, 0.2);
}

.team-logo-overlay img {
    max-width: 170px;
    max-height: 170px;
    object-fit: contain;
    width: auto;
    height: auto;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
}

/* =================================
   TEAM PROFILE TABLE
   ================================= */

.team-profile-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.14) 0%, rgba(0, 119, 204, 0.14) 100%);
    border-radius: 18px;
    overflow: hidden;
    min-height: 580px;
    box-shadow: inset 0 2px 25px rgba(0, 191, 255, 0.12);
}

.profile-table-row {
    display: flex;
    align-items: center;
    padding: 22px 35px;
    background: linear-gradient(90deg, rgba(0, 15, 40, 0.85) 0%, rgba(0, 20, 50, 0.75) 100%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
}

.profile-table-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 191, 255, 0.15), transparent);
    transition: width 0.35s ease;
}

.profile-table-row:hover::before {
    width: 100%;
}

.profile-table-row:hover {
    background: linear-gradient(90deg, rgba(0, 20, 50, 0.98) 0%, rgba(0, 30, 60, 0.92) 100%);
    transform: translateX(10px);
    border-left-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 5px 25px rgba(0, 191, 255, 0.18);
}

.profile-table-row.name-row {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.28) 0%, rgba(0, 119, 204, 0.28) 100%);
    border-bottom: 3px solid rgba(0, 191, 255, 0.45);
    padding: 26px 35px;
    border-left: 3px solid rgba(0, 191, 255, 0.65);
}

.profile-table-row.name-row:hover {
    border-left-color: #00BFFF;
    box-shadow: 0 5px 25px rgba(0, 191, 255, 0.3);
}

.profile-table-row.name-row .profile-table-value {
    font-size: 1.85rem;
    font-weight: 900;
    color: #00E0FF;
    text-shadow: 
        0 3px 25px rgba(0, 191, 255, 0.7), 
        0 0 50px rgba(0, 224, 255, 0.4);
    letter-spacing: 0.3px;
}

.profile-table-row.highlight-row {
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.18) 0%, rgba(0, 119, 204, 0.22) 100%);
    border-left-color: rgba(0, 191, 255, 0.35);
}

.profile-table-row.highlight-row:hover {
    background: linear-gradient(90deg, rgba(0, 174, 239, 0.28) 0%, rgba(0, 119, 204, 0.32) 100%);
}

.profile-table-row.highlight-row .profile-table-value {
    color: #00E0FF;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 224, 255, 0.35);
}

.profile-table-label {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #AEE4FF;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.profile-table-label svg {
    stroke: #00BFFF;
    stroke-width: 2.5;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 191, 255, 0.5));
}

.profile-table-value {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.18rem;
    font-weight: 600;
    color: #FFFFFF;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.team-website-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #00BFFF;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 16px;
    background: rgba(0, 174, 239, 0.12);
    border-radius: 10px;
    border: 1px solid rgba(0, 191, 255, 0.25);
}

.team-website-link:hover {
    color: #00E0FF;
    background: rgba(0, 174, 239, 0.25);
    box-shadow: 0 3px 15px rgba(0, 191, 255, 0.35);
    transform: translateY(-2px);
}

.team-website-link svg {
    stroke: currentColor;
    stroke-width: 2.5;
}

/* =================================
   TEAM CONTENT TEXT
   ================================= */

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(0, 191, 255, 0.3);
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #CDE7FF;
    animation: fadeIn 0.9s ease-out 0.2s both;
    margin-bottom: 50px;
    max-width: 100%;
}

.article-content > * {
    max-width: 100%;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: #FFFFFF;
    font-weight: 700;
    margin: 40px 0 20px;
}

.article-content h2 {
    font-size: 2rem;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 191, 255, 0.2);
}

.article-content h3 {
    font-size: 1.6rem;
}

.article-content h4 {
    font-size: 1.3rem;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.08) 0%, rgba(0, 119, 204, 0.08) 100%);
    border-left: 4px solid #00BFFF;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #BFDFFF;
}

.article-content a {
    color: #00BFFF;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: #00E0FF;
    border-bottom-color: #00E0FF;
}

.article-content img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 20px;
    margin: 40px auto;
    border: 3px solid rgba(0, 191, 255, 0.3);
    box-shadow: 
        0 15px 50px rgba(0, 191, 255, 0.25),
        0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.article-content img:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 25px 70px rgba(0, 191, 255, 0.4),
        0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: #00BFFF;
}

.article-content figure {
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
}

.article-content figure img {
    margin: 0 auto 16px;
}

.article-content figcaption {
    text-align: center;
    font-size: 0.95rem;
    color: #AEE4FF;
    font-style: italic;
    padding: 0 20px;
}

/* =================================
   TEAM TAGS
   ================================= */

.team-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 191, 255, 0.15);
    animation: tagsFade 1.1s ease-out 0.5s both;
}

@keyframes tagsFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-tags svg {
    stroke: #00BFFF;
    stroke-width: 2.5;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 191, 255, 0.4));
}

.team-tags a {
    padding: 8px 20px;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 50px;
    color: #00BFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.team-tags a:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00BFFF;
    transform: translateY(-2px);
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 1024px) {
    .team-profile-content {
        flex-direction: column;
        align-items: center;
    }
    
    .team-profile-image {
        max-width: 420px;
        width: 100%;
    }
    
    .team-profile-table {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .team-content-section {
        padding: 110px 20px 70px;
    }
    
    .hero-breadcrumb {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-bottom: 30px;
    }
    
    .team-title-section {
        margin-bottom: 35px;
    }
    
    .team-main-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .team-league {
        font-size: 1.05rem;
        padding: 10px 22px;
    }
    
    .team-profile-card {
        border-radius: 18px;
        margin-bottom: 45px;
    }
    
    .team-profile-header {
        padding: 25px 30px;
    }
    
    .team-profile-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .team-profile-content {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .team-profile-image {
        max-width: 100%;
        width: 100%;
        height: 420px;
    }
    
    .team-logo-overlay {
        width: 160px;
        height: 160px;
        border: 3px solid rgba(0, 191, 255, 0.55);
        box-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.6),
            0 0 0 10px rgba(0, 191, 255, 0.12);
    }
    
    .team-logo-overlay img {
        max-width: 130px;
        max-height: 130px;
    }
    
    .team-profile-table {
        min-height: auto;
        width: 100%;
    }
    
    .profile-table-row {
        padding: 16px 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }
    
    .profile-table-row:hover {
        transform: translateX(5px);
    }
    
    .profile-table-label {
        flex: 0 0 130px;
        font-size: 0.85rem;
        min-width: 130px;
    }
    
    .profile-table-value {
        font-size: 1rem;
        flex: 1;
        word-break: break-word;
    }
    
    .profile-table-row.name-row {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .profile-table-row.name-row .profile-table-label {
        flex: none;
        min-width: auto;
    }
    
    .profile-table-row.name-row .profile-table-value {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .article-content {
        font-size: 1.05rem;
    }
    
    .article-content p {
        text-align: left;
    }
    
    .article-content h2 {
        font-size: 1.8rem;
    }
    
    .article-content h3 {
        font-size: 1.45rem;
    }
    
    .article-content img {
        max-width: 100%;
        margin: 30px auto;
        border-radius: 16px;
    }
    
    .article-content figure {
        max-width: 100%;
        margin: 30px auto;
    }
    
    .team-tags {
        padding: 25px 20px;
        gap: 10px;
    }
    
    .team-tags a {
        font-size: 0.88rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .team-content-section {
        padding: 100px 15px 60px;
    }
    
    .hero-breadcrumb {
        font-size: 0.8rem;
        padding: 8px 16px;
        gap: 8px;
    }
    
    .hero-breadcrumb svg {
        width: 14px;
        height: 14px;
    }
    
    .team-main-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .team-league {
        font-size: 0.95rem;
        padding: 8px 18px;
    }
    
    .team-profile-card {
        border-radius: 16px;
    }
    
    .team-profile-header {
        padding: 20px 20px;
    }
    
    .team-profile-title {
        font-size: 1.15rem;
    }
    
    .team-profile-content {
        padding: 25px 15px;
        gap: 25px;
    }
    
    .team-profile-image {
        height: 360px;
    }
    
    .team-logo-overlay {
        width: 140px;
        height: 140px;
        border: 2.5px solid rgba(0, 191, 255, 0.55);
        box-shadow: 
            0 6px 30px rgba(0, 0, 0, 0.5),
            0 0 0 8px rgba(0, 191, 255, 0.12);
    }
    
    .team-logo-overlay img {
        max-width: 110px;
        max-height: 110px;
    }
    
    .profile-table-row {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-left-width: 2px;
    }
    
    .profile-table-row:hover {
        transform: translateX(3px);
    }
    
    .profile-table-label {
        flex: none;
        font-size: 0.82rem;
        min-width: auto;
        margin-bottom: 2px;
    }
    
    .profile-table-value {
        font-size: 0.98rem;
        width: 100%;
    }
    
    .profile-table-row.name-row {
        padding: 18px 16px;
        gap: 6px;
    }
    
    .profile-table-row.name-row .profile-table-value {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content p {
        line-height: 1.7;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .article-content img {
        max-width: 100%;
        margin: 25px auto;
        border-radius: 14px;
        border-width: 2px;
    }
    
    .article-content figure {
        max-width: 100%;
        margin: 25px auto;
    }
    
    .team-tags {
        padding: 20px 15px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .team-tags a {
        font-size: 0.82rem;
        padding: 7px 14px;
    }
}
