* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #fff7ef, #efd0b8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.album-box {
    width: 100%;
    max-width: 540px;
    background: rgba(255,255,255,.94);
    border-radius: 30px;
    padding: 38px;
    box-shadow: 0 25px 70px rgba(80,45,25,.18);
}

.album-box h1 {
    text-align: center;
    color: #7c4a31;
    margin-bottom: 10px;
    font-size: 34px;
}

.album-box p {
    text-align: center;
    color: #6f5c52;
    margin-bottom: 25px;
    line-height: 1.5;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #6b432e;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #dfc7b7;
    border-radius: 14px;
    margin-bottom: 15px;
    outline: none;
    background: white;
}

input:focus {
    border-color: #b9855d;
    box-shadow: 0 0 0 3px rgba(185,133,93,.15);
}

button {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg,#c49b6a,#8b5e3c);
    color: white;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

.alert {
    padding: 14px;
    border-radius: 14px;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 600;
}

.success {
    background: #e8fff1;
    color: #146c43;
    border: 1px solid #a7f3c7;
}

.error {
    background: #ffe5e5;
    color: #9b1c1c;
    border: 1px solid #ffc0c0;
}

.note {
    font-size: 13px;
    color: #8a6b5a;
    margin-top: -6px;
    margin-bottom: 15px;
    text-align: left !important;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #7c4a31;
    text-decoration: none;
    font-weight: 600;
}

@media(max-width:600px) {
    .album-box {
        padding: 28px 20px;
    }

    .album-box h1 {
        font-size: 28px;
    }
}

.petals {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.petal {
    position: absolute;
    top: -40px;
    display: block;
    border-radius: 70% 30% 70% 30%;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(230,154,120,.75));
    animation: petalFall linear infinite;
    filter: blur(.2px);
}

@keyframes petalFall {
    0% {
        transform: translateY(-60px) translateX(0) rotate(0deg);
    }

    50% {
        transform: translateY(55vh) translateX(45px) rotate(180deg);
    }

    100% {
        transform: translateY(110vh) translateX(-35px) rotate(360deg);
    }
}

.album-box {
    position: relative;
    z-index: 2;
}

.photo-warning{
    display:none;
    margin-bottom:12px;
    padding:13px 15px;
    border-radius:12px;
    background:#ffe5e5;
    color:#9b1c1c;
    border:1px solid #ffc0c0;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
}

.photo-warning.active{
    display:block;
}

/* RSVP ve albüm formları için KVKK checkbox tasarımı */
.kvkk-check-area{
    margin:14px 0 18px;
    display:flex;
    flex-direction:column;
    gap:9px;
}
.kvkk-check-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:0;
    padding:0;
    color:#5f5360;
    font-size:.88rem;
    line-height:1.45;
}
.kvkk-check-item input{
    width:18px;
    height:18px;
    margin-top:2px;
    flex:0 0 18px;
    accent-color:#b76e79;
}
.kvkk-check-item a{
    color:#b76e79;
    font-weight:700;
    text-decoration:none;
}
.kvkk-check-item a:hover{text-decoration:underline;}
@media(max-width:600px){
    .kvkk-check-area{gap:8px;margin:12px 0 16px;}
    .kvkk-check-item{font-size:.82rem;}
}


/* Albüm sayfası dönüş butonları */
.album-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

.album-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c49b6a, #8b5e3c);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    box-sizing: border-box;
}

.album-nav-btn:hover {
    filter: brightness(1.05);
}

.album-nav-btn-secondary {
    background: #fff;
    color: #7c4a31;
    border: 1px solid #c49b6a;
}

@media (max-width: 600px) {
    .album-nav-actions {
        grid-template-columns: 1fr;
    }
}

/* Davetiyeye dönüş bağlantısı */
.demo-back {
    position: fixed;
    top: 17px;
    left: 17px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    padding: 11px 16px;
    border: 1px solid rgba(124, 74, 49, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #7c4a31;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(68, 50, 58, .12);
    text-decoration: none;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .03em;
}

@media (max-width: 600px) {
    .demo-back {
        top: 10px;
        left: 10px;
    }
}
