:root {
    --primary-color: #ff9a9e; /* soft pink */
    --secondary-color: #a1c4fd; /* soft baby blue */
    --accent-green: #a1c4fd;
    --text-main: #333;
    --paper-bg: #fff;
    --nav-height: 60px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(-45deg, #ff9a9e, #fecfef, #a1c4fd, #c2e9fb);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 100;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
    animation: zoomMove 4s ease-in-out infinite;
    display: inline-block;
    transition: transform 0.3s;
}

.nav-logo:hover {
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-icon {
    color: #333;
    display: flex;
    align-items: center;
}

/* MAIN WRAPPER */
.main-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* LANDING PAGE animasi gradasi */
.landing-section {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 600px;
}

/* animasi gradasi */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.landing-notification {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 18px 28px;
    display: block;
    margin-bottom: 40px;
    max-width: 700px;
    box-shadow: 0 8px 25px rgba(79, 158, 227, 0.15);
}

.badge-new {
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    /* Star shape approximation via CSS is hard, circle is fine */
    font-weight: 900;
    font-size: 0.7rem;
    padding: 8px 6px;
    line-height: 1;
    transform: rotate(-10deg);
}

.notif-text {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.notif-text strong {
    color: #333;
    font-weight: 600;
}

.notif-text a {
    color: #1a73e8;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    max-width: 1000px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 10px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    margin-bottom: 40px;
    color: #444;
    line-height: 1.5;
}

.est-label {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.est-label.left {
    left: -60px;
}

.est-label.right {
    right: -60px;
}

.btn-start-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 18px 50px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-start-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 154, 158, 0.4);
    filter: brightness(1.05);
}

/* DECORATION MOCKUPS */
.deco-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.strip-mockup {
    width: 200px;
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 4px;
    overflow: hidden;
}

.strip-mockup:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rotate-right {
    transform: rotate(5deg);
}

.mock-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

.mock-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: #333;
    border: 1px solid #eee;
}

/* Fallback for Safari older versions */
@supports not (aspect-ratio: auto) {
    .mock-photo {
        padding-bottom: 75%;
        height: 0;
    }
}

/* ABOUT PAGE (Updated for Blue) */
.about-section {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    border-radius: 40px;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    /* Initially hidden by JS */
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.about-header-card,
.faq-card {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.about-header-card h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
}

.about-header-card p {
    line-height: 1.6;
    color: #444;
    font-size: 0.95rem;
}

.faq-card h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-item {
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.faq-item p,
.faq-item li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.faq-item ol {
    padding-left: 20px;
}

/* SPOTLIGHT GRID */
.spotlight-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.spot-item {
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.spot-item:hover {
    transform: translateY(-5px);
}

/* CONTACT FORM */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

/* LAYOUT SELECTION PAGE */
.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.layout-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 12px 35px rgba(255, 154, 158, 0.15);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    position: relative;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.layout-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1), transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.6s;
}

.layout-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 154, 158, 0.25);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.layout-card:hover::before {
    opacity: 1;
}

.layout-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.8);
}

.badge-new {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 900;
    box-shadow: 0 6px 15px rgba(255, 154, 158, 0.4);
    z-index: 10;
    animation: pulseBadge 2s infinite;
    letter-spacing: 0.5px;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 15px rgba(255, 75, 43, 0.4);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 8px 25px rgba(255, 75, 43, 0.6);
    }
}

