/* ========================================
   Confession Booth Section (GLASSMORPHIC)
   ======================================== */
.confession-section {
    padding: var(--spacing-xl) 0;
    max-width: 900px;
    margin: 0 auto;
}

.confession-container {
    padding: 2rem;
}

.confession-booth {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--backdrop-blur-heavy));
    -webkit-backdrop-filter: blur(var(--backdrop-blur-heavy));
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: var(--spacing-lg);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.confession-booth::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, transparent 70%);
    animation: confessionGlow 6s ease-in-out infinite;
}

@keyframes confessionGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.confession-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(233, 30, 99, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--glass-border-bright);
    z-index: 1;
}

.confession-icon i {
    width: 40px;
    height: 40px;
    color: var(--primary-rose);
    filter: drop-shadow(0 0 15px rgba(156, 39, 176, 0.8));
}

.confession-text {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-md);
    z-index: 1;
    animation: confessionFadeIn 0.8s ease;
}

@keyframes confessionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confession-number {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.show-confession-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-rose), var(--accent-purple));
    background-size: 200% 200%;
    border: 2px solid var(--glass-border-bright);
    border-radius: 50px;
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 32px rgba(156, 39, 176, 0.4);
}

.show-confession-btn:hover {
    transform: scale(1.05);
    background-position: 100% 0;
    box-shadow: 0 12px 40px rgba(156, 39, 176, 0.6);
}

.show-confession-btn:active {
    transform: scale(0.98);
}

.show-confession-btn i {
    width: 24px;
    height: 24px;
    animation: shuffle 2s ease-in-out infinite;
}

@keyframes shuffle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* ========================================
   Gratitude Wall Section (GLASSMORPHIC)
   ======================================== */
.gratitude-section {
    padding: var(--spacing-xl) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.gratitude-wall {
    padding: 2rem;
}

.gratitude-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.gratitude-note {
    background: linear-gradient(135deg, 
        rgba(255, 235, 59, 0.3),
        rgba(255, 193, 7, 0.3));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform-origin: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(30px) rotate(0deg);
}

/* Staggered animations */
.gratitude-note:nth-child(1) { animation: noteAppear 0.8s ease 0.1s forwards; }
.gratitude-note:nth-child(2) { animation: noteAppear 0.8s ease 0.2s forwards; }
.gratitude-note:nth-child(3) { animation: noteAppear 0.8s ease 0.3s forwards; }
.gratitude-note:nth-child(4) { animation: noteAppear 0.8s ease 0.4s forwards; }
.gratitude-note:nth-child(5) { animation: noteAppear 0.8s ease 0.5s forwards; }
.gratitude-note:nth-child(6) { animation: noteAppear 0.8s ease 0.6s forwards; }
.gratitude-note:nth-child(7) { animation: noteAppear 0.8s ease 0.7s forwards; }
.gratitude-note:nth-child(8) { animation: noteAppear 0.8s ease 0.8s forwards; }
.gratitude-note:nth-child(9) { animation: noteAppear 0.8s ease 0.9s forwards; }
.gratitude-note:nth-child(10) { animation: noteAppear 0.8s ease 1.0s forwards; }

@keyframes noteAppear {
    to {
        opacity: 1;
        transform: translateY(0) rotate(var(--note-rotation));
    }
}

/* Slight rotation for sticky note effect */
.gratitude-note:nth-child(odd) {
    --note-rotation: -2deg;
}

.gratitude-note:nth-child(even) {
    --note-rotation: 2deg;
}

.gratitude-note:nth-child(3n) {
    --note-rotation: 1deg;
}

.gratitude-note:hover {
    transform: translateY(-8px) rotate(0deg) scale(1.02);
    box-shadow: 
        0 12px 48px rgba(255, 215, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* Tape effect at top */
.gratitude-note::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 25px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gratitude-note-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.gratitude-note-icon i {
    width: 28px;
    height: 28px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.gratitude-note-text {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Different colored notes */
.gratitude-note:nth-child(3n+1) {
    background: linear-gradient(135deg, 
        rgba(255, 235, 59, 0.3),
        rgba(255, 193, 7, 0.3));
    border-color: rgba(255, 215, 0, 0.4);
}

.gratitude-note:nth-child(3n+2) {
    background: linear-gradient(135deg, 
        rgba(255, 183, 197, 0.3),
        rgba(255, 138, 128, 0.3));
    border-color: rgba(255, 107, 107, 0.4);
}

.gratitude-note:nth-child(3n) {
    background: linear-gradient(135deg, 
        rgba(179, 229, 252, 0.3),
        rgba(129, 212, 250, 0.3));
    border-color: rgba(78, 205, 196, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gratitude-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .confession-text {
        font-size: 1.3rem;
    }

    .gratitude-note {
        min-height: 180px;
        padding: 1.5rem;
    }

    .gratitude-note-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .gratitude-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .confession-booth {
        padding: 2rem;
        min-height: 250px;
    }

    .confession-text {
        font-size: 1.2rem;
    }

    .show-confession-btn {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .gratitude-note {
        min-height: 160px;
        padding: 1.5rem;
    }

    .gratitude-note-text {
        font-size: 1rem;
    }
}
