/* Globalne ustawienia */
body {
    background: #252567;
    color: #ffffff;
    font-family: 'Proxima Nova', 'Helvetica Neue', Helvetica, Arial, Sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Ustawia stopkę na dole */
}

/* Nagłówek */
.site-header {
    background: #32327c;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* domyślnie na małych ekranach */
}

@media (min-width: 768px) {
    .header-container {
        gap: 40px;
    }
}

@media (min-width: 1200px) {
    .header-container {
        gap: 70px;
    }
}

.header-logo {
    height: 50px;
    width: auto;
}

@media (min-width: 768px) {
    .header-logo {
        height: 65px;
    }
}

@media (min-width: 1200px) {
    .header-logo {
        height: 80px;
    }
}

.header-title {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
}

/* Menu nawigacyjne */
.main-nav {
    background-color: #32327c;
}

.main-nav .nav-item {
    margin: 0 10px;
}

.main-nav .nav-link {
    color: #fff;
    padding: 10px 20px !important;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    text-align: center;
}

.main-nav .nav-link:hover, .main-nav .nav-link:focus {
    background-color: #2080A5;
    color: #fff;
}

/* Główna treść strony */
main {
    padding: 20px;
    flex: 1;
    /* Główna zawartość zajmuje pozostałą przestrzeń */
}

/* Stopka */
footer {
    background: #32327c;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    /* Stopka zawsze na dole */
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        /* Logo i tytuł w kolumnie na małych ekranach */
        text-align: center;
    }

    .main-nav .nav-item {
        margin-bottom: 5px;
    }
    
    .main-nav .nav-link {
        padding: 12px !important;
    }

    /* Przyciski */
    button {
        background-color: #32327c;
        color: white;
        padding: 12px 24px;
        font-size: 1.1em;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-top: 20px;
        transition: background-color 0.3s ease;
    }

    button:hover {
        background-color: #2080A5;
    }
}

/* Animacje dostępne na wszystkich rozdzielczościach */
@keyframes fadeInMoveUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation-name: fadeInMoveUp;
    animation-duration: 1.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-delay: 0s;
}

.fade-in-delay {
    opacity: 0;
    animation-name: fadeInMoveUp;
    animation-duration: 0.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-delay: 0.3s;
}

@keyframes fadeInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    opacity: 0;
    animation: fadeInFromLeft 1.2s ease-out forwards;
}

.slide-in-left-delay {
    opacity: 0;
    animation: fadeInFromLeft 1.2s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.4s; }
.fade-delay-5 { animation-delay: 0.5s; }
.fade-delay-6 { animation-delay: 0.6s; }
.fade-delay-7 { animation-delay: 0.7s; }
.fade-delay-8 { animation-delay: 0.8s; }
.fade-delay-9 { animation-delay: 0.9s; }

/* ======================== */
/* Announcements Page       */
/* ======================== */

.announcements-heading {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.announcements-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1FA581, #2080A5);
    border-radius: 2px;
}

.announcements-row {
    display: flex;
    align-items: stretch;
}

.announcement-card {
    position: relative;
    background: rgba(50, 50, 124, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.25,.8,.25,1),
                box-shadow 0.35s cubic-bezier(.25,.8,.25,1),
                border-color 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(31, 165, 129, 0.2),
                0 4px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(31, 165, 129, 0.3);
}

.card-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, #1FA581, #2080A5);
    flex-shrink: 0;
}

.announcement-card .card-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    user-select: none;
    transition: color 0.35s ease;
}

.announcement-card:hover .card-number {
    color: rgba(31, 165, 129, 0.12);
}

.announcement-card .card-body {
    padding: 2rem 1.5rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.announcement-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.announcement-card .card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    flex: 1;
}

.announcement-card .card-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 6px;
    color: #1FA581;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 1rem;
    padding: 6px 0;
    transition: color 0.25s ease, gap 0.25s ease;
}