.layout-preview {
    width: 120px;
    height: 160px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px dashed rgba(255, 154, 158, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s;
}

.layout-card:hover .layout-preview {
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border-color: rgba(79, 158, 227, 0.5);
    box-shadow: inset 0 2px 8px rgba(79, 158, 227, 0.1), 0 2px 8px rgba(79, 158, 227, 0.1);
}

.layout-card h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.layout-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* ===== PREVIEW STYLES (Layout Selection Cards) ===== */

/* Strip Vertical Layout (A) */
.preview-strip-vertical {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.preview-photo-rect {
    width: 100%;
    height: 28px;
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1.5px solid rgba(79, 158, 227, 0.4);
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(79, 158, 227, 0.1);
}

/* Newspaper Layout (B) */
.preview-newspaper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.news-header {
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1.5px solid #333;
    padding-bottom: 2px;
    color: #333;
    letter-spacing: 0.5px;
}

.news-title {
    height: 6px;
    background: #333;
    width: 85%;
    margin: 0 auto;
    border-radius: 1px;
}

.news-subtitle {
    height: 4px;
    background: #666;
    width: 70%;
    margin: 0 auto;
    border-radius: 1px;
}

.news-photo {
    width: 100%;
    height: 28px;
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1px solid rgba(79, 158, 227, 0.4);
    border-radius: 2px;
    margin: 2px 0;
}

.news-text {
    height: 3px;
    background: #666;
    width: 100%;
    border-radius: 1px;
}

.news-text.short {
    width: 80%;
}

/* Double Newspaper Layout (C) */
.preview-newspaper-double {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px;
}

.news-header-small {
    font-size: 6px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1px;
    color: #333;
}

.news-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    height: 100%;
    flex: 1;
}

.news-photo-main {
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1px solid rgba(79, 158, 227, 0.4);
    border-radius: 2px;
    grid-column: span 1;
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-text-line {
    height: 2px;
    background: #666;
    border-radius: 1px;
    width: 100%;
}

.news-photo-small {
    flex: 1;
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1px solid rgba(79, 158, 227, 0.4);
    border-radius: 2px;
}

/* Grid 2x2 Layout (D) */
.preview-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.grid-photo {
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1.5px solid rgba(79, 158, 227, 0.4);
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(79, 158, 227, 0.08);
}

/* Grid 3x2 Layout (E) */
.preview-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 100%;
    height: 100%;
}

.grid-photo-sm {
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1.5px solid rgba(79, 158, 227, 0.4);
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(79, 158, 227, 0.08);
}

/* Grid 4x2 Layout (F) */
.preview-grid-4x2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    width: 100%;
    height: 100%;
}

.grid-photo-xs {
    background: linear-gradient(135deg, #e0ecff 0%, #d8e8ff 100%);
    border: 1.5px solid rgba(79, 158, 227, 0.4);
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(79, 158, 227, 0.08);
}

/* ===== END PREVIEW STYLES ===== */

/* THEME CIRCLES UI */
.theme-circles {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.theme-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, border-color 0.2s;
}

.theme-circle:hover {
    transform: scale(1.1);
}

.theme-circle.active {
    border-color: var(--primary-color);
    transform: scale(1.15);
}

/* Mini Previews */
.mini-strip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 80%;
}

.mini-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: #ccc;
    border: 1px solid #999;
}

.mini-newspaper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mini-head {
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #000;
}

.mini-photo-rect {
    width: 100%;
    height: 50%;
    background: #ccc;
    border: 1px solid #000;
}

.coming-soon {
    font-size: 0.7rem;
    font-weight: bold;
    color: #999;
    transform: rotate(-10deg);
}

/* NAV CTA */
.nav-cta {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* APP INTERFACE */
.app-interface {
    flex: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    animation: fadeIn 0.5s ease-out;
}

/* 2x2 GRID LAYOUT STYLES (Layout D) */
.photo-grid-2x2 {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 25px 20px;
    width: 320px;
    /* Wider than strip */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    display: none;
    /* Controlled by JS */
    border-radius: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns */
    gap: 10px;
    width: 100%;
}

.grid-photo {
    width: 100%;
    aspect-ratio: 4/3;
    /* Webcam standard */
    background: #f0f0f0;
    overflow: hidden;
    border: 3px solid #000;
}

.grid-footer {
    text-align: center;
    margin-top: 5px;
}

.grid-footer h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 2px;
}

