/* ====================================
   Countdown Timer - Styles
   ==================================== */

/* ---- Reset & Base ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* ---- Top Contact Bar ---- */
.top-contact-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 20px;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sale-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(238, 82, 83, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse-soft 2s infinite;
    cursor: default;
}

@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 82, 83, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(238, 82, 83, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(238, 82, 83, 0);
    }
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.top-contact-link:hover {
    color: #2d3748;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-contact-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.top-contact-link:hover svg {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Main Content Layout ---- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 60px;
    /* Added top padding for fixed header */
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #2d3748;
    letter-spacing: 6px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
    text-align: center;
}

.current-date {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 60px;
    animation: fadeInDown 1s ease 0.2s both;
    text-align: center;
}

/* ---- Countdown Section ---- */
.countdown-container {
    margin: 0 auto 80px;
    animation: fadeInUp 1s ease 0.3s both;
    padding: 0 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}

.circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #2d3748;
    stroke-width: 8;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.3s ease;
}

.time-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    font-weight: 300;
    color: #2d3748;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.time-label {
    font-size: 14px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

/* ---- Journey Progress Bar ---- */
.journey-container {
    width: 100%;
    max-width: 900px;
    margin: 60px auto 60px;
    padding: 0 40px;
    animation: fadeIn 1s ease 0.6s both;
}

.journey-title {
    text-align: center;
    font-size: 18px;
    color: #2d3748;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* ========================================
   CLEAN PROGRESS BAR - Matching Theme
   ======================================== */

.progress-bar-container {
    position: relative;
    width: 100%;
    height: 80px;
    background: #1e3a5f;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.3);
    display: flex;
    align-items: center;
    padding: 0 40px;
}

/* Speed Lines Animation */
.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.speed-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 2px;
    animation: speedLine 1.5s linear infinite;
}

.speed-line:nth-child(1) {
    top: 20%;
    width: 60px;
    animation-delay: 0s;
}

.speed-line:nth-child(2) {
    top: 35%;
    width: 80px;
    animation-delay: 0.25s;
}

.speed-line:nth-child(3) {
    top: 50%;
    width: 50px;
    animation-delay: 0.5s;
}

.speed-line:nth-child(4) {
    top: 65%;
    width: 70px;
    animation-delay: 0.75s;
}

.speed-line:nth-child(5) {
    top: 80%;
    width: 55px;
    animation-delay: 1s;
}

.speed-line:nth-child(6) {
    top: 45%;
    width: 40px;
    animation-delay: 1.25s;
}

@keyframes speedLine {
    0% {
        right: -100px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        right: 100%;
        opacity: 0;
    }
}

/* Progress Track */
.progress-track {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    z-index: 2;
}

/* Progress Fill */
.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    border-radius: 4px;
    transition: width 1s ease-out;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Car Icon */
.progress-car {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    transition: left 1s ease-out;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Seconds Counter above car */
.car-seconds {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1e3a5f;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    padding: 6px 14px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    animation: pulse 1s ease-in-out infinite;
    border: 2px solid #3b82f6;
}

.car-seconds::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #ffffff;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.08);
    }
}

.car-icon {
    width: 36px;
    height: 36px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Milestone Markers */
.milestone-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    border: 3px solid #1e3a5f;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.start-marker {
    left: 25px;
}

.end-marker {
    right: 25px;
}

/* Marker Seconds Labels */
.marker-seconds {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a5f;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.marker-seconds::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.9);
}

.end-seconds {
    background: #22c55e;
    color: #ffffff;
}

.end-seconds::after {
    border-top-color: #22c55e;
}

/* ---- Milestone Labels ---- */
.milestone-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 0 10px;
}