.announcement-card .card-link::after {
    content: '→';
    transition: transform 0.25s ease;
}

.announcement-card .card-link:hover {
    color: #26c99b;
}

.announcement-card .card-link:hover::after {
    transform: translateX(4px);
}

/* Responsive: stack on small screens */
@media (max-width: 991.98px) {
    .announcements-row {
        flex-direction: column;
        align-items: center;
    }

    .announcements-row > [class*="col-"] {
        max-width: 500px;
        width: 100%;
    }
}

/* ======================== */
/* Schedule Coming Soon     */
/* ======================== */

.schedule-coming-soon {
    background: rgba(50, 50, 124, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.schedule-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1FA581, #2080A5);
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse-icon 2.5s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.coming-soon-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: #ffffff;
}

.coming-soon-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.coming-soon-fb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, #1FA581, #2080A5);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(31, 165, 129, 0.3);
}

.coming-soon-fb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 165, 129, 0.4);
    color: #ffffff;
}

.alt-button-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    border: 2px inset #1D8F91;
    /* border-image: linear-gradient(135deg, 2, #2080A5); */
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(31, 165, 129, 0.3);
}

.alt-button-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 165, 129, 0.4);
    color: #ffffff;
}

/* ======================== */
/* Index Hero Section       */
/* ======================== */

.hero-section {
    margin-bottom: 3rem;
}

.hero-mascot {
    max-width: 340px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(31, 165, 129, 0.15));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.hero-text {
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
}

/* Sponsors / Partners */
.sponsors {
    margin-bottom: 6rem;
}

.sponsors h2 {
    margin-bottom: 1.8rem;
}

.sponsors .d-flex {
    gap: 3rem !important;
}

.sponsor-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Info strip below hero */
.info-strip {
    background: rgba(50, 50, 124, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.info-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1FA581, #2080A5);
}

.info-strip-text {
    font-size: 0.98rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
}

.important-box {
    background: rgba(31, 165, 129, 0.08);
    border: 1px solid rgba(31, 165, 129, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.important-box-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.important-box-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.4rem;
}

.important-box-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .hero-mascot {
        max-width: 220px;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .info-strip {
        padding: 1.5rem;
    }
}

/* ======================== */
/* Abstracts Accordion      */
/* ======================== */

.cyber-accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 0.6rem;
}

.cyber-accordion-btn {
    background: rgba(50, 50, 124, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px !important;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cyber-accordion-btn:not(.collapsed) {
    background: rgba(50, 50, 124, 0.85);
    border-color: rgba(31, 165, 129, 0.3);
    box-shadow: 0 4px 20px rgba(31, 165, 129, 0.15);
    color: #ffffff;
}

.cyber-accordion-btn:hover {
    border-color: rgba(31, 165, 129, 0.25);
    box-shadow: 0 4px 20px rgba(31, 165, 129, 0.12);
}

.cyber-accordion-btn:focus {
    box-shadow: 0 0 0 3px rgba(31, 165, 129, 0.25);
}

.cyber-accordion-btn::after {
    filter: invert(1);
    flex-shrink: 0;
}

.session-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1FA581, #2080A5);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.entry-count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.cyber-accordion-body {
    background: rgba(37, 37, 103, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
}

/* Inner accordion (individual abstracts) */
.cyber-accordion-inner .cyber-accordion-item {
    margin-bottom: 0.4rem;
}

.cyber-accordion-btn-inner {
    background: rgba(50, 50, 124, 0.4);
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    border-radius: 10px !important;
    flex-wrap: wrap;
}

.cyber-accordion-btn-inner:not(.collapsed) {
    background: rgba(50, 50, 124, 0.7);
}

.entry-author {
    font-weight: 700;
    color: #ffffff;
}

.entry-separator {
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.entry-title {
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.cyber-abstract-body {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    padding: 1.5rem;
    background: rgba(37, 37, 103, 0.3);
    border-radius: 0 0 10px 10px;
}
