/* Google Font imported in HTML for Safari Mobile compatibility */

/* ============================================================================
   STICKY HEADER COMPONENT
   [Discord Facebook]     [EZ Smocze_Oko]
   Groups separated by negative space
   ============================================================================ */

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    /* Dark transparent background */
    background: rgba(10, 20, 35, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Subtle blue bottom border */
    border-bottom: 1px solid rgba(20, 147, 251, 0.3);

    /* Gentle glow */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.sticky-header-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.25rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem; /* Extra large gap on mobile for fat fingers */
}

/* Icon groups */
.header-group {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Small gap within group */
}

/* Base icon style */
.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
}

.header-icon:hover {
    background-color: rgba(20, 147, 251, 0.2);
    transform: scale(1.1);
}

.header-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Secondary icons (FB, EZ, Smocze Oko) - slightly muted */
.header-icon--secondary {
    opacity: 0.7;
}

.header-icon--secondary:hover {
    opacity: 1;
}

/* Sticky Header - Desktop */
@media (min-width: 768px) {
    .sticky-header-content {
        padding: 0.35rem 2rem;
        gap: 2.5rem; /* Larger gap between groups on desktop */
    }

    .header-group {
        gap: 0.75rem;
    }

    .header-icon {
        width: 50px;
        height: 50px;
    }

    .header-icon img {
        width: 36px;
        height: 36px;
    }
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
}

body {
    font-family: 'Modern Antiqua', 'Times New Roman', Times, serif;
    background-color: #000000;
    color: #ABD9F5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    padding-top: 5rem; /* Space for sticky header */
    position: relative;
    z-index: 1;
}

/* Header and Title */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.title {
    font-size: 3rem;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

/* Logo Image */
.logo-image {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 166px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(171, 217, 245, 0.3));
}

/* Legacy text styles - kept for reference, can be removed later */
.title-line-1 {
    display: block;
    color: #ABD9F5;
    text-shadow: 0 0 20px rgba(171, 217, 245, 0.5);
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, #CEC215 0%, #6AA6BF 50%, #1493FB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(206, 194, 21, 0.3);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: block;
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(20, 147, 251, 0.8));
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Content Sections */
.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section {
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 147, 251, 0.3);
}

.section-static {
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    position: relative;
}

.section-static .section-header {
    cursor: default;
}

.section-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.section-title {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 300;
    color: #000000;
    margin: 0;
    text-shadow: 0 3px 2px rgba(255, 255, 255, 0.1);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Accordion specific styles */
.section-accordion {
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 147, 251, 0.3);
    margin-bottom: 0.5rem;
}

.section-accordion summary {
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
}

.section-accordion summary::-webkit-details-marker {
    display: none;
}

.section-accordion[open] .arrow-icon {
    transform: rotate(90deg);
}

.section-accordion summary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Section Content */
.section-content {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    color: #ABD9F5;
    font-size: 1rem;
    line-height: 1.5;
}

.section-static .section-content {
    padding-top: 0;
    background: transparent;
}

.content-subtitle {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: normal;
    margin: 0 0 1rem 0;
}