.grid-footer p {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

/* MINI GRID PREVIEW (Layout D Icon) */
.mini-grid {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.mini-photo-sq {
    width: 100%;
    aspect-ratio: 1;
    background: #ccc;
    border: 1px solid #999;
}

.mini-six {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
}

.mini-six .mini-photo-sq {
    aspect-ratio: 4/5;
}

.mini-eight {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 2px;
}

.mini-eight .mini-photo-sq {
    aspect-ratio: 4/3;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.btn-back {
    background: transparent;
    color: #555;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-weight: 600;
}

.btn-back:hover {
    background: #f9f9f9;
}

/* REUSE EXISTING STYLES WITH ADJUSTMENTS */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

/* Sections */
.camera-section {
    flex: 1;
    min-width: 350px;
}

.preview-section {
    flex: 1;
    min-width: 300px;
    /* Reduced for strip width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Video */
.video-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    aspect-ratio: 4/3;
    position: relative;
    border: 4px solid #fff;
    -webkit-user-select: none;
    user-select: none;
}

@supports not (aspect-ratio: auto) {
    .video-container {
        padding-bottom: 75%;
        height: 0;
    }
}

/* COUNTDOWN OVERLAY */
.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 5rem;
    /* Reduced from 8rem */
    font-weight: 800;
    z-index: 10;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* FILTER CIRCLES */
.filter-circles {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
}

.filter-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.filter-circle:hover {
    transform: scale(1.1);
}

.filter-circle.active {
    border-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 198, 251, 0.4);
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

/* Controls */
.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* Inputs & Buttons */
.control-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

select,
input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    color: #333;
    -webkit-appearance: none;
    appearance: none;
}

select:focus,
input[type="text"]:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(0, 198, 251, 0.2);
}

/* Radio Buttons Redesign */
.radio-group {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 15px;
    flex-wrap: wrap;
}

.radio-label {
    flex: 1;
    position: relative;
    cursor: pointer;
    text-align: center;
}

.radio-label input {
    display: none;
}

.radio-content {
    display: block;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.radio-label input:checked+.radio-content {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


button {
    cursor: pointer;
    border: none;
    padding: 16px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    -webkit-transition: transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
    -webkit-appearance: none;
    appearance: none;
    -webkit-font-smoothing: antialiased;
}

.progress-indicator {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 5px;
}

/* MINI DOUBLE NEWS PREVIEW */
.mini-newspaper-double {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 2px;
}

.mini-photo-rect-small {
    width: 100%;
    height: 35%;
    background: #ccc;
    border: 1px solid #000;
}

.mini-row {
    display: flex;
    gap: 3px;
    height: 30%;
}

.mini-text-lines {
    flex: 1;
    background: repeating-linear-gradient(#eee, #eee 2px, transparent 2px, transparent 4px);
}

.mini-photo-rect-extra-small {
    width: 40%;
    height: 100%;
    background: #ccc;
    border: 1px solid #000;
}

.btn-capture-large {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 198, 251, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-capture-large:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 117, 140, 0.4);
}

.btn-capture-large:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
}

.main-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-upload {
    background: #fff;
    color: #444;
    border: 2px solid #eee;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-upload:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-reset {
    background: #f1f2f6;
    color: #7f8c8d;
    width: 100%;
}

.btn-download {
    background: #333;
    color: white;
    margin-top: 20px;
    width: 100%;
}

/* --- LAYOUTS --- */

/* 1. KORAN / NEWSPAPER */
.koran-paper {
    background: rgba(253, 251, 247, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 212, 212, 0.6);
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    color: #1a1a1a;
    display: none;
    /* Controlled by JS */
}

/* Reusing existing newspaper styles but ensuring they work inside this structure */
.paper-brand {
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid #333;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    /* Added size constraint */
}

.main-headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    /* Reduced from 2.5rem */
    text-align: center;
    margin: 12px 0;
    line-height: 1;
}

.paper-photo {
    width: 100%;
    margin: 15px 0;
    background: #eee;
    border: 1px solid #333;
    overflow: hidden;
}

.small-photo {
    width: 100%;
    margin: 5px 0;
    max-height: 120px;
}

#canvas {
    width: 100%;
    height: auto;
    display: block;
}

.newspaper-columns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* KORAN V2 (DOUBLE NEWS) - PREMIUM REFINEMENT */
.koran-v2 {
    max-width: 420px !important;
    padding: 30px !important;
    border: 1px solid #ccc;
}

.koran-header-v2 {
    text-align: center;
    border-bottom: 3px double #000;
    margin-bottom: 5px;
    padding-bottom: 2px;
}

