/* --- Root Colors --- */
:root {
    --xmas-green: #165b33;
    --xmas-red: #bb2528;
    --xmas-gold: #f8b229;
    --white: #ffffff;
    --light-bg: #f4f7f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* --- Header Section --- */
header {
    background: linear-gradient(135deg, var(--xmas-green), #052f18);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    border-bottom: 6px solid var(--xmas-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo {
    width: 70px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.head-title {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 2.8rem;
    color: var(--xmas-gold);
}

.sub-title {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- Banner & Form --- */
.banner-area {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('d4.png') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.form-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    color: white;
}

.festive-icon { font-size: 50px; margin-bottom: 10px; }

.form-box h2 { font-size: 26px; margin-bottom: 10px; color: var(--xmas-gold); }

.input-field {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.input-field i { color: #666; }

.input-field input {
    border: none;
    padding: 12px;
    width: 100%;
    outline: none;
    font-size: 15px;
}

.submit-btn {
    width: 100%;
    background: var(--xmas-red);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(187, 37, 40, 0.4);
}

.submit-btn:hover {
    background: var(--xmas-green);
    transform: scale(1.03);
}

/* --- Cards Section --- */
.offer-title {
    text-align: center;
    font-size: 2rem;
    margin: 50px 0 30px;
    color: var(--xmas-green);
}

.cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 90%;
    margin: 0 auto 60px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }

.card-icon { font-size: 40px; margin-bottom: 15px; color: #444; }

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--xmas-red);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.red-border { border-top: 5px solid var(--xmas-red); }
.green-border { border-top: 5px solid var(--xmas-green); }

.card h3 { margin-bottom: 5px; color: #333; }
.shop-no { font-size: 13px; color: #888; margin-bottom: 10px; }
.promo { font-size: 1.2rem; font-weight: bold; color: var(--xmas-red); }

/* --- Admin & Footer --- */
.admin-section {
    background: #fff;
    padding: 50px 20px;
    text-align: center;
    border-top: 2px solid #ddd;
}

.admin-controls input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}

.admin-btn {
    background: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--xmas-green);
    color: white;
    font-size: 14px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .head-title { font-size: 2rem; }
    .banner-area { min-height: 60vh; }
    .cards-section { grid-template-columns: 1fr; width: 95%; }
}