.section-content p {
    margin: 0 0 0.75rem 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content a {
    color: #CEC215;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.section-content a:hover {
    color: #1493FB;
}

/* Subsections (nested items) */
.subsection {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.75rem;
    background: #25479A;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection:hover {
    background: #2d52b3;
    transform: translateX(4px);
}

.subsection-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.subsection-title {
    flex: 1;
    color: #ABD9F5;
    font-size: 1rem;
}

.subsection-plus {
    color: #ABD9F5;
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 700px;
        padding: 3rem 2rem;
    }

    .title {
        font-size: 4rem;
    }

    .logo-image {
        max-height: 266px;
    }

    .social-icon {
        width: 56px;
        height: 56px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-icon {
        width: 28px;
        height: 28px;
    }

    .arrow-icon {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .container {
        max-width: 800px;
        padding: 4rem 2rem;
    }

    .title {
        font-size: 5rem;
    }

    .logo-image {
        max-height: 365px;
        margin: 0;
        margin-right: auto;
        filter: drop-shadow(0 0 30px rgba(171, 217, 245, 0.4));
    }

    .social-icon {
        width: 64px;
        height: 64px;
    }

    .social-links {
        gap: 2rem;
    }

    .content {
        gap: 1.25rem;
    }

    .section-header {
        padding: 1.25rem 1.5rem;
    }

    .section-content {
        padding: 1.5rem;
    }
}

/* Accessibility - Focus States */
.social-icon:focus,
.section-accordion summary:focus,
.subsection:focus {
    outline: 2px solid #1493FB;
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for accordion opening */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-accordion[open] .section-content {
    animation: slideDown 0.3s ease-out;
}

/* ============================================================================
   SESSIONS SECTION
   ============================================================================ */

/* Sessions Section Container */
.sessions-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(20, 147, 251, 0.3);
}

.sessions-section-title {
    font-size: 2rem;
    font-weight: normal;
    color: #CEC22B;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(206, 194, 43, 0.5);
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Loading State */
.loading,
.no-sessions,
.error-message {
    text-align: center;
    padding: 2rem;
    color: #ABD9F5;
    font-size: 1.1rem;
}

/* Session Accordion (details/summary) */
.session-accordion {
    background: linear-gradient(135deg, rgba(106, 146, 191, 0.2) 0%, rgba(20, 132, 251, 0.3) 1%);
    border: 1px solid rgba(20, 147, 251, 0.4);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(20, 147, 251, 0.3);
    transition: box-shadow 0.3s ease;
}

.session-accordion:hover {
    box-shadow: 0 6px 30px rgba(20, 147, 251, 0.5);
}

/* Session Summary (always visible) */
.session-summary {
    list-style: none;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.3s ease;
}

.session-summary::-webkit-details-marker {
    display: none;
}

.session-summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.session-summary-content {
    flex: 1;
}

.session-summary .arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.session-accordion[open] .arrow-icon {
    transform: rotate(90deg);
}

.session-summary-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Two-column layout for archived sessions */
.session-summary-info--two-col {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.session-info-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 120px;
}

.summary-item {
    color: #ABD9F5;
    font-size: 0.9rem;
}

/* Session Content (expanded details) */
.session-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    animation: slideDown 0.3s ease-out;
}

/* Session Title and Badge (in summary) */
.session-summary .session-title {
    font-size: 1.5rem;
    font-weight: normal;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.session-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}


/* Session Description */
.session-description,
.session-additional {
    margin-bottom: 1.5rem;
}

.session-description h4,
.session-additional h4 {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: normal;
    margin: 0 0 0.75rem 0;
}

.session-description p,
.session-additional p {
    color: #ABD9F5;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}

.session-description p:last-child,
.session-additional p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   MARKDOWN CONTENT STYLING (for all rendered markdown in accordions)
   ============================================================================ */

/* Headings within markdown content */
.section-content h1,
.section-content h2,
.section-content h3,
.session-description h1,
.session-description h2,
.session-description h3,
.session-additional h1,
.session-additional h2,
.session-additional h3,
.event-description h1,
.event-description h2,
.event-description h3 {
    color: #FFFFFF;
    font-weight: normal;
    margin: 1rem 0 0.75rem 0;
    line-height: 1.3;
}

.section-content h1,
.session-description h1,
.session-additional h1,
.event-description h1 {
    font-size: 1.5rem;
}

.section-content h2,
.session-description h2,
.session-additional h2,
.event-description h2 {
    font-size: 1.25rem;
}

.section-content h3,
.session-description h3,
.session-additional h3,
.event-description h3 {
    font-size: 1.125rem;
}

/* First heading should not have top margin */
.section-content h1:first-child,
.section-content h2:first-child,
.section-content h3:first-child,
.session-description h1:first-child,
.session-description h2:first-child,
.session-description h3:first-child,
.session-additional h1:first-child,
.session-additional h2:first-child,
.session-additional h3:first-child,
.event-description h1:first-child,
.event-description h2:first-child,
.event-description h3:first-child {
    margin-top: 0;
}

/* Lists - proper indentation */
.section-content ul,
.section-content ol,
.session-description ul,
.session-description ol,
.session-additional ul,
.session-additional ol,
.event-description ul,
.event-description ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
    color: #ABD9F5;
}

.section-content li,
.session-description li,
.session-additional li,
.event-description li {
    color: #ABD9F5;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.section-content li:last-child,
.session-description li:last-child,
.session-additional li:last-child,
.event-description li:last-child {
    margin-bottom: 0;
}

/* Nested lists */
.section-content ul ul,
.section-content ul ol,
.section-content ol ul,
.section-content ol ol,
.session-description ul ul,
.session-description ul ol,
.session-description ol ul,
.session-description ol ol,
.session-additional ul ul,
.session-additional ul ol,
.session-additional ol ul,
.session-additional ol ol,
.event-description ul ul,
.event-description ul ol,
.event-description ol ul,
.event-description ol ol {
    margin: 0.25rem 0;
    padding-left: 1.25rem;
}

/* Blockquotes */
.section-content blockquote,
.session-description blockquote,
.session-additional blockquote,
.event-description blockquote {
    border-left: 3px solid #1493FB;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6AA6BF;
}

/* Code blocks */
.section-content code,
.session-description code,
.session-additional code,
.event-description code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.section-content pre,
.session-description pre,
.session-additional pre,
.event-description pre {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.section-content pre code,
.session-description pre code,
.session-additional pre code,
.event-description pre code {
    background: none;
    padding: 0;
}

/* Strong/Bold text */
.section-content strong,
.session-description strong,
.session-additional strong,
.event-description strong {
    font-weight: bold;
    color: #FFFFFF;
}

/* Emphasis/Italic text */
.section-content em,
.session-description em,
.session-additional em,
.event-description em {
    font-style: italic;
}

/* Horizontal rules */
.section-content hr,
.session-description hr,
.session-additional hr,
.event-description hr {
    border: none;
    border-top: 2px solid rgba(0, 30, 60, 0.6);
    margin: 1.5rem 0;
}

/* Links within markdown content */
.section-content a,
.session-description a,
.session-additional a,
.event-description a {
    color: #CEC215;
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.section-content a:hover,
.session-description a:hover,
.session-additional a:hover,
.event-description a:hover {
    color: #1493FB;
    text-decoration-color: #1493FB;
}

.section-content a:visited,
.session-description a:visited,
.session-additional a:visited,
.event-description a:visited {
    color: #CEC215;
}

.section-content a:visited:hover,
.session-description a:visited:hover,
.session-additional a:visited:hover,
.event-description a:visited:hover {
    color: #1493FB;
}

/* Registrations List */
.session-registrations {
    margin-bottom: 1.5rem;
}

.session-registrations h4 {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: normal;
    margin: 0 0 0.75rem 0;
}

.registrations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.registrations-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.registrations-list li:last-child {
    margin-bottom: 0;
}

.player-name {
    color: #ABD9F5;
    font-weight: bold;
    flex: 1;
}

.registered-time {
    color: #6AA6BF;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-remove-player {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-remove-player:hover {
    opacity: 1;
    transform: scale(1.2);
}

.btn-remove-player:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.no-registrations {
    color: #6AA6BF;
    font-style: italic;
}

/* Registration Form */
.session-register {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
}

.session-register h4 {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: normal;
    margin: 0 0 1rem 0;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-group label {
    color: #ABD9F5;
    font-size: 0.875rem;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(20, 147, 251, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: #FFFFFF;
    font-family: 'Modern Antiqua', 'Times New Roman', Times, serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1493FB;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(171, 217, 245, 0.5);
}

.form-note {
    color: #CEC215;
    font-size: 0.875rem;
    font-style: italic;
    margin: 0.25rem 0;
}

.btn-submit {
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
    color: #000000;
    font-family: 'Modern Antiqua', 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(20, 147, 251, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 147, 251, 0.6);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Session Full State */
.session-full {
    text-align: center;
    padding: 1rem;
    color: #ff6b6b;
    font-size: 1.125rem;
    font-weight: bold;
}

.session-full p {
    margin: 0;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    .sessions-section-title {
        font-size: 2.5rem;
    }

    .session-card {
        padding: 2rem;
    }

    .session-title {
        font-size: 1.75rem;
    }

    .session-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .register-form {
        gap: 1rem;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .sessions-section-title {
        font-size: 3rem;
    }

    .session-title {
        font-size: 2rem;
    }

    .session-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ============================================================================
   SCROLL TO TOP BUTTON
   ============================================================================ */

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(20, 147, 251, 0.4);
    z-index: 100;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

    /* Hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Visible state */
.scroll-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hover state */
.scroll-to-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(20, 147, 251, 0.6);
}

/* Active/Click state */
.scroll-to-top-btn:active {
    transform: scale(0.95);
}

/* Focus state (accessibility) */
.scroll-to-top-btn:focus {
    outline: 2px solid #1493FB;
    outline-offset: 2px;
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .scroll-to-top-btn {
        width: 64px;
        height: 64px;
        font-size: 28px;
        bottom: 32px;
        right: 32px;
    }
}

/* ============================================================================
   EVENTS SECTION
   ============================================================================ */

.events-section {
    margin-bottom: 40px;
}

.section-title-main {
    font-size: 32px;
    margin-bottom: 24px;
    color: #CEC22B;
    font-weight: 700;
    text-align: center;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.archive-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 71, 154, 0.4) 0%, rgba(20, 147, 251, 0.2) 100%);
    border: 1px solid rgba(20, 147, 251, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.archive-link:hover {
    background: linear-gradient(135deg, rgba(37, 71, 154, 0.6) 0%, rgba(20, 147, 251, 0.3) 100%);
    border-color: rgba(20, 147, 251, 0.5);
    transform: translateY(-2px);
}

.archive-link-text {
    color: #ABD9F5;
    font-size: 1.25rem;
    font-weight: bold;
}

.archive-link-subtitle {
    color: #6AA6BF;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Back link for subpages */
.back-link {
    display: inline-block;
    color: #ABD9F5;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37, 71, 154, 0.3) 0%, rgba(20, 147, 251, 0.15) 100%);
    border: 1px solid rgba(20, 147, 251, 0.25);
    transition: all 0.2s ease;
}

.back-link:hover {
    background: linear-gradient(135deg, rgba(37, 71, 154, 0.5) 0%, rgba(20, 147, 251, 0.25) 100%);
    border-color: rgba(20, 147, 251, 0.4);
    transform: translateX(-4px);
}

/* Event accordions inherit section-accordion styling - no custom styles needed */

.event-description {
    margin-bottom: 24px;
}

.event-sessions {
    margin-top: 24px;
}

.event-sessions h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ABD9F5;
}

.event-sessions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-sessions-list li {
    background: #25479A;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 3px solid #1493FB;
}

.event-session-link {
    color: #ABD9F5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: block;
}

.event-session-link:hover {
    color: #1493FB;
}

.no-events {
    text-align: center;
    padding: 40px 20px;
    color: rgba(171, 217, 245, 0.7);
    font-style: italic;
}

/* ============================================================================
   SESSION EVENT BADGE
   ============================================================================ */

.session-event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6AA6BF 0%, #1493FB 100%);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(20, 147, 251, 0.3);
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    .section-title-main {
        font-size: 36px;
    }

    .session-event-badge {
        font-size: 15px;
        padding: 8px 14px;
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .section-title-main {
        font-size: 40px;
    }

    .event-session-link:hover {
        transform: translateX(4px);
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .session-event-badge {
        font-size: 16px;
        padding: 8px 16px;
    }
}
