/* =============================================================================
   RUN OF GLORY - STOWARZYSZENIE
   Style CSS z paletą kolorów z logo
   ============================================================================= */

/* --- ZMIENNE CSS --- */
:root {
    /* Kolory główne z logo Run of Glory */
    --primary-red: #C1272D;
    --primary-red-dark: #9A1F23;
    --primary-red-light: #D94449;

    --primary-blue: #005F8C;
    --primary-blue-dark: #004566;
    --primary-blue-medium: #3B8CB8;
    --primary-blue-light: #4FA3C5;
    --primary-blue-lighter: #A0D5E8;

    /* Kolory neutralne */
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Cienie */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Gradient */
    --gradient-red: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(193, 39, 45, 0.9) 0%, rgba(0, 95, 140, 0.9) 100%);

    /* Przejścia */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* --- RESET I PODSTAWY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- TYPOGRAFIA --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.text-gradient {
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BANNER WOJEWÓDZTWA --- */
.wojewodztwo-banner {
    background: var(--white);
    border-bottom: 2px solid var(--gray-200);
    padding: 0.75rem 0;
}

.wojewodztwo-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wojewodztwo-banner a {
    display: block;
    max-width: 100%;
}

.wojewodztwo-banner img {
    height: auto;
    max-height: 80px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
}

.wojewodztwo-banner img:hover {
    opacity: 0.8;
}

/* --- HEADER --- */
#header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 2rem;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

#nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

#nav-menu li a {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

#nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: var(--transition);
}

#nav-menu li a:hover {
    color: var(--primary-red);
}

#nav-menu li a:hover::after {
    width: 100%;
}

/* Social Media Icons w Header */
.social-media-header {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: var(--transition);
    font-size: 1rem;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-icon:nth-child(1):hover {
    background: #1877f2;
    color: var(--white);
}

.social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.social-icon:nth-child(3):hover {
    background: #ff0000;
    color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn:hover span {
    background: var(--primary-red);
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--gray-100);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-slide-text {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-slide-text h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-slide-text p {
    color: var(--white);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
}

.hero-slide-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.hero-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-red);
    color: var(--white);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.75rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* --- ARTYKUŁY/WPISY --- */
.articles-section {
    background: var(--gray-100);
}

/* Featured Articles - Duże zdjęcia */
.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.featured-article {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-article:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-article-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.featured-article:hover .featured-article-image img {
    transform: scale(1.1);
}

.featured-article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-article-content {
    padding: 1.5rem;
}

.featured-article-date {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.featured-article-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.featured-article-title a {
    color: var(--black);
}

.featured-article-title a:hover {
    color: var(--primary-red);
}

.featured-article-excerpt {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.featured-article-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-article-link:hover {
    color: var(--primary-red);
}

/* Regular Articles - Lista */
.regular-articles {
    display: grid;
    gap: 1.5rem;
}

.regular-article {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    transition: var(--transition);
}

.regular-article:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.regular-article-image {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.regular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.regular-article:hover .regular-article-image img {
    transform: scale(1.05);
}

.regular-article-content {
    padding: 1.5rem;
    flex: 1;
}

.regular-article-date {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.regular-article-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.regular-article-title a {
    color: var(--black);
}

.regular-article-title a:hover {
    color: var(--primary-red);
}

.regular-article-excerpt {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* --- GALERIA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1rem;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* --- FILMY/VIDEO --- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.video-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--gray-200);
    overflow: hidden;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(193, 39, 45, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-play-btn::after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--white);
    margin-left: 4px;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-red);
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.video-description {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* --- SOCIAL MEDIA EMBED --- */
.social-embed {
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* --- FOOTER --- */
footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-links i {
    color: var(--primary-red);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--gray-400);
}

.footer-bottom a:hover {
    color: var(--primary-red);
}

/* --- COOKIE INFO --- */
.cookie-info {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    z-index: 9998;
    transform: translateY(150%);
    transition: var(--transition-slow);
}

.cookie-info.show {
    transform: translateY(0);
}

.cookie-info-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text p {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.cookie-info-close {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-info-close:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

/* --- ANIMACJE --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeIn 0.6s ease-out;
}

/* --- RESPONSIVE --- */

/* Tablets */
@media (max-width: 992px) {
    .header-container {
        gap: 1rem;
    }

    #nav-menu {
        gap: 1.5rem;
    }

    .hero-slider {
        height: 400px;
    }

    .featured-articles {
        grid-template-columns: 1fr;
    }

    .regular-article {
        flex-direction: column;
    }

    .regular-article-image {
        width: 100%;
        height: 200px;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wojewodztwo-banner img {
        max-height: 60px;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 50px;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 1000;
        padding: 5rem 2rem 2rem;
    }

    nav.active {
        left: 0;
    }

    #nav-menu {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    #nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    #nav-menu li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .social-media-header {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        right: 2rem;
        justify-content: center;
        padding-top: 1.5rem;
        border-top: 1px solid var(--gray-200);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-slider {
        height: 350px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .featured-articles {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 1rem;
    }

    .lightbox-next {
        right: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-info {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-slider {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .wojewodztwo-banner,
    #header,
    .slider-controls,
    .slider-arrow,
    footer,
    .cookie-info {
        display: none;
    }
}

/* --- COUNTDOWN PAGE --- */
.countdown-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-overlay);
    position: relative;
    overflow: hidden;
}

.countdown-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.countdown-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(193, 39, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 95, 140, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.countdown-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
}

.countdown-logo {
    margin-bottom: 2rem;
}

.countdown-logo img {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.countdown-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.countdown-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-700);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.countdown-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    font-family: 'Courier New', monospace;
    background: var(--gray-100);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 100px;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0.5rem;
}

.countdown-expired {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary-red);
    font-weight: 700;
}

.countdown-social {
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.countdown-social p {
    color: var(--gray-700);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.countdown-social-icon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.countdown-social-icon:nth-child(1):hover {
    background: #1877f2;
    color: var(--white);
}

.countdown-social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.countdown-social-icon:nth-child(3):hover {
    background: #ff0000;
    color: var(--white);
}

.countdown-contact {
    color: var(--gray-700);
    font-size: 1rem;
}

.countdown-contact i {
    color: var(--primary-red);
    margin-right: 0.5rem;
}

.countdown-contact a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.countdown-contact a:hover {
    color: var(--primary-red);
}

/* Countdown Mobile Styles */
@media (max-width: 768px) {
    .countdown-content {
        padding: 2rem 1.5rem;
    }

    .countdown-logo img {
        max-width: 180px;
    }

    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-item {
        min-width: 70px;
    }

    .countdown-value {
        font-size: clamp(2rem, 8vw, 2.5rem);
        padding: 0.75rem 1rem;
        min-width: 70px;
    }

    .countdown-separator {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        padding: 1rem;
    }

    .countdown-content {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .countdown-timer {
        gap: 0.25rem;
    }

    .countdown-item {
        min-width: 60px;
    }

    .countdown-value {
        padding: 0.5rem 0.75rem;
        min-width: 60px;
        font-size: clamp(1.75rem, 10vw, 2rem);
    }

    .countdown-separator {
        display: none;
    }
}
