* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Georgia', 'Times New Roman', serif; color: #333; line-height: 1.6; background: #faf8f5; }
img { max-width: 100%; }
a { text-decoration: none; }
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section:nth-child(even) { background: #fff; }
.section-title { text-align: center; font-size: 28px; color: #c9a96e; margin-bottom: 12px; }
.section-desc { text-align: center; color: #666; max-width: 600px; margin: 0 auto 40px; font-size: 15px; line-height: 1.8; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 30px; font-size: 14px; border: none; cursor: pointer; transition: all 0.3s; font-family: inherit; }
.btn-primary { background: #c9a96e; color: white; }
.btn-primary:hover { background: #b8954f; }
.btn-sm { padding: 8px 18px; font-size: 13px; background: #c9a96e; color: white; }
.btn-full { width: 100%; }
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; background: linear-gradient(135deg, #1a1a2e, #16213e); color: white; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="80" font-size="80" opacity="0.03">💍</text></svg>') repeat; background-size: 120px; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.5) 100%); }
.hero-content { position: relative; z-index: 1; padding: 20px; }
.hero-save { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: #c9a96e; margin-bottom: 10px; }
.hero-date { font-size: 18px; letter-spacing: 2px; margin-bottom: 20px; color: rgba(255,255,255,0.7); }
.hero-content h1 { font-size: clamp(28px, 5vw, 52px); margin-bottom: 15px; }
.hero-amp { color: #c9a96e; margin: 0 10px; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 30px; }

/* Couple */
.couple-grid { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; }
.couple-card { text-align: center; padding: 30px; }
.couple-card h3 { font-size: 22px; color: #333; margin-bottom: 8px; }
.couple-card p { color: #666; font-size: 14px; line-height: 1.7; }
.couple-avatar { font-size: 64px; margin-bottom: 15px; }
.couple-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border: 4px solid #c9a96e; }
.couple-amp { font-size: 36px; color: #c9a96e; }

/* Events */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.event-card { background: #faf8f5; padding: 30px; border-radius: 12px; text-align: center; border: 1px solid #eee; }
.event-icon { font-size: 40px; margin-bottom: 10px; }
.event-card h3 { font-size: 20px; color: #c9a96e; margin-bottom: 10px; }
.event-date { font-size: 16px; font-weight: bold; color: #333; }
.event-time { color: #666; margin: 5px 0; }
.event-place { font-weight: bold; margin-top: 10px; }
.event-addr { color: #888; font-size: 13px; margin-bottom: 15px; }

/* Countdown */
.countdown { background: linear-gradient(135deg, #c9a96e, #b8954f); color: white; }
.countdown .section-title { color: white; }
.countdown-grid { display: flex; justify-content: center; gap: 30px; text-align: center; }
.countdown-grid span { display: block; font-size: 48px; font-weight: bold; }
.countdown-grid p { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; opacity: 0.8; }

/* Form */
.form { max-width: 500px; margin: 0 auto 30px; background: #faf8f5; padding: 30px; border-radius: 12px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 5px; color: #555; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="number"], .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; background: white; transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #c9a96e; }
.form-group input[type="checkbox"] { width: auto; margin-right: 8px; }
.form-result { max-width: 500px; margin: 0 auto; text-align: center; padding: 15px; border-radius: 8px; display: none; }
.form-result.success { display: block; background: #d4edda; color: #155724; }
.form-result.error { display: block; background: #f8d7da; color: #721c24; }

/* Wishes */
.wishes-list { max-width: 600px; margin: 40px auto 0; }
.wishes-list h3 { text-align: center; margin-bottom: 20px; color: #c9a96e; }
.wish-item { background: #faf8f5; padding: 18px; border-radius: 8px; margin-bottom: 12px; border-left: 3px solid #c9a96e; }
.wish-item .wish-name { font-weight: bold; color: #333; }
.wish-item .wish-date { font-size: 12px; color: #999; float: right; }
.wish-item .wish-msg { margin-top: 5px; color: #555; font-size: 14px; }

/* Gallery */
.gallery .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery .gallery-item { border-radius: 10px; overflow: hidden; transition: transform 0.3s; }
.gallery .gallery-item:hover { transform: scale(1.03); }
.gallery .gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }

/* Gift */
.gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: 500px; margin: 0 auto; }
.gift-card { background: white; border: 2px dashed #c9a96e; padding: 25px; border-radius: 12px; text-align: center; cursor: pointer; transition: all 0.3s; }
.gift-card:hover { background: #faf8f5; transform: translateY(-2px); }
.gift-card h3 { color: #c9a96e; font-size: 18px; margin-bottom: 8px; }
.gift-number { font-size: 20px; font-weight: bold; letter-spacing: 2px; color: #333; }
.gift-name { color: #666; font-size: 13px; margin-top: 5px; }
.gift-copy { font-size: 12px; color: #c9a96e; margin-top: 8px; opacity: 0; transition: opacity 0.3s; }
.gift-card:hover .gift-copy { opacity: 1; }

/* Footer */
.footer { text-align: center; padding: 40px 20px; background: #1a1a2e; color: rgba(255,255,255,0.7); }
.footer-couple { font-size: 22px; color: #c9a96e; margin: 10px 0; }
.footer-small { font-size: 13px; }

/* Music Button */
.music-btn {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 52px; height: 52px; border-radius: 50%; border: none;
    background: #c9a96e; color: white; font-size: 22px; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.music-btn:hover { transform: scale(1.1); background: #b8954f; }
.music-btn.playing #musicIcon { animation: spin 3s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 600px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 22px; }
    .countdown-grid span { font-size: 32px; }
    .countdown-grid { gap: 15px; }
    .events-grid { grid-template-columns: 1fr; }
}
