/* ============================================================
   BÜYÜK İNDİRİM FIRSATLARINI KAÇIRMAYIN — Hostixo Blue Theme
   ============================================================ */

.big-discount-section {
    background: #0B66D3; /* Hostixo Brand Blue */
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
    background-size: 50px 50px, 50px 50px, 100% 100%, 100% 100%;
    position: relative;
    overflow: hidden;
    padding: 70px 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.big-discount-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 2;
}

/* Header */
.big-discount-header {
    text-align: center;
    margin-bottom: 45px;
}

.big-discount-title {
    font-size: 30px;
    font-weight: 800;
    color: #ffffff; /* White title on blue background */
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.big-discount-subtitle {
    font-size: 15.5px;
    color: #e0f2fe; /* Soft light blue/white text */
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.big-discount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.big-discount-card-wrap {
    flex: 1 1 calc(50% - 12px);
    min-width: 320px;
    display: flex;
    flex-direction: column;
}

/* Campaign Card Base — Premium White Cards for High Contrast */
.campaign-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 30px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(6, 75, 158, 0.2);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campaign-card-hosting:hover {
    transform: scale(1.02);
    border-color: #22c55e;
    box-shadow: 0 20px 45px rgba(6, 75, 158, 0.3);
}

.campaign-card-server:hover {
    transform: scale(1.02);
    border-color: #f97316;
    box-shadow: 0 20px 45px rgba(6, 75, 158, 0.3);
}

.campaign-card-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex: 1;
}

.campaign-info {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.campaign-bottom-section {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

/* Badges */
.campaign-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.badge-hosting {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge-server {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

/* Bell Shake Animation */
@keyframes bellShake {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    45% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.campaign-badge i {
    animation: bellShake 1.2s infinite;
}

/* Title & Description */
.campaign-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a; /* Slate dark title */
    margin: 0 0 10px;
}

.campaign-desc {
    font-size: 14px;
    color: #475569; /* Slate grey description */
    line-height: 1.55;
    margin: 0 0 22px;
}

/* Features List */
.campaign-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feat-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
}

.campaign-card-hosting .feat-badge {
    background: #22c55e;
}

.campaign-card-server .feat-badge {
    background: #f97316;
}

.feat-badge i {
    font-size: 9px;
}

/* Pricing box */
.campaign-price-box {
    margin-bottom: 24px;
}

.price-old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.price-active {
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin: 0;
}

.campaign-card-hosting .price-active {
    color: #22c55e;
}

.campaign-card-server .price-active {
    color: #f97316;
}

.price-unit {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

/* Coupon Box */
.campaign-coupon-box {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 320px;
}

.coupon-input {
    flex: 1;
    padding: 9px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    outline: none;
}

.campaign-card-hosting .coupon-input {
    border: 1px dashed #22c55e;
    color: #16a34a;
    background: #f0fdf4;
}

.campaign-card-server .coupon-input {
    border: 1px dashed #f97316;
    color: #ea580c;
    background: #fff7ed;
}

.coupon-copy-btn {
    padding: 9px 18px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.btn-hosting-theme {
    background: #22c55e;
}

.btn-hosting-theme:hover {
    background: #16a34a;
}

.btn-server-theme {
    background: #f97316;
}

.btn-server-theme:hover {
    background: #ea580c;
}

/* Coupon copy feedback (class toggled by assets/js/homepage.js) */
.coupon-copy-btn.is-copied {
    background: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25);
}

.coupon-copy-btn.is-copied i::before {
    content: "\f00c"; /* fa-check */
}

/* Brand Large Icon */
.campaign-brand-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: 20px;
    transition: transform 0.4s ease;
    opacity: 0.12;
    color: #64748b;
}

.campaign-card-hosting:hover .campaign-brand-icon {
    transform: scale(1.08) translateY(-4px);
    opacity: 0.35;
    color: #22c55e;
}

.campaign-card-server:hover .campaign-brand-icon {
    transform: scale(1.08) translateY(-4px);
    opacity: 0.35;
    color: #f97316;
}

.campaign-brand-icon i {
    font-size: 80px;
}

/* Countdown Timers */
.campaign-timer {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.timer-box {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.3px;
}

.timer-box-hosting {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.timer-box-server {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Floating Stars Animations */
@keyframes floatRotate {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.bg-icons-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-icons-container i {
    position: absolute;
    color: rgba(255, 255, 255, 0.05); /* Soft white icons on blue background */
}

.star1 { top: 5%; left: 5%; font-size: 40px; animation: floatRotate 12s infinite linear; }
.star2 { top: 20%; left: 30%; font-size: 35px; animation: floatRotate 14s infinite linear; }
.star3 { top: 40%; left: 60%; font-size: 50px; animation: floatRotate 10s infinite linear; }
.star4 { top: 70%; left: 20%; font-size: 30px; animation: floatRotate 16s infinite linear; }
.star5 { top: 80%; left: 75%; font-size: 45px; animation: floatRotate 18s infinite linear; }

.circle1 { top: 10%; right: 10%; font-size: 60px; animation: floatRotate 20s infinite linear; }
.circle2 { bottom: 5%; left: 15%; font-size: 70px; animation: floatRotate 22s infinite linear; }
.circle3 { bottom: 15%; right: 20%; font-size: 55px; animation: floatRotate 24s infinite linear; }
.circle4 { top: 35%; left: 10%; font-size: 65px; animation: floatRotate 19s infinite linear; }
.circle5 { top: 50%; right: 30%; font-size: 40px; animation: floatRotate 21s infinite linear; }
.circle6 { bottom: 25%; left: 50%; font-size: 35px; animation: floatRotate 23s infinite linear; }
.circle7 { top: 65%; right: 5%; font-size: 50px; animation: floatRotate 17s infinite linear; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .big-discount-container {
        padding: 0 20px;
    }
    .big-discount-grid {
        flex-direction: column;
    }
    .big-discount-card-wrap {
        width: 100%;
    }
    .campaign-card {
        padding: 22px;
    }
    .campaign-brand-icon {
        display: none;
    }
    .campaign-coupon-box {
        max-width: 100%;
        flex-wrap: wrap;
    }
    .coupon-input {
        min-width: 0;
        flex: 1 1 100%;
        font-size: 13px;
        padding: 8px 12px;
    }
    .coupon-copy-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 10px;
        font-size: 13px;
    }
    .campaign-bottom-section {
        overflow: visible;
    }
}
