/* ========================================
   Home Page Styles
   Hệ Thống Đăng Ký Cầu Nguyện
   ======================================== */

:root {
    --primary: #1A5276;
    --primary-light: #2E86AB;
    --primary-dark: #154360;
    --accent: #D4AC0D;
    --accent-light: #F4D03F;
    --success: #1E8449;
    --text-dark: #2C3E50;
    --text-muted: #7F8C8D;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   Section Common Styles
   ======================================== */

.intro-section,
.registration-section {
    padding: 3rem 0;
}

.intro-section {
    background: white;
}

.registration-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Introduction Section
   ======================================== */

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: justify;
}

.intro-text strong {
    color: var(--primary);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

/* ========================================
   Registration Cards Section
   ======================================== */

.registration-options {
    margin-top: 2rem;
}

.registration-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transition: height 0.3s ease;
}

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

.registration-card:hover::before {
    height: 6px;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.new-registration .card-icon {
    color: var(--accent);
}

.re-registration .card-icon {
    color: var(--primary-light);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.card-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features i {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-register.new {
    background: linear-gradient(135deg, var(--accent), #F39C12);
    color: white;
    box-shadow: 0 4px 12px rgba(212, 172, 13, 0.3);
}

.btn-register.new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 172, 13, 0.4);
    background: linear-gradient(135deg, #F39C12, var(--accent));
}

.btn-register.returning {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.3);
}

.btn-register.returning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.card-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--success);
    color: white;
    padding: 0.35rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-badge.coming-soon {
    background: var(--text-muted);
}

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

@media (max-width: 768px) {
    .intro-section {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .intro-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .registration-card {
        padding: 1.5rem 1.25rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .card-description {
        font-size: 0.85rem;
    }

    .card-features li {
        font-size: 0.8rem;
    }

    .btn-register {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