.milestone-label {
    font-size: 12px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.milestone-date {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 3px;
}

/* ---- Progress Info ---- */
.progress-info {
    text-align: center;
    margin-top: 25px;
}

.progress-percentage {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a5f;
    font-family: 'Courier New', monospace;
}

.progress-text {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* ---- Footer ---- */
footer {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 60px 20px 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

footer h3 {
    color: #2d3748;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 50px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.footer-countdown {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.total-time-unit {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 50px 40px;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    min-height: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.total-time-unit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.total-time-number {
    font-size: 52px;
    font-weight: 300;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    overflow: visible;
}

.total-time-label {
    font-size: 11px;
    color: #718096;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-align: center;
}

/* ---- Footer Contact ---- */
.footer-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #2d3748;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-email svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-email:hover svg {
    opacity: 1;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==================================
   Responsive Design
   ================================== */

/* ---- Tablet ---- */
@media (max-width: 992px) {
    h1 {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .current-date {
        font-size: 15px;
        margin-bottom: 50px;
    }

    .circle-container {
        width: 140px;
        height: 140px;
    }

    .time-number {
        font-size: 50px;
    }

    .journey-title {
        font-size: 16px;
    }

    .progress-bar-container {
        height: 70px;
        padding: 0 30px;
    }

    .car-icon {
        width: 32px;
        height: 32px;
    }

    .progress-percentage {
        font-size: 38px;
    }

    .total-time-number {
        font-size: 46px;
    }

    .total-time-unit {
        padding: 45px 35px;
        min-width: 220px;
    }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 15px;
    }

    h1 {
        font-size: 28px;
        letter-spacing: 3px;
        margin-bottom: 18px;
    }

    .current-date {
        font-size: 16px;
        margin-bottom: 45px;
    }

    .countdown-container {
        margin-bottom: 60px;
    }

    .countdown {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: center;
        padding: 0 5px;
    }

    .time-unit {
        flex-shrink: 0;
    }

    .circle-container {
        width: 65px;
        height: 65px;
        margin-bottom: 12px;
    }

    .circle-container svg {
        width: 65px;
        height: 65px;
    }

    .circle-bg,
    .circle-progress {
        stroke-width: 5;
    }

    .time-number {
        font-size: 22px;
        font-weight: 400;
    }

    .time-label {
        font-size: 8px;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .journey-container {
        padding: 0 15px;
        margin: 60px auto 60px;
    }

    .journey-title {
        font-size: 18px;
        margin-bottom: 30px;
        letter-spacing: 2.5px;
    }

    .progress-bar-container {
        height: 65px;
        padding: 0 25px;
    }

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

    .milestone-marker {
        width: 10px;
        height: 10px;
    }

    .start-marker {
        left: 15px;
    }

    .end-marker {
        right: 15px;
    }

    .milestone-label {
        font-size: 13px;
        font-weight: 700;
    }

    .milestone-date {
        font-size: 12px;
    }

    .progress-percentage {
        font-size: 56px;
        font-weight: 800;
        margin-top: 10px;
    }

    .progress-text {
        font-size: 14px;
        letter-spacing: 2.5px;
        margin-top: 8px;
    }

    footer {
        padding: 60px 15px 70px;
    }

    footer h3 {
        font-size: 20px;
        margin-bottom: 45px;
        letter-spacing: 3px;
    }

    .footer-countdown {
        gap: 25px;
    }

    .total-time-unit {
        min-width: 300px;
        max-width: 100%;
        padding: 50px 35px;
        min-height: 190px;
    }

    .total-time-number {
        font-size: 56px;
        font-weight: 400;
    }

    .total-time-label {
        font-size: 13px;
        margin-top: 20px;
        letter-spacing: 2.5px;
        font-weight: 700;
    }
}

/* ---- Extra Small Mobile ---- */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .current-date {
        font-size: 15px;
    }

    .countdown {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .circle-container {
        width: 55px;
        height: 55px;
        margin-bottom: 8px;
    }

    .circle-container svg {
        width: 55px;
        height: 55px;
    }

    .circle-bg,
    .circle-progress {
        stroke-width: 4;
    }

    .time-number {
        font-size: 18px;
        font-weight: 500;
    }

    .time-label {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .journey-title {
        font-size: 17px;
    }

    .progress-bar-container {
        height: 60px;
        padding: 0 20px;
    }

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

    .milestone-label {
        font-size: 12px;
    }

    .milestone-date {
        font-size: 11px;
    }

    .progress-percentage {
        font-size: 52px;
    }

    .progress-text {
        font-size: 13px;
    }

    footer h3 {
        font-size: 18px;
    }

    .total-time-unit {
        min-width: 280px;
        padding: 48px 30px;
        min-height: 180px;
    }

    .total-time-number {
        font-size: 52px;
    }

    .total-time-label {
        font-size: 12px;
    }
}

/* ==================================
   YouTube Subscriber Progress Section
   ================================== */

.youtube-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.youtube-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.youtube-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.youtube-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
    animation: youtubeIconPulse 2s ease-in-out infinite;
}

.youtube-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

@keyframes youtubeIconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(255, 0, 0, 0.6);
    }
}

.youtube-title-group {
    text-align: left;
}

.youtube-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.youtube-channel-link {
    font-size: 16px;
    color: #ff4444;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.youtube-channel-link:hover {
    color: #ff6666;
    text-decoration: underline;
}

/* Stats Cards */
.youtube-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.youtube-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 35px;
    text-align: center;
    min-width: 180px;
    flex: 1;
    max-width: 250px;
    transition: all 0.4s ease;
}

.youtube-stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.youtube-stat-card.current {
    border-color: rgba(255, 68, 68, 0.3);
}

.youtube-stat-card.goal {
    border-color: rgba(255, 215, 0, 0.3);
}

.youtube-stat-card.remaining {
    border-color: rgba(0, 255, 136, 0.3);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    font-family: 'Courier New', monospace;
    margin-bottom: 8px;
}

.youtube-stat-card.current .stat-number {
    color: #ff4444;
}

.youtube-stat-card.goal .stat-number {
    color: #ffd700;
}

.youtube-stat-card.remaining .stat-number {
    color: #00ff88;
}

/* Live Indicator */
.live-indicator {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 4px 12px;
    background: rgba(0, 255, 0, 0.15);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #00ff88;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator.active {
    display: inline-flex;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
        box-shadow: 0 0 10px 3px rgba(0, 255, 136, 0.4);
    }
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Progress Bar */
.youtube-progress-container {
    margin-bottom: 35px;
}

.youtube-progress-bar {
    position: relative;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.youtube-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff4444, #ff6666);
    border-radius: 12px;
    transition: width 1s ease-out;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.youtube-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.youtube-progress-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 5px;
}

.youtube-progress-labels span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.progress-current {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ff4444 !important;
    background: rgba(255, 68, 68, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.progress-end {
    color: #ffd700 !important;
    font-weight: 600 !important;
}

/* Subscribe Button */
.youtube-cta {
    text-align: center;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscribe-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff2222, #ee0000);
}

.subscribe-btn svg {
    width: 24px;
    height: 24px;
}

/* YouTube Section Responsive */
@media (max-width: 768px) {
    .youtube-section {
        padding: 50px 15px;
    }

    .youtube-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .youtube-title-group {
        text-align: center;
    }

    .youtube-title {
        font-size: 24px;
    }

    .youtube-stats {
        gap: 15px;
    }

    .youtube-stat-card {
        min-width: 140px;
        padding: 25px 20px;
    }

    .stat-icon {
        font-size: 30px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 11px;
    }

    .youtube-progress-bar {
        height: 20px;
    }

    .progress-current {
        font-size: 16px !important;
        padding: 4px 12px;
    }

    .subscribe-btn {
        font-size: 16px;
        padding: 14px 32px;
    }
}

@media (max-width: 480px) {
    .youtube-icon {
        width: 50px;
        height: 50px;
    }

    .youtube-icon svg {
        width: 28px;
        height: 28px;
    }

    .youtube-title {
        font-size: 22px;
    }

    .youtube-stat-card {
        min-width: 100%;
        max-width: 100%;
    }

    .stat-number {
        font-size: 28px;
    }

    .subscribe-btn {
        font-size: 15px;
        padding: 12px 28px;
        gap: 10px;
    }

    .subscribe-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ==================================
   Birthday Modal Styles
   ================================== */
.birthday-modal-content {
    background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.birthday-body {
    padding: 40px 30px;
    position: relative;
    z-index: 10;
}

.birthday-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.birthday-icon {
    font-size: 50px;
}

.birthday-title {
    font-size: 24px;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.birthday-name {
    font-size: 36px;
    color: #1e3a5f;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.birthday-message {
    color: #475569;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.birthday-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.birthday-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

/* Confetti Animation */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    animation: confetti-fall 4s linear infinite;
}

.confetti:nth-child(1) {
    left: 10%;
    background-color: #ef4444;
    animation-delay: 0s;
}

.confetti:nth-child(2) {
    left: 20%;
    background-color: #3b82f6;
    animation-delay: 1.5s;
}

.confetti:nth-child(3) {
    left: 30%;
    background-color: #10b981;
    animation-delay: 2s;
}

.confetti:nth-child(4) {
    left: 40%;
    background-color: #f59e0b;
    animation-delay: 0.5s;
}

.confetti:nth-child(5) {
    left: 50%;
    background-color: #8b5cf6;
    animation-delay: 2.5s;
}

.confetti:nth-child(6) {
    left: 60%;
    background-color: #ec4899;
    animation-delay: 1s;
}

.confetti:nth-child(7) {
    left: 70%;
    background-color: #06b6d4;
    animation-delay: 3s;
}

.confetti:nth-child(8) {
    left: 80%;
    background-color: #84cc16;
    animation-delay: 1.8s;
}

.confetti:nth-child(9) {
    left: 90%;
    background-color: #e11d48;
    animation-delay: 0.8s;
}

.confetti:nth-child(10) {
    left: 95%;
    background-color: #fcd34d;
    animation-delay: 2.2s;
}

@keyframes confetti-fall {
    0% {
        top: -10%;
        transform: rotate(0deg) translateX(0);
        opacity: 1;
    }

    100% {
        top: 100%;
        transform: rotate(360deg) translateX(20px);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ====================================
   Settings Button & Modal Styles
   ==================================== */

/* Floating Settings Button */
.settings-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: settingsIntro 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.settings-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.settings-btn:active {
    transform: scale(0.95) rotate(90deg);
}

.settings-btn svg {
    width: 24px;
    height: 24px;
    color: white;
}

@keyframes settingsIntro {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Settings Modal */
.settings-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.settings-modal-content .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 25px 30px;
}

.settings-modal-content .modal-title {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
}

.settings-modal-content .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.settings-modal-content .btn-close:hover {
    opacity: 1;
}

.settings-modal-content .modal-body {
    padding: 30px;
    background: #f8f9fa;
}

/* Event Form Container */
.event-form-container {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.event-form-container h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #a0aec0;
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.form-actions .btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.form-actions .btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.form-actions .btn-secondary:hover {
    background: #cbd5e0;
}

/* Events List Container */
.events-list-container {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.events-list-container h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

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

.no-events {
    text-align: center;
    color: #a0aec0;
    padding: 40px 20px;
    font-size: 14px;
}

/* Event Card */
.event-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event-card:hover {
    border-color: #667eea;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.event-card-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.event-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-details {
    flex: 1;
}

.event-name {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.event-type {
    font-size: 12px;
    color: #718096;
    text-transform: capitalize;
}

.event-date {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    margin-right: 12px;
}

.event-actions {
    display: flex;
    gap: 8px;
}

.event-actions button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.event-actions .btn-edit {
    background: #3b82f6;
    color: white;
}

.event-actions .btn-edit:hover {
    background: #2563eb;
    transform: scale(1.1);
}

.event-actions .btn-delete {
    background: #ef4444;
    color: white;
}

.event-actions .btn-delete:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.event-actions svg {
    width: 16px;
    height: 16px;
}

/* Celebration Modal (Dynamic) */
.celebration-modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ====================================
   Password Protection Styles
   ==================================== */

/* Password Modal */
.password-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.password-modal-content .modal-header {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-bottom: none;
    padding: 20px 25px;
}

.password-modal-content .modal-title {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 0;
}

.password-modal-content .modal-body {
    padding: 30px;
}

.password-prompt-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 25px;
    text-align: center;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.password-toggle:hover {
    background: #f1f5f9;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.password-toggle:hover svg {
    color: #475569;
}

/* Password Error */
.password-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ef4444;
    font-size: 13px;
    margin-top: 10px;
    padding: 10px 12px;
    background: #fef2f2;
    border-radius: 8px;
    border-left: 3px solid #ef4444;
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Password Hint */
.password-hint {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.password-hint code {
    background: #e0e7ff;
    color: #4338ca;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    margin: 0 4px;
}

/* Change Password Container */
.password-change-container {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #fef2f2;
}

.password-change-container h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.password-change-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-change-password {
    width: 100%;
}

/* ====================================
   Toggle Switch for Event Active/Inactive
   ==================================== */

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
    margin-right: 8px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked+.toggle-slider {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(20px);
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

/* Inactive Event Styling */
.event-card.event-inactive {
    opacity: 0.5;
    filter: grayscale(70%);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.event-card.event-inactive .event-card-icon {
    opacity: 0.6;
}

.event-card.event-inactive .event-card-info h5 {
    color: #94a3b8;
    text-decoration: line-through;
}

.event-card.event-inactive .event-card-info p {
    color: #cbd5e1;
}

.event-card.event-inactive .event-card-date {
    color: #cbd5e1;
}

/* Mobile Responsiveness */

@media (max-width: 768px) {
    .settings-btn {
        width: 50px;
        height: 50px;
        top: 20px;
        right: 20px;
    }

    .settings-btn svg {
        width: 20px;
        height: 20px;
    }

    .settings-modal-content .modal-body {
        padding: 20px;
    }

    .event-form-container,
    .events-list-container {
        padding: 20px;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .event-card-info {
        width: 100%;
    }

    .event-date {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}