/* Bonus System Styles - Shared across all languages */

/* Hero Section */
.bonus-hero {
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    padding: 3rem 0;
    height: 252px;
    text-align: center;
    display: flex;
    align-items: center;
}

.bonus-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bonus-hero h1 {
    font-size: 3rem;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.bonus-hero p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .bonus-hero h1 {
        font-size: 2rem;
    }

    .bonus-hero p {
        font-size: 1rem;
    }
}

.bonus-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 968px) {
    .bonus-grid {
        grid-template-columns: 1fr;
    }
}

.bonus-section {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bonus-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #257168 0%, #14b8a6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.bonus-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 113, 104, 0.15);
}

.bonus-section:hover::before {
    transform: scaleX(1);
}

.bonus-section h2 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.bonus-section p.subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group select,
.form-group input[type="email"],
.form-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #257168;
}

.checkbox-group {
    display: grid;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-item:hover {
    border-color: #257168;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 113, 104, 0.1);
}

.checkbox-item input[type="checkbox"]:checked+label,
.checkbox-item:has(input[type="checkbox"]:checked) {
    border-color: #257168;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-item label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #257168 0%, #1d5750 100%);
    color: white;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 113, 104, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d5750 0%, #257168 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(37, 113, 104, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.review-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0fdfa;
}

.review-links h4 {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
}

.review-links a {
    display: block;
    color: #257168;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.review-links a:hover {
    text-decoration: underline;
}

.download-links {
    display: none;
    margin-top: 1.5rem;
}

.download-link {
    display: block;
    padding: 1rem;
    background: #f0fdfa;
    border: 2px solid #257168;
    border-radius: 8px;
    color: #257168;
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.download-link:hover {
    background: #257168;
    color: white;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 400px;
    text-align: center;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup h3 {
    color: #257168;
    margin-bottom: 1rem;
}

.popup button {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #257168;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Photo Stack - Resource Preview */
.photo-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0.5rem 0;
    width: 100%;
}

.photo-item {
    background: white;
    padding: 8px 8px 28px 8px;
    box-shadow: 3px 4px 14px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.10);
    border-radius: 2px;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-item:nth-child(1) {
    transform: rotate(-3deg);
}

.photo-item:nth-child(2) {
    transform: rotate(2.5deg);
}

.photo-item:nth-child(3) {
    transform: rotate(-2deg);
}

.photo-item:nth-child(4) {
    transform: rotate(3.5deg);
}

.photo-item:hover {
    transform: rotate(0deg) scale(1.04) !important;
    box-shadow: 5px 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 10;
}