.brand-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 0px;
    line-height: 1;
    text-transform: uppercase;
}

.headline-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.1;
    margin: 15px 0 25px;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
}

.paper-meta-v2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    border-top: 1px solid #000;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
}

.headline-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin: 15px 0;
    letter-spacing: -1px;
}

.photo-main-v2 {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    border: 1px solid #000;
    overflow: hidden;
    margin-bottom: 15px;
}

.photo-main-v2 canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body-v2 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.news-text-v2 {
    flex: 1.2;
    font-family: 'Times New Roman', serif;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: justify;
}

.news-side-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.photo-side-v2 {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    border: 1px solid #000;
    overflow: hidden;
}

.photo-side-v2 canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-caption-v2 {
    font-size: 0.6rem;
    font-style: italic;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
    text-align: center;
    color: #444;
}

/* 2. PHOTO STRIP (Minimalist Style) */
.photo-strip {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 25px 20px;
    width: 250px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    display: none;
    /* Controlled by JS */
    border-radius: 2px;
    /* Slight roundness just for feel, mostly sharp */
}

.strip-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Spacing between photos */
    width: 100%;
}

.strip-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    overflow: hidden;
    border: 3px solid #000;
    /* Distinct border around each photo */
    position: relative;
}

.strip-photo canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.strip-footer {
    text-align: center;
    margin-top: 10px;
    width: 100%;
}

.strip-footer h2 {
    font-family: 'Permanent Marker', cursive;
    transform: rotate(0deg);
    /* No rotation for clean look */
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.strip-footer p {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #444;
    margin-top: 2px;
    letter-spacing: 3px;
    font-weight: bold;
}

/* Flash & Animations */
.flash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
}

.flash-active {
    animation: flashAnim 0.3s ease-out;
}

@keyframes flashAnim {
    0% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomMove {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.05) rotate(-2deg);
    }

    50% {
        transform: scale(1.1) rotate(2deg);
    }

    75% {
        transform: scale(1.05) rotate(-1deg);
    }
}

