/* Modern Landing Page Styles */

/* Override body padding for landing page */
body {
    padding: 0;
}

/* Site Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.banner-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.stat-divider {
    width: 2px;
    height: 50px;
    background: rgba(255,255,255,0.4);
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #223F99;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    background: #1a3077;
}

.banner-cta svg {
    width: 18px;
    height: 18px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #223F99, #3a5bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(34, 63, 153, 0.3);
}

.section-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #223F99;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Enhanced Prize Cards */
.prize-card {
    position: relative;
    overflow: hidden;
}

.prize-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #223F99, #3a5bb8);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(34, 63, 153, 0.3);
}

.prize-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px 15px 0 0;
}

.prize-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prize-card:hover .prize-image img {
    transform: scale(1.1);
}

.prize-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 63, 153, 0.1), rgba(58, 91, 184, 0.1));
}

.prize-placeholder svg {
    width: 60px;
    height: 60px;
    color: #223F99;
    opacity: 0.5;
}

.prize-content {
    padding: 1.5rem;
}

.prize-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
}

.prize-stock svg {
    width: 16px;
    height: 16px;
}

.prize-stock.out-of-stock {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Modern Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(34, 63, 153, 0.1);
}

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

.form-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #223F99, #3a5bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(34, 63, 153, 0.3);
}

.form-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.form-header h2 {
    font-size: 2rem;
    color: #223F99;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 1.05rem;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group label svg {
    width: 18px;
    height: 18px;
    color: #223F99;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #223F99;
    background: white;
    box-shadow: 0 0 0 4px rgba(34, 63, 153, 0.1);
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    padding-left: 2.5rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #223F99;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #223F99;
    border-color: #223F99;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    color: #666;
    font-size: 0.95rem;
}

.terms-link {
    color: #223F99;
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

.btn-spin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

/* Enhanced Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.alert-error svg {
    color: #e74c3c;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-left: 4px solid #f39c12;
    color: #d68910;
}

.alert-warning svg {
    color: #f39c12;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .banner-image {
        max-height: 1000px;
    }
    
    .banner-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .banner-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-divider {
        height: 40px;
    }
    
    .banner-cta {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .prizes-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .banner-image {
        max-height: 1000px;
    }
    
    .banner-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .banner-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.95rem;
    }
}

/* Site Footer */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 30px 20px;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.footer-copyright {
    text-align: left;
    line-height: 1.5;
}

.footer-developer {
    text-align: right;
}

.footer-developer a {
    color: #223f99;
    text-decoration: underline;
}

.footer-developer a:hover {
    color: #1a2f73;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright,
    .footer-developer {
        text-align: center;
    }
}
