.top-banner {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    width: 100%;
    max-height: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0.8;
}

.banner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 2px;
    padding: 0 30px;
    height: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.package {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 70px;
}

.package-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.package:hover .package-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #e0e7ff 0%, #d4d9ff 100%);
}

.package-icon {
    font-size: 26px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.package-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    height: 100%;
    min-width: 200px;
}

.countdown-label {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.countdown-time {
    display: flex;
    gap: 8px;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-value {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.countdown-separator {
    font-size: 16px;
    font-weight: 700;
    color: #cbd5e1;
    margin: 0 -2px;
}

.countdown-unit {
    font-size: 9px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.package-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-count {
    font-size: 10px;
    color: #6366f1;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.package-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-label {
    font-size: 16px;
    color: #94a3b8;
}

.price-amount {
}

.btn-buy {
    padding: 10px 24px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-buy:hover {color: #fff;}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid rgba(232, 232, 232, 0.5);
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 30%, #ec4899 60%, #f59e0b 100%);
    border-radius: 24px 24px 0 0;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 100%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.modal-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(241, 245, 249, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(226, 232, 240, 0.9);
    transform: rotate(90deg) scale(1.1);
    color: #1e293b;
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    border: 1px solid #fbbf24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-title {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -1px;
    line-height: 1.2;
}

.modal-slogan {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.modal-slogan::before,
.modal-slogan::after {
    content: '✨';
    position: absolute;
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-slogan::before {
    left: 0;
}

.modal-slogan::after {
    right: 0;
}

.modal-body {
    padding: 25px 30px;
    background: linear-gradient(to bottom, transparent 0%, rgba(99, 102, 241, 0.01) 100%);
}

.modal-banner {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 20px;
}

.modal-package {
    flex: 1;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    position: relative;
    overflow: hidden;
}

.modal-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s ease;
}

.modal-package:hover::before {
    left: 100%;
}

.modal-package:hover {
}

.modal-package-popular {
    border-color: #fbbf24;
    background: linear-gradient(to bottom, #fffbeb 0%, #fef3c7 100%);
    position: relative;
}

.modal-package-popular::after {
    content: 'POPÜLER';
    position: absolute;
    top: 12px;
    right: -30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 4px 32px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.modal-package-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-package-icon-wrapper::after {
    content: '';
}

.modal-package:hover .modal-package-icon-wrapper::after {
    opacity: 1;
}

.modal-package:hover .modal-package-icon-wrapper {
}

.modal-package-icon {
    font-size: 31px;
    transition: transform 0.4s ease;
}

.modal-package:hover .modal-package-icon {
}

.modal-package-title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    margin-bottom: 10px;
}

.modal-package-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    padding: 7px 7px;
    width: 100%;
}

.modal-price-label {
    font-size: 10px;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.modal-price-amount {
    font-size: 22px;
    line-height: 1;
    font-weight: bold;
}

.modal-price-amount::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    filter: blur(8px);
    opacity: 0.3;
    z-index: -1;
}

.modal-btn-buy {
    padding: 10px 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35), 0 0 0 0 rgba(99, 102, 241, 0.5);
    position: relative;
    overflow: hidden;
    width: 62%;
    letter-spacing: 0.3px;
}

.modal-btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modal-btn-buy:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5), 0 0 0 8px rgba(99, 102, 241, 0.1);
    color: #fff;
}

.modal-btn-buy:hover::before {
    left: 100%;
}

.modal-btn-buy:active {
    transform: translateY(-1px) scale(1);
}

.modal-countdown {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid #c7bddb;
    width: max-content;
    margin: 0 auto;
}

.modal-countdown > * {
    position: relative;
    z-index: 1;
}

.modal-countdown-label {
    font-size: 12px;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 1px 4px rgba(99, 102, 241, 0.2);
}

.modal-countdown-time {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 60px;
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 2px solid rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.modal-countdown-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.modal-countdown-value {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -1.5px;
    filter: drop-shadow(0 1px 3px rgba(99, 102, 241, 0.2));
}

.modal-countdown-separator {
    font-size: 22px;
    font-weight: 800;
    color: #cbd5e1;
    margin-top: -8px;
    opacity: 0.6;
}

.modal-countdown-unit {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-open-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #ff6500 0%, #bf2ea8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.btn-open-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
}

@media (max-width: 768px) {
    .top-banner {
        max-height: none;
        height: auto;
        overflow: visible;
    }

    .banner {
        gap: 10px;
        padding: 10px 15px;
        height: auto;
    }

    .countdown-container {
        border-left: none;
        border-right: none;
        padding: 12px 15px;
        width: 30%;
        order: -1;
        min-height: auto;
        min-width: auto;
        display: none;
    }

    .package {
        flex-direction: column;
        gap: 8px;
        padding: 3px 3px;
        height: auto;
    }

    .package-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .package-icon {
        font-size: 20px;
    }

    .package-title {
        font-size: 12px;
    }

    .price-amount {
        font-size: 16px;
    }

    .btn-buy {
        padding: 8px 18px;
        font-size: 11px;
        width: auto;
    }

    .package-content {
        text-align: center;
        gap: 0px;
    }

    .package-header {
        justify-content: center;
    }

    .countdown-value {
        font-size: 18px;
    }

    .countdown-time {
        gap: 6px;
    }

    .modal-content {
        max-width: 100%;
        border-radius: 16px;
    }

    .modal-header {
        padding: 20px 20px 12px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
    }

    .modal-title {
        font-size: 28px;
    }

    .modal-slogan {
        font-size: 17px;
        padding: 0 30px;
    }

    .modal-badge {
        font-size: 10px;
        padding: 6px 16px;
    }

    .modal-body {
        padding: 20px 15px;
    }

    .modal-banner {
        flex-direction: column;
        gap: 20px;
    }

    .modal-package {
        padding: 25px 20px;
    }

    .modal-countdown-time {
        gap: 0px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-countdown {
        padding: 15px 15px;
    }

    .modal-countdown-value {
        font-size: 21px;
    }

    .modal-countdown-item {
        min-width: 65px;
        padding: 12px;
    }

    .modal-countdown-separator {
        font-size: 24px;
    }

    .modal-package-popular::after {
        font-size: 9px;
        padding: 4px 30px;
        top: 15px;
        right: -30px;
    }

    .btn-open-modal {
        bottom: 63px;
        right: 8px;
        padding: 9px 24px;
        font-size: 14px;
        border-radius: 10px;
    }
}