/* Helpers */
.city-banner {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.city-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* MOBILE RESPONSIVENESS & HAMBURGER MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-icon {
        display: none;
    }

    .navbar {
        width: 95%;
        margin: 10px auto;
        padding: 0 20px;
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    /* Animation for Hamburger to X */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        max-height: 400px;
        /* Adjust based on content */
        padding: 20px 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f9f9f9;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .landing-section {
        padding: 40px 20px;
        border-radius: 30px;
    }

    /* Mobile Grid Layout - 2 columns */
    .layout-grid, .spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
        max-width: 100%;
    }

    .layout-card {
        padding: 18px 12px;
        width: 100%;
    }
    
    .layout-card h3 {
        font-size: 1rem;
    }
    
    .layout-card p {
        font-size: 0.75rem;
    }
    
    .layout-preview {
        width: 90px;
        height: 120px;
    }
    
    .badge-new {
        top: -6px;
        right: -6px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .radio-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
    }

    .radio-label {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .radio-content {
        padding: 10px 15px;
        white-space: nowrap;
        font-size: 0.8rem;
    }

    .app-interface {
        padding: 15px;
        border-radius: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .camera-section {
        width: 100%;
        min-width: unset;
        order: 1;
    }

    .preview-section {
        width: 100%;
        min-width: unset;
        order: 2;
        padding-bottom: 30px;
    }

    /* Keep video frame tight on mobile */
    .video-container {
        margin-bottom: 15px;
        max-height: 55vh;
        border-width: 2px;
        border-radius: 12px;
    }

    /* Scrollable Filters */
    .filter-circles, .theme-circles {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 15px 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-circle, .theme-circle {
        flex: 0 0 auto;
    }

    .koran-paper,
    .photo-grid-2x2,
    .photo-strip {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .countdown-overlay {
        font-size: 4rem;
    }
}

/* Smallest devices (iPhone SE, etc) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .layout-card {
        width: 100%;
        /* Stack on very small screens */
    }

    .nav-logo {
        font-size: 1.2rem;
    }
}

/* PHOTO PREVIEW MODAL */
.preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

.preview-container {
    background: linear-gradient(135deg, rgba(79, 158, 227, 0.15) 0%, rgba(142, 102, 206, 0.12) 100%);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    width: 100%;
    max-width: 450px;
    border-radius: 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(15, 23, 42, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-header {
    text-align: center;
    padding: 28px 24px 20px 24px;
    background: linear-gradient(135deg, rgba(79, 158, 227, 0.1) 0%, rgba(142, 102, 206, 0.08) 100%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.preview-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.preview-header h2 {
    font-size: 1.5rem;
    color: #1a202c;
    margin: 0 0 6px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.preview-header p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.preview-image-wrapper {
    width: 100%;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(79, 158, 227, 0.08) 0%, rgba(142, 102, 206, 0.06) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 350px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 
        0 8px 24px rgba(15, 23, 42, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.preview-actions {
    display: flex;
    gap: 14px;
    flex-direction: column;
    padding: 24px 24px 28px 24px;
    background: linear-gradient(135deg, rgba(79, 158, 227, 0.08) 0%, rgba(142, 102, 206, 0.06) 100%);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-confirm {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 
        0 8px 16px rgba(16, 185, 129, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.3),
        inset 0 -2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(16, 185, 129, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.btn-confirm:active {
    transform: translateY(-1px);
}

.btn-continue {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    color: #1a202c;
    padding: 14px 24px;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.3px;
}

.btn-continue:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.btn-continue:active {
    transform: translateY(-1px);
}

/* MANUAL CROP MODAL */
.crop-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    /* Controlled by JS */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.crop-container {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.crop-container h3 {
    text-align: center;
    font-size: 1.4rem;
    color: #333;
}

.crop-box {
    width: 100%;
    max-height: 400px;
    background: #eee;
    overflow: hidden;
    border-radius: 10px;
}

.crop-actions {
    display: flex;
    gap: 15px;
}

.btn-cancel {
    flex: 1;
    background: #f1f2f6;
    color: #444;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-apply {
    flex: 2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 198, 251, 0.3);
}

.btn-apply:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.app-footer-copyright {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 40px;
    font-family: 'Inter', sans-serif;
}

.app-footer-copyright p {
    margin: 0;
}

/* ENHANCED PHOTO STRIP THEMES */
.photo-strip {
    background: #fff;
    padding: 25px 20px 40px;
    width: 250px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.strip-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.strip-photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    overflow: hidden;
    border: 3px solid #000;
    transition: all 0.3s ease;
    position: relative;
}

.strip-photo canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.strip-footer {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    z-index: 2;
}

.strip-footer h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: #000;
    margin: 0;
}

.strip-footer p {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    margin: 5px 0 0;
}

/* THEME VARIATIONS */

/* Pastel Pink Theme */
.photo-strip.theme-pastel {
    background: linear-gradient(135deg, #FF9A9E 0%, #FAD0C4 100%);
}

.photo-strip.theme-pastel .strip-photo {
    border-color: #fff;
    border-radius: 20px;
}

.photo-strip.theme-pastel .strip-footer h2 {
    color: #fff;
    font-family: 'Kaushan Script', cursive;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.photo-strip.theme-pastel .strip-footer p {
    color: #fff;
    opacity: 0.8;
}

.photo-strip.theme-pastel .deco-top::before {
    content: '🌸';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
}

.photo-strip.theme-pastel .deco-bottom::before {
    content: '✨';
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 20px;
}

/* Sky Blue Theme */
.photo-strip.theme-sky {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.photo-strip.theme-sky .strip-photo {
    border-color: #fff;
    border-radius: 50px 50px 20px 20px;
}

.photo-strip.theme-sky .strip-footer h2 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.photo-strip.theme-sky .deco-top::before {
    content: '☁️';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 30px;
    opacity: 0.6;
}

/* Vibrant Theme */
.photo-strip.theme-vibrant {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.photo-strip.theme-vibrant .strip-photo {
    border: 5px solid #fff;
    border-radius: 10px;
    transform: rotate(2deg);
}

.photo-strip.theme-vibrant .strip-photo:nth-child(even) {
    transform: rotate(-2deg);
}

.photo-strip.theme-vibrant .strip-footer h2 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
}

/* Dark Theme */
.photo-strip.theme-dark {
    background: #1a1a1a;
}

.photo-strip.theme-dark .strip-photo {
    border: 2px solid #333;
}

.photo-strip.theme-dark .strip-footer h2 {
    color: #f1c40f;
    font-family: 'Courier New', monospace;
}

.photo-strip.theme-dark .strip-footer p {
    color: #888;
}

.photo-strip.theme-dark .deco-top::before {
    content: '⭐';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 15px;
    color: #f1c40f;
}

/* Summer Theme */
.photo-strip.theme-summer {
    background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
    background-image: radial-gradient(#ffffff 10%, transparent 10%);
    background-size: 20px 20px;
}

.photo-strip.theme-summer .strip-photo {
    border: 8px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo-strip.theme-summer .strip-footer h2 {
    color: #ff7675;
    font-family: 'Permanent Marker', cursive;
}

.photo-strip.theme-summer .deco-bottom::before {
    content: '🏖️';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 25px;
}

/* NEW THEMES FROM REFERENCE */

/* Cow Theme */
.photo-strip.theme-cow {
    background-color: #fff;
    background-image:
        radial-gradient(circle at 10% 20%, #000 10%, transparent 11%),
        radial-gradient(circle at 40% 50%, #000 15%, transparent 16%),
        radial-gradient(circle at 80% 10%, #000 12%, transparent 13%),
        radial-gradient(circle at 20% 80%, #000 18%, transparent 19%),
        radial-gradient(circle at 70% 90%, #000 11%, transparent 12%),
        radial-gradient(circle at 95% 45%, #000 9%, transparent 10%);
    background-size: 250px 300px;
}

.photo-strip.theme-cow .strip-photo {
    border: 8px solid #fff;
    border-bottom-width: 30px;
    /* Polaroid Style */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.photo-strip.theme-cow .strip-footer h2 {
    color: #000;
    background: #fff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 10px;
}

/* Dino Theme */
.photo-strip.theme-dino {
    background: #fdf5e6;
}

.photo-strip.theme-dino .strip-photo {
    border: 4px solid #fff;
    border-radius: 15px;
}

.photo-strip.theme-dino .strip-footer h2 {
    color: #2ecc71;
    font-family: 'Permanent Marker', cursive;
}

.photo-strip.theme-dino .deco-top::before {
    content: '🦖';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    transform: rotate(15deg);
}

.photo-strip.theme-dino .deco-bottom::before {
    content: '🦕';
    position: absolute;
    bottom: 80px;
    left: 10px;
    font-size: 25px;
}

/* Monster Theme */
.photo-strip.theme-monster {
    background: #4a90e2;
}

.photo-strip.theme-monster .strip-photo {
    border: 5px solid #fff;
    border-radius: 40px;
}

.photo-strip.theme-monster .strip-footer h2 {
    color: #fff;
    font-family: 'Kaushan Script', cursive;
}

.photo-strip.theme-monster .deco-top::before {
    content: '👾';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 25px;
}

.photo-strip.theme-monster .deco-top::after {
    content: '💧';
    position: absolute;
    bottom: 150px;
    right: 10px;
    font-size: 20px;
}

/* Checker Theme */
.photo-strip.theme-checker {
    background-color: #f1c40f;
    background-image:
        linear-gradient(45deg, #2980b9 25%, transparent 25%),
        linear-gradient(-45deg, #2980b9 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #2980b9 75%),
        linear-gradient(-45deg, transparent 75%, #2980b9 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.photo-strip.theme-checker .strip-photo {
    border: 6px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.photo-strip.theme-checker .strip-footer h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* --- SIX POSE LAYOUT (Layout E) --- */
.photo-six-pose {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 30px 25px 40px;
    width: 420px;
    /* Double width for 2 columns */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.six-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    z-index: 2;
}

.six-photo {
    width: 100%;
    aspect-ratio: 4/5;
    background: #f4f4f4;
    border: 2px solid #000;
    overflow: hidden;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@supports not (aspect-ratio: auto) {
    .six-photo {
        padding-bottom: 125%;
        height: 0;
    }
}

.six-photo canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.six-footer {
    width: 100%;
    text-align: center;
    margin-top: 25px;
    font-family: 'Inter', sans-serif;
    color: #000;
    z-index: 2;
}

.six-footer p {
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
    opacity: 0.3;
}

.six-footer .six-bold {
    font-weight: 900;
    opacity: 1;
    font-size: 1.2rem;
}

/* RETRO CHECKER THEME (Specific for Six Pose) */
.photo-six-pose.theme-retro {
    background-color: #fff;
    background-image:
        linear-gradient(45deg, #000 25%, transparent 25%),
        linear-gradient(-45deg, #000 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #000 75%),
        linear-gradient(-45deg, transparent 75%, #000 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.photo-six-pose.theme-retro .six-photo {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.photo-six-pose.theme-retro .six-footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
}

/* --- PREMIUM REDESIGN STYLES --- */

/* Layout relative positioning for stickers */
.koran-paper, .photo-strip, .photo-grid-2x2, .photo-six-pose, .photo-eight-pose {
    position: relative !important;
}

/* Floating Background Emojis */
.floating-emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-emoji.e1 { top: 15%; left: 10%; animation: floatAnimation 6s ease-in-out infinite; }
.floating-emoji.e2 { top: 25%; right: 12%; animation: floatAnimation 8s ease-in-out infinite 1s; }
.floating-emoji.e3 { bottom: 20%; left: 15%; animation: floatAnimation 7s ease-in-out infinite 2s; }
.floating-emoji.e4 { bottom: 15%; right: 18%; animation: floatAnimation 9s ease-in-out infinite 0.5s; }
.floating-emoji.e5 { top: 50%; left: 5%; animation: floatAnimation 8s ease-in-out infinite 1.5s; }
.floating-emoji.e6 { top: 60%; right: 8%; animation: floatAnimation 7s ease-in-out infinite 2.5s; }

/* Animating Hero Title Text Gradient */
.hero-title {
    background: linear-gradient(120deg, #ff9a9e, #fecfef, #a1c4fd, #c2e9fb, #ff9a9e) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% auto !important;
    animation: shineText 6s linear infinite !important;
    display: inline-block !important;
}


@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

/* Pulsing START button */
@keyframes pulseBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}
.btn-start-hero {
    animation: pulseBounce 3s ease-in-out infinite;
}
.btn-start-hero:hover {
    animation: none !important;
    transform: translateY(-5px) scale(1.08) !important;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease-in-out;
    z-index: 2;
    margin-bottom: 20px;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid #666;
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background: #666;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }
    100% {
        opacity: 0;
        top: 18px;
    }
}

/* Features Highlight Grid */
.features-highlight {
    display: flex;
    gap: 25px;
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.04);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(255, 154, 158, 0.15);
    border-color: rgba(255, 154, 158, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: floatAnimation 4s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.feature-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.45;
}

/* Badge Popular */
.badge-popular {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(255, 117, 140, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s infinite;
}

/* Staggered Entrance Animation for layout cards */
@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-cards .layout-card {
    opacity: 0;
    animation: cardFadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.animate-cards .layout-card:nth-child(1) { animation-delay: 0.05s; }
.animate-cards .layout-card:nth-child(2) { animation-delay: 0.12s; }
.animate-cards .layout-card:nth-child(3) { animation-delay: 0.19s; }
.animate-cards .layout-card:nth-child(4) { animation-delay: 0.26s; }
.animate-cards .layout-card:nth-child(5) { animation-delay: 0.33s; }
.animate-cards .layout-card:nth-child(6) { animation-delay: 0.40s; }

/* Page transitions */
.landing-section, .about-section, .app-interface {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.landing-section.fade-in, .about-section.fade-in, .app-interface.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Progress Bar */
.progress-container {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.5px;
}

.progress-bar-wrapper {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff758c, #ff7eb3);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #333;
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    max-width: 350px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    opacity: 0;
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-info { border-left: 4px solid #3b82f6; }
.toast-success { border-left: 4px solid #10b981; }
.toast-warning { border-left: 4px solid #f59e0b; }
.toast-error { border-left: 4px solid #ef4444; }

.toast-icon {
    font-size: 1.25rem;
}

/* Sticker Panel Styling */
.sticker-hint {
    font-size: 0.78rem;
    color: #666;
    margin-top: -6px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.sticker-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    scrollbar-width: none;
}

.sticker-tabs::-webkit-scrollbar {
    display: none;
}

.sticker-tab-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
    color: #555;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sticker-tab-btn.active {
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(255, 117, 140, 0.35);
}

.stickers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.sticker-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

.sticker-item:hover {
    transform: scale(1.15) rotate(5deg);
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-color: rgba(255, 117, 140, 0.3);
}

.sticker-item.text-item {
    font-size: 0.82rem;
    font-weight: 900;
    font-family: "Impact", "Arial Black", sans-serif;
    color: #ff5e36;
    text-shadow: 1px 1px 0 #fff;
    padding: 4px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Placed Sticker styling inside layout previews */
.placed-sticker {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
    user-select: none;
    cursor: move;
    transform-origin: center center;
    z-index: 100;
}

.placed-sticker.active {
    outline: 2px dashed #ff758c;
    outline-offset: 4px;
    border-radius: 4px;
}

.placed-sticker .sticker-content {
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    filter: drop-shadow(2px 0 0 white) 
            drop-shadow(-2px 0 0 white) 
            drop-shadow(0 2px 0 white) 
            drop-shadow(0 -2px 0 white)
            drop-shadow(1px 2px 3px rgba(0,0,0,0.15));
}

.placed-sticker.text-sticker .sticker-content {
    font-size: 14px;
    font-weight: 900;
    font-family: "Impact", "Arial Black", sans-serif;
    text-transform: uppercase;
    color: #ff5e36;
    letter-spacing: 0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, #ff5e36, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1.5px 1.5px 0 white)
            drop-shadow(-1.5px -1.5px 0 white)
            drop-shadow(1.5px -1.5px 0 white)
            drop-shadow(-1.5px 1.5px 0 white)
            drop-shadow(1px 2px 3px rgba(0,0,0,0.2));
}

/* Placed Sticker Controls */
.placed-sticker .sticker-controls {
    display: none;
    position: absolute;
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    pointer-events: none;
}

.placed-sticker.active .sticker-controls {
    display: block;
}

.sticker-btn {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff758c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    pointer-events: auto;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    user-select: none;
    transition: transform 0.1s ease;
}

.sticker-btn:hover {
    transform: scale(1.15);
}

.sticker-btn.delete-btn {
    top: 0;
    left: 0;
    background: #ef4444;
}

.sticker-btn.rotate-scale-btn {
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
    background: #3b82f6;
}

/* ==========================================
   FIRST LOAD DONATION MODAL POPUP STYLES
   ========================================== */

/* Custom Modal Overlay */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Custom Modal Content Box */
.custom-modal-content {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 154, 158, 0.35);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
}

/* Close button style */
.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
}
.custom-modal-close:hover {
    color: #ff758c;
    transform: rotate(90deg);
}

/* Slide Up Animation */
.animated-slide-up {
    animation: customSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes customSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cute Header and content components */
.modal-header-cute {
    margin-bottom: 18px;
}
.modal-header-cute h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 8px 0 0 0;
    font-size: 1.9rem;
    letter-spacing: -0.5px;
}
.cute-icon {
    font-size: 2.8rem;
    display: inline-block;
    animation: bounceSlow 3s infinite;
}
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.modal-pitch {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* QRIS Code box */
.qris-box {
    background: white;
    padding: 15px;
    border-radius: 18px;
    border: 2px dashed rgba(255, 117, 140, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qris-img-large {
    width: 210px;
    height: 210px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
}
.scan-tip {
    font-size: 0.8rem;
    color: #ff758c;
    font-weight: 600;
}

.modal-footer-info {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-close-bottom {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff758c 0%, #ff7eb3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 117, 140, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-close-bottom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 117, 140, 0.4);
}
.btn-close-bottom:active {
    transform: translateY(0);
}




