/* ===================================
   ROMANTIC WEBSITE - CREATIVE UI
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

/* ===================================
   AUDIO CONTROLS - VERTICAL LAYOUT WITH +/- BUTTONS
   =================================== */
.audio-controls-vertical {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff6b9d;
    border-radius: 30px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.audio-controls-vertical:hover {
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
}

.speaker-btn {
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s ease;
    outline: none;
    line-height: 1;
}

.speaker-btn:hover {
    transform: scale(1.2) rotate(5deg);
}

.speaker-btn:active {
    transform: scale(0.9);
}

.speaker-btn.muted {
    opacity: 0.5;
}

.volume-btn {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    border: none;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    color: white;
    box-shadow: 0 3px 10px rgba(255, 107, 157, 0.3);
}

.volume-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.5);
}

.volume-btn:active {
    transform: scale(0.95);
}

.volume-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: scale(1);
}

/* Responsive Audio Controls */
@media (max-width: 768px) {
    .audio-controls-vertical {
        padding: 10px;
        gap: 6px;
        top: 15px;
        right: 15px;
    }

    .speaker-btn {
        font-size: 28px;
    }

    .volume-btn {
        font-size: 18px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .audio-controls-vertical {
        padding: 8px;
        gap: 5px;
        top: 10px;
        right: 10px;
        border-width: 2px;
    }

    .speaker-btn {
        font-size: 24px;
    }

    .volume-btn {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }
}

/* ===================================
   OLD AUDIO CONTROLS (REMOVED)
   =================================== */

/* ===================================
   HERO SECTION - SPLIT LAYOUT (COMPACT)
   =================================== */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: -2;
    filter: brightness(0.6) blur(3px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

/* Floating Hearts */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-hearts .heart {
    position: absolute;
    font-size: 2rem;
    animation: floatHeart 8s infinite ease-in-out;
    opacity: 0;
}

.floating-hearts .heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.floating-hearts .heart:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
}

.floating-hearts .heart:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
}

.floating-hearts .heart:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
}

.floating-hearts .heart:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
}

@keyframes floatHeart {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0);
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(50px) rotate(180deg);
    }
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-40px) translateX(30px) scale(1.2);
        opacity: 0.8;
    }
}

/* Split Container - Compact */
.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1300px;
    width: 90%;
    align-items: center;
    z-index: 1;
    position: relative;
    max-height: 85vh;
}

/* Left Side - Text (NO BOX - RAW TEXT) */
.hero-left {
    color: white;
    animation: slideInLeft 1.2s ease-out;
    display: flex;
    align-items: center;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text-content {
    width: 100%;
    padding: 0;
}

.hero-heading {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1.3rem;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.8);
    animation: pulse 2s infinite;
    font-family: 'Playfair Display', serif;
    color: #ffc0cb;
    letter-spacing: 2px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.hero-subtext {
    margin-bottom: 1.3rem;
}

.hero-line {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.hero-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-line:nth-child(3) {
    animation-delay: 0.7s;
}

.hero-emphasis {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffb6c1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-explanation {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 192, 203, 0.3);
    border-bottom: 1px solid rgba(255, 192, 203, 0.3);
}

.hero-explanation p {
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    opacity: 0.92;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.cta-button-hero {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
    font-family: 'Lato', sans-serif;
}

.cta-button-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.6);
}

/* Right Side - Photo (Compact) */
.hero-right {
    animation: slideInRight 1.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-photo-frame {
    position: relative;
    max-width: 420px;
    width: 100%;
    aspect-ratio: 4/5;
}

.photo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d, #ff8fab);
    border-radius: 30px;
    filter: blur(30px);
    opacity: 0.6;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.hero-main-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 5px solid white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: block;
    animation: photoFloat 4s ease-in-out infinite;
    object-fit: contain;
    object-position: center;
}

@keyframes photoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.photo-caption {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 85%;
}

.photo-caption p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.3;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 3s ease;
    text-align: center;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.8rem;
    color: white;
}

.scroll-arrow {
    font-size: 1.8rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Hero Section */
@media (max-width: 992px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0;
    }

    .hero-heading {
        font-size: 3.2rem;
    }

    .hero-line {
        font-size: 1.05rem;
    }

    .hero-emphasis {
        font-size: 1.5rem;
    }

    .hero-explanation p {
        font-size: 1rem;
    }

    .hero-photo-frame {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-split-container {
        width: 92%;
        gap: 2rem;
    }

    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-line {
        font-size: 1rem;
    }

    .hero-emphasis {
        font-size: 1.35rem;
    }

    .hero-explanation {
        margin-bottom: 2rem;
    }

    .hero-explanation p {
        font-size: 0.95rem;
    }

    .cta-button-hero {
        font-size: 1rem;
        padding: 0.9rem 2.2rem;
        display: block;
        text-align: center;
        margin: 0 auto;
        max-width: 280px;
    }

    .hero-photo-frame {
        max-width: 300px;
    }

    .hero-main-photo {
        max-height: 400px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2.3rem;
    }

    .hero-line {
        font-size: 0.95rem;
    }

    .hero-emphasis {
        font-size: 1.2rem;
    }
}

/* ===================================
   CONTENT SECTIONS
   =================================== */
.content-section {
    padding: 6rem 2rem;
    background: #fff;
    position: relative;
}

.content-section.alternate-bg {
    background: linear-gradient(135deg, #fff5f8 0%, #ffe5ec 50%, #fff5f8 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title-fancy {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* ===================================
   POLAROID CARDS
   =================================== */
.polaroid-card {
    background: white;
    padding: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto 4rem;
    transition: transform 0.3s ease;
}

.polaroid-card:hover {
    transform: rotate(0deg) scale(1.05) !important;
}

.rotate-left {
    transform: rotate(-3deg);
}

.rotate-right {
    transform: rotate(3deg);
}

.chat-screen {
    background: #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    background: #dcf8c6;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    align-self: flex-end;
    max-width: 80%;
    animation: fadeInMessage 0.5s ease;
}

.chat-message.typing {
    background: #e5e5ea;
    font-style: italic;
    color: #666;
}

.chat-message.deleted {
    background: #ffcccc;
    text-decoration: line-through;
    opacity: 0.6;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.polaroid-caption {
    text-align: center;
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
    color: #555;
}

/* ===================================
   STORY CARD
   =================================== */
.story-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    margin: 4rem auto;
    text-align: center;
}

.story-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.story-card h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.thought-bubbles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.thought-item {
    background: #f8f9fa;
    border-left: 5px solid #ff6b9d;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    position: relative;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thought-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.quote-mark {
    font-size: 3rem;
    color: #ff6b9d;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.thought-item p {
    margin: 0;
    font-size: 1.1rem;
    color: #444;
    padding-left: 2rem;
}

.highlight-thought {
    background: linear-gradient(135deg, #fff5f8, #ffe5ec);
    border-left-color: #ff4d7d;
    font-weight: 500;
}

/* ===================================
   CODE CARD
   =================================== */
.code-card {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 4rem auto;
    max-width: 700px;
}

.code-header {
    background: #323232;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f56;
}

.code-dot.yellow {
    background: #ffbd2e;
}

.code-dot.green {
    background: #27c93f;
}

.code-title {
    margin-left: auto;
    color: #999;
    font-size: 0.9rem;
}

.code-content {
    padding: 2rem;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.8;
}

.code-content code {
    color: #d4d4d4;
}

.code-keyword {
    color: #569cd6;
}

.code-var {
    color: #9cdcfe;
}

.code-func {
    color: #dcdcaa;
}

.code-string {
    color: #ce9178;
}

/* ===================================
   DECLARATION BOX
   =================================== */
.declaration-box {
    background: white;
    border: 3px solid #ff6b9d;
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem auto;
    position: relative;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.2);
}

.ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.declaration-box h3 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.icon-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.icon-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, #fff5f8, #ffe5ec);
}

.icon-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.icon-item p {
    font-weight: 600;
    color: #555;
}

.highlight-banner {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

/* ===================================
   QUESTION CARD
   =================================== */
.question-card {
    background: linear-gradient(135deg, #ffc0cb 0%, #ffb6c1 50%, #ff69b4 100%);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    margin: 3rem auto;
    max-width: 450px;
    box-shadow: 0 25px 70px rgba(255, 182, 193, 0.4);
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '💕';
    position: absolute;
    font-size: 15rem;
    opacity: 0.08;
    top: -20%;
    right: -10%;
    animation: floatHeart 8s ease-in-out infinite;
}

@keyframes floatHeart {

    0%,
    100% {
        transform: rotate(-15deg) translateY(0);
    }

    50% {
        transform: rotate(-15deg) translateY(-30px);
    }
}

.question-mark {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.question-text {
    position: relative;
    z-index: 1;
}

.someone-asks {
    font-size: 1.6rem;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}

.smile-moment {
    text-align: center;
    margin: 2.5rem 0;
}

.emoji-large {
    font-size: 4rem;
    animation: wiggle 2s infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.moment-text {
    font-size: 1.15rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* ===================================
   TRAIT CARDS - 4 PER ROW, SMALLER SIZE
   =================================== */
.trait-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.trait-card {
    background: white;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.trait-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ff4d7d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.trait-card:hover::before {
    transform: scaleX(1);
}

.trait-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.25);
}

.trait-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 107, 157, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.trait-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.trait-card:hover .trait-photo img {
    transform: scale(1.1);
}

.trait-card h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.trait-card p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.card-1 {
    border-top: 4px solid #ff6b9d;
}

.card-2 {
    border-top: 4px solid #ff4d7d;
}

.card-3 {
    border-top: 4px solid #ff8fab;
}

.card-4 {
    border-top: 4px solid #ff3366;
}

/* Responsive for trait cards */
@media (max-width: 1024px) {
    .trait-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.3rem;
    }
}

@media (max-width: 768px) {
    .trait-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .trait-photo {
        width: 90px;
        height: 90px;
    }

    .trait-card h4 {
        font-size: 1rem;
    }

    .trait-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .trait-cards {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   TIMELINE
   =================================== */
.timeline-reveal {
    position: relative;
    padding: 3rem 0;
    max-width: 700px;
    margin: 4rem auto;
}

/* ===================================
   COUNTER & MEMORY GRID
   =================================== */
.counter-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem auto;
    max-width: 500px;
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.5);
    transform: perspective(1000px) rotateX(5deg);
    transition: transform 0.3s ease;
}

.counter-card:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
}

.big-number {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.counter-label {
    font-size: 2rem;
    margin-top: 1rem;
    font-family: 'Playfair Display', serif;
}

.counter-sublabel {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.memory-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.memory-box:hover {
    border-color: #ff6b9d;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.memory-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.memory-box h4 {
    font-size: 1.2rem;
    color: #2c3e50;
}

/* ===================================
   GRATITUDE CARD
   =================================== */
.gratitude-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    margin: 4rem auto;
    max-width: 700px;
}

.gratitude-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gratitude-heart {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

.gratitude-header h3 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.gratitude-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.gratitude-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gratitude-item:hover {
    background: linear-gradient(135deg, #fff5f8, #ffe5ec);
    transform: translateX(10px);
}

.gratitude-item .check {
    font-size: 1.5rem;
    color: #27c93f;
    font-weight: 700;
}

.gratitude-item span:last-child {
    font-size: 1.1rem;
    color: #444;
}

.gratitude-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.3rem;
    color: #ff4d7d;
    font-weight: 600;
    font-style: italic;
}

/* ===================================
   FOOD MEMORIES SECTION
   =================================== */
.food-memories-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d6 50%, #fff9f0 100%);
}

.food-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.food-circle-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 700px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Photo */
.central-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.central-photo-frame {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid white;
    box-shadow: 0 0 0 6px #ff6b9d, 0 15px 50px rgba(255, 107, 157, 0.5);
    background: white;
    animation: centralPulse 3s ease-in-out infinite;
}

@keyframes centralPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px #ff6b9d, 0 15px 50px rgba(255, 107, 157, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px #ff4d7d, 0 20px 60px rgba(255, 77, 125, 0.7);
    }
}

.central-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.central-label {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff4d7d;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    font-family: 'Playfair Display', serif;
}

/* Food Items Around Circle */
.food-item {
    position: absolute;
    animation: floatFood 3s ease-in-out infinite;
}

.food-item:nth-child(odd) {
    animation-delay: 0.5s;
}

@keyframes floatFood {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

.food-photo {
    width: 130px;
    height: 130px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.food-photo:hover {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
    border-color: #ff6b9d;
    z-index: 20;
}

.food-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Position each food item in a circle */
.food-1 {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.food-2 {
    top: 25%;
    right: 8%;
}

.food-3 {
    bottom: 25%;
    right: 8%;
}

.food-4 {
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.food-5 {
    bottom: 25%;
    left: 8%;
}

.food-6 {
    top: 25%;
    left: 8%;
}

/* Food Quote */
.food-quote {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 3rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.food-quote::before {
    content: '🍕';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

.food-quote::after {
    content: '🍰';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    animation-delay: 0.5s;
}

.food-quote p {
    font-size: 1.3rem;
    font-style: italic;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .food-circle-container {
        height: 600px;
        max-width: 600px;
    }

    .central-photo-frame {
        width: 140px;
        height: 140px;
    }

    .central-label {
        font-size: 1rem;
    }

    .food-photo {
        width: 100px;
        height: 100px;
    }

    .food-1 {
        top: 8%;
    }

    .food-2 {
        top: 22%;
        right: 5%;
    }

    .food-3 {
        bottom: 22%;
        right: 5%;
    }

    .food-4 {
        bottom: 8%;
    }

    .food-5 {
        bottom: 22%;
        left: 5%;
    }

    .food-6 {
        top: 22%;
        left: 5%;
    }

    .food-quote {
        padding: 1.5rem 2rem;
    }

    .food-quote p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .food-memories-section {
        padding: 3rem 1rem;
    }

    .food-circle-container {
        height: 500px;
        max-width: 500px;
    }

    .central-photo-frame {
        width: 120px;
        height: 120px;
        border: 4px solid white;
        box-shadow: 0 0 0 4px #ff6b9d, 0 10px 30px rgba(255, 107, 157, 0.4);
    }

    .central-label {
        font-size: 0.95rem;
        margin-top: 0.8rem;
    }

    .food-photo {
        width: 85px;
        height: 85px;
        border: 4px solid white;
        border-radius: 15px;
    }

    .food-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .food-quote {
        padding: 1.2rem 1.5rem;
    }

    .food-quote p {
        font-size: 1rem;
    }

    .food-quote::before,
    .food-quote::after {
        font-size: 2rem;
    }
}

/* ===================================
   FLIP CARDS
   =================================== */
.admiration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 350px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.flip-card-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.flip-card-front .card-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.flip-card-front h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tap-hint {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.flip-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
    border: 3px solid #667eea;
}

.flip-card-back p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===================================
   COMPARISON BOX
   =================================== */
.comparison-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 4rem 0;
    flex-wrap: wrap;
}

.compare-item {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.compare-item:hover {
    transform: scale(1.05);
}

.compare-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.compare-item p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.compare-note {
    font-size: 1rem;
    color: #999;
    font-style: italic;
}

.vs-divider {
    font-size: 2rem;
    font-weight: 900;
    color: #ff6b9d;
    padding: 1rem;
    background: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.highlight-compare {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    color: white;
    transform: scale(1.1);
}

.highlight-compare p,
.highlight-compare .compare-note {
    color: white;
}

/* ===================================
   CONFESSION SECTION
   =================================== */
.confession-header {
    text-align: center;
    margin-bottom: 3rem;
}

.whisper-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.confession-header h2 {
    font-size: 3rem;
    color: #2c3e50;
}

.polaroid-gallery {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 4rem 0;
}

.polaroid-item {
    background: white;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.polaroid-item:hover {
    transform: rotate(0deg) scale(1.1) !important;
    z-index: 10;
}

.rotate-right {
    transform: rotate(5deg);
}

.rotate-left-small {
    transform: rotate(-3deg);
}

.rotate-right-small {
    transform: rotate(3deg);
}

.polaroid-photo {
    width: 200px;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.polaroid-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.polaroid-text {
    text-align: center;
    padding: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #555;
}

.confession-text {
    text-align: center;
    margin: 4rem 0;
}

.text-reveal {
    animation: fadeIn 2s ease;
}

.confession-line {
    font-size: 1.5rem;
    color: #444;
    font-style: italic;
}

/* ===================================
   BEAUTY CARD
   =================================== */
.beauty-card {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 30px;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(252, 182, 159, 0.4);
}

.beauty-inner {
    text-align: center;
}

.beauty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.beauty-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.beauty-reasons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.8);
}

.reason-heart {
    font-size: 2rem;
}

.reason-item p {
    font-size: 1.2rem;
    color: #444;
    margin: 0;
}

.highlight-reason {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-reason p {
    font-weight: 700;
    color: #2c3e50;
}

/* ===================================
   WARMTH & REGRET BOXES
   =================================== */
.warmth-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    color: white;
    margin: 4rem auto;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(240, 147, 251, 0.4);
}

.warmth-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    display: block;
}

.warmth-text {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.favorite-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

.star {
    font-size: 1.5rem;
}

.regret-card {
    background: white;
    border-left: 5px solid #ff4d7d;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 4rem auto;
    max-width: 700px;
    box-shadow: 0 15px 50px rgba(255, 77, 125, 0.2);
}

.regret-text {
    font-size: 1.2rem;
    color: #444;
    font-style: italic;
    line-height: 2;
}

/* ===================================
   THANK YOU & INFO SECTION
   =================================== */
.thank-you-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 4rem auto;
    box-shadow: 0 25px 70px rgba(102, 126, 234, 0.5);
    position: relative;
    overflow: hidden;
}

.thank-you-banner::before {
    content: '🙏';
    position: absolute;
    font-size: 20rem;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-emoji {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.9;
}

.info-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1rem;
}

.info-note {
    font-size: 0.95rem;
    color: #999;
    font-style: italic;
    display: block;
    margin-top: 1rem;
}

/* ===================================
   REMINDER GRID
   =================================== */
.reminder-grid {
    margin: 4rem auto;
    text-align: center;
}

.reminder-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.reminder-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.reminder-badge {
    background: white;
    border: 2px solid #ff6b9d;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.reminder-badge:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
}

.highlight-badge {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    color: white;
    border: none;
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

.highlight-badge:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ===================================
   INVITATION CARD
   =================================== */
.invitation-card {
    margin: 4rem auto;
    max-width: 700px;
}

.invitation-border {
    background: white;
    border: 3px dashed #ff6b9d;
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.2);
}

.invitation-text {
    font-size: 1.5rem;
    color: #2c3e50;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.invitation-subtext {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* ===================================
   FINAL QUOTE SECTION
   =================================== */
.quote-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::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 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.quote-card-final {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.quote-decoration {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    font-family: Georgia, serif;
}

.quote-decoration.top {
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.quote-decoration.bottom {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
}

.final-quote {
    color: white;
    font-size: 1.8rem;
    line-height: 2.5;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.quote-highlight {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 2rem;
}

/* ===================================
   NAVIGATION BUTTON
   =================================== */
.navigation-arrow {
    position: relative;
    z-index: 1;
}

.next-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border: 3px solid white;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.next-page-btn:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
}

.btn-arrow {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.next-page-btn:hover .btn-arrow {
    transform: translateX(10px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .hero-fullscreen {
        height: auto;
        min-height: 100vh;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 95%;
        height: auto;
        padding: 2rem 0;
    }

    .hero-text-content {
        padding: 1.5rem 2rem;
    }

    .hero-line {
        font-size: 0.9rem;
    }

    .hero-emphasis {
        font-size: 1.1rem;
    }

    .hero-explanation p {
        font-size: 0.9rem;
    }

    .cta-button-hero {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .hero-photo-frame {
        max-width: 300px;
    }

    .hero-main-photo {
        max-height: 50vh;
    }

    .photo-caption {
        bottom: 10px;
        padding: 0.6rem 1.5rem;
    }

    .photo-caption p {
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .big-number {
        font-size: 5rem;
    }

    .trait-cards {
        grid-template-columns: 1fr;
    }

    .flip-card {
        height: 300px;
    }

    .polaroid-gallery {
        flex-direction: column;
        align-items: center;
    }

    .comparison-box {
        flex-direction: column;
    }

    .vs-divider {
        transform: rotate(90deg);
    }

    .mute-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .final-quote {
        font-size: 1.3rem;
    }

    .next-page-btn {
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }
}

/* ===================================
   SMOOTH SCROLLING & ANIMATIONS
   =================================== */
html {
    scroll-behavior: smooth;
}

/* Fade in elements on scroll */
.content-section>.container>* {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.content-section>.container>*:nth-child(1) {
    animation-delay: 0.1s;
}

.content-section>.container>*:nth-child(2) {
    animation-delay: 0.2s;
}

.content-section>.container>*:nth-child(3) {
    animation-delay: 0.3s;
}

.content-section>.container>*:nth-child(4) {
    animation-delay: 0.4s;
}

.content-section>.container>*:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover glow effect */
.cta-button,
.next-page-btn,
.reminder-badge {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.next-page-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before,
.next-page-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Selection styling */
::selection {
    background: #ff6b9d;
    color: white;
}

::-moz-selection {
    background: #ff6b9d;
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff4d7d, #ff3366);
}

/* ===================================
   SECTION 2: NEW PHOTO-BASED STYLES
   =================================== */
.section-header-with-photo {
    text-align: center;
    margin-bottom: 4rem;
}

.header-photo-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 5px solid #ff6b9d;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
    animation: float 3s ease-in-out infinite;
}

.header-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-main-title {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
}

/* Expectation vs Reality Grid */
.expectation-reality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.expect-card,
.reality-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.expect-card:hover,
.reality-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.card-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.expect-card:hover img,
.reality-card:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem;
    color: white;
}

.image-overlay h3 {
    font-size: 1.8rem;
    margin: 0;
}

.card-content {
    padding: 2rem;
}

.card-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.8rem;
}

/* Struggle Showcase */
.struggle-showcase {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.struggle-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.struggle-item {
    text-align: center;
}

.struggle-photo {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.struggle-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.typing-overlay,
.deleted-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.6);
}

.typing-overlay {
    background: rgba(76, 175, 80, 0.8);
}

.deleted-overlay {
    background: rgba(244, 67, 54, 0.8);
    text-decoration: line-through;
}

.struggle-label {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
}

.struggle-conclusion {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

/* Realization Banner */
.realization-banner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-radius: 25px;
    padding: 3rem;
    margin: 4rem 0;
    box-shadow: 0 20px 60px rgba(252, 182, 159, 0.4);
    align-items: center;
}

.realization-left img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.realization-right h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.big-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff4d7d;
    margin-bottom: 1rem;
}

.realization-right p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
}

.code-comment {
    color: #6a9955;
}

/* Photo Icon Grid */
.photo-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.photo-icon-item {
    text-align: center;
}

.icon-photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid #ff6b9d;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.photo-icon-item:hover .icon-photo-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
}

.icon-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-icon-item p {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Banner with Photo */
.banner-with-photo {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
}

.banner-with-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.banner-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 157, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.banner-text-overlay p {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* ===================================
   SECTION 3: PHOTO-BASED STYLES
   =================================== */
.question-photo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 6px solid white;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.question-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.smile-moment {
    margin: 4rem 0;
    text-align: center;
}

.smile-photo {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.smile-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.smile-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem;
    font-size: 1.5rem;
    font-style: italic;
}

.trait-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
}

.trait-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.trait-card:hover .trait-photo img {
    transform: scale(1.15);
}

/* Timeline with Photos */
.timeline-photo-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #ff6b9d, 0 5px 20px rgba(255, 107, 157, 0.4);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-photo-dot.big {
    width: 80px;
    height: 80px;
    box-shadow: 0 0 0 5px #ff4d7d, 0 10px 30px rgba(255, 77, 125, 0.5);
}

.timeline-photo-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===================================
   SECTION 4: PHOTO-BASED STYLES
   =================================== */
.counter-card-with-photo {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin: 4rem auto;
    max-width: 700px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    height: 400px;
}

.counter-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.counter-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.counter-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Memory Photo Grid */
.memory-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.memory-photo-box {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.memory-photo-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.memory-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.memory-photo-box:hover img {
    transform: scale(1.1);
}

.memory-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.gratitude-card-photo {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    margin: 4rem auto;
    max-width: 700px;
}

.gratitude-photo-heart {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid #ff6b9d;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
    animation: heartbeat 1.5s infinite;
}

.gratitude-photo-heart img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===================================
   SECTION 5: FLIP CARDS WITH PHOTOS
   =================================== */
.flip-card-front {
    background: transparent;
    padding: 0;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flip-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), transparent);
    padding: 2rem 1.5rem;
    color: white;
}

.flip-overlay h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Comparison Photos */
.compare-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 5px solid #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.compare-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.highlight-compare .compare-photo {
    border-color: white;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

/* ===================================
   SECTION 7: PHOTO-BASED ELEMENTS
   =================================== */
.thank-you-banner-photo {
    position: relative;
    min-height: 400px;
    border-radius: 30px;
    overflow: hidden;
    margin: 4rem auto;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.thank-you-banner-photo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 0;
    opacity: 0.3;
    filter: blur(2px);
}

.thank-you-banner-photo .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    padding: 3rem 4rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 2rem;
}

.thank-you-banner-photo h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-style: italic;
}

.info-card-photo {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.info-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.invitation-card-photo {
    position: relative;
    margin: 4rem auto;
    max-width: 800px;
}

.invitation-card-photo img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    opacity: 0.3;
}

.invitation-card-photo .invitation-border {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* ===================================
   RESPONSIVE ADJUSTMENTS FOR PHOTOS
   =================================== */
@media (max-width: 768px) {
    .expectation-reality-grid {
        grid-template-columns: 1fr;
    }

    .realization-banner {
        grid-template-columns: 1fr;
    }

    .struggle-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .memory-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-photo-circle {
        width: 120px;
        height: 120px;
    }

    .counter-card-with-photo {
        height: 350px;
    }
}

/* ===================================
   TIMELINE - REDESIGNED BEAUTIFUL
   =================================== */
.timeline-reveal {
    position: relative;
    padding: 4rem 0;
    margin: 6rem auto;
}

.timeline-heading {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.timeline-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 4rem;
}

.timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ff6b9d, #ff4d7d, #ff6b9d);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.4);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2.5rem;
}

.timeline-left,
.timeline-right {
    display: flex;
    align-items: center;
}

.timeline-left {
    justify-content: flex-end;
}

.timeline-right {
    justify-content: flex-start;
}

.timeline-spacer {
    width: 100%;
}

.timeline-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.timeline-content-wrapper {
    width: 100%;
    max-width: 400px;
}

.timeline-content-card {
    position: relative;
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    opacity: 0;
}

.timeline-left .timeline-content-card {
    animation: fadeSlideRight 0.8s ease forwards;
    animation-delay: 0.2s;
}

.timeline-right .timeline-content-card {
    animation: fadeSlideLeft 0.8s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-content-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff6b9d;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
}

.card-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.5);
    z-index: 2;
}

.timeline-text {
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.timeline-decoration {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 2.5rem;
    opacity: 0.15;
}

.timeline-reveal .timeline-photo-dot {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 0 0 4px #ff6b9d, 0 10px 30px rgba(255, 107, 157, 0.4);
    z-index: 5;
    transition: all 0.3s ease;
    animation: popIn 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.timeline-reveal .timeline-photo-dot:hover {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 0 4px #ff4d7d, 0 15px 40px rgba(255, 77, 125, 0.6);
}

.timeline-reveal .timeline-photo-dot.big {
    width: 120px;
    height: 120px;
    box-shadow: 0 0 0 6px #ff4d7d, 0 15px 50px rgba(255, 77, 125, 0.6);
    animation: bigPopIn 1s ease forwards;
}

@keyframes bigPopIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.timeline-reveal .timeline-photo-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.timeline-final {
    grid-template-columns: 1fr;
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.timeline-final-card {
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d);
    padding: 3rem 2.5rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
    color: white;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.final-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.timeline-final-card .timeline-photo-dot {
    margin: 1.5rem auto 2rem;
}

.timeline-final-card h4 {
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
    color: white;
    font-family: 'Playfair Display', serif;
}

/* Responsive Timeline */
@media (max-width: 992px) {
    .timeline-container {
        max-width: 800px;
    }

    .timeline-item {
        gap: 2rem;
    }

    .timeline-content-wrapper {
        max-width: 320px;
    }

    .timeline-text {
        font-size: 1.15rem;
    }

    .timeline-reveal .timeline-photo-dot {
        width: 75px;
        height: 75px;
    }

    .timeline-reveal .timeline-photo-dot.big {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        max-width: 600px;
        padding: 1rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        margin-bottom: 3rem;
    }

    .timeline-left,
    .timeline-right {
        justify-content: center;
    }

    .timeline-spacer {
        display: none;
    }

    .timeline-center {
        order: 1;
        margin-bottom: 1rem;
    }

    .timeline-content-wrapper {
        order: 2;
        max-width: 100%;
    }

    .timeline-line {
        display: none;
    }

    .timeline-content-card {
        animation: fadeIn 0.8s ease forwards !important;
    }

    .timeline-text {
        font-size: 1.1rem;
    }

    .timeline-reveal .timeline-photo-dot {
        width: 80px;
        height: 80px;
    }

    .timeline-reveal .timeline-photo-dot.big {
        width: 100px;
        height: 100px;
    }

    .timeline-final-card {
        padding: 2.5rem 2rem;
    }

    .timeline-final-card h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .timeline-content-card {
        padding: 1.8rem 2rem;
    }

    .card-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .timeline-text {
        font-size: 1rem;
    }

    .timeline-decoration {
        font-size: 2rem;
        right: 10px;
        bottom: 8px;
    }

    .timeline-reveal .timeline-photo-dot {
        width: 70px;
        height: 70px;
        border: 4px solid white;
    }

    .timeline-reveal .timeline-photo-dot.big {
        width: 90px;
        height: 90px;
    }

    .timeline-final-card h4 {
        font-size: 1.3rem;
    }

    .final-icon {
        font-size: 3rem;
    }
}
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.5);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    animation: finalCardAppear 1s ease forwards;
    opacity: 0;
}

@keyframes finalCardAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===================================
   IMAGE DISPLAY FIX - SHOW FULL IMAGE WITHOUT CROPPING
   =================================== */
/* ALL IMAGES - Show complete without cropping */
.header-photo-circle img,
.icon-photo-circle img,
.question-photo-circle img,
.gratitude-photo-heart img,
.compare-photo img,
.timeline-reveal .timeline-photo-dot img,
.trait-photo img,
.flip-card-front img,
.polaroid-photo img,
.memory-photo-box img,
.struggle-photo img,
.card-image-container img,
.hero-main-photo,
.info-card-photo img,
.realization-left img,
.counter-bg-image img,
.smile-photo img,
.beauty-card img,
.thank-you-banner-photo img,
.thinking-photo img,
.confession-image img,
.honesty-photo-bg img,
.hero-emotion-photo,
.hero-image-frame img,
.counter-card-with-photo img,
.gratitude-photo-heart img,
.invitation-card-photo img,
.flip-card-front img,
.compare-photo img,
.polaroid-item img,
.info-card-photo img,
.central-photo-frame img,
.food-photo img {
    object-fit: contain !important;
    object-position: center !important;
}

/* ===================================
   SECTION 2 - EMOTIONAL REDESIGN
   =================================== */

/* ===================================
   EMOTIONAL HERO SECTION - "I KNOW I HURT YOU"
   =================================== */
.emotional-hero-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #fff5f8 0%, #ffe5ec 50%, #ffd1dc 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.emotional-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.emotional-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    width: 100%;
}

/* Left Side - Heartfelt Message (RAW - NO BOX) */
.emotional-left {
    animation: slideInLeft 1s ease-out;
    display: flex;
    align-items: center;
}

.raw-heartfelt-message {
    padding: 1.5rem 0;
    position: relative;
}

.tear-icon-raw {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.2rem;
    animation: tearDrop 3s ease-in-out infinite;
    text-align: left;
}

@keyframes tearDrop {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(10px) scale(1.1);
        opacity: 0.7;
    }
}

.emotional-heading-raw {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #8b7d8b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
    letter-spacing: 1px;
}

.vulnerable-text {
    margin-bottom: 1.5rem;
}

.pain-line {
    font-size: 1.1rem;
    color: #6b5b6b;
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.pain-line:nth-child(1) {
    animation-delay: 0.3s;
}

.pain-line:nth-child(2) {
    animation-delay: 0.5s;
}

.pain-line:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.apology-plea {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    border-left: 3px solid #d8a7ca;
}

.plea-text {
    font-size: 1.1rem;
    color: #7d6d7d;
    line-height: 1.9;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

.request-section {
    margin-top: 1.8rem;
    padding: 1.3rem 0;
    border-top: 1px solid rgba(216, 167, 202, 0.4);
    border-bottom: 1px solid rgba(216, 167, 202, 0.4);
}

.request-text {
    font-size: 1.05rem;
    color: #6b5b6b;
    line-height: 1.9;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.request-text-emphasis {
    font-size: 1.5rem;
    color: #c98bb9;
    font-weight: 600;
    margin: 1rem 0;
    line-height: 1.6;
    font-family: 'Playfair Display', serif;
    animation: gentlePulse 2s ease-in-out infinite;
}

@keyframes gentlePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

.decorative-hearts-raw {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.heart-float {
    font-size: 2rem;
    animation: floatHeart 3s ease-in-out infinite;
    display: inline-block;
}

.heart-float:nth-child(1) {
    animation-delay: 0s;
}

.heart-float:nth-child(2) {
    animation-delay: 0.5s;
}

.heart-float:nth-child(3) {
    animation-delay: 1s;
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.2);
    }
}

/* Right Side - Hero Image */
.emotional-right {
    animation: slideInRight 1s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    max-width: 450px;
    width: 100%;
}

.frame-glow {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: linear-gradient(135deg, #ff6b9d, #ff4d7d, #ff8fab, #ffc0cb);
    border-radius: 35px;
    filter: blur(40px);
    opacity: 0.5;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-emotion-photo {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 30px;
    border: 6px solid white;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
    display: block;
    animation: gentleFloat 5s ease-in-out infinite;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.image-caption {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 107, 157, 0.3);
}

.image-caption p {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* ===================================
   TRUTH CARDS - ENHANCED DESIGN
   =================================== */
.truth-cards-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.truth-card-new {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.truth-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.03) 0%, rgba(255, 77, 125, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.truth-card-new:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 90px rgba(255, 107, 157, 0.3);
    border-color: rgba(255, 107, 157, 0.4);
}

.truth-card-new:hover::before {
    opacity: 1;
}

.card-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff6b9d, #ff4d7d, #ff8fab);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.truth-card-new:hover .card-gradient-overlay {
    transform: scaleX(1);
}

.truth-icon-large {
    font-size: 3.8rem;
    text-align: center;
    margin-bottom: 1.2rem;
    display: block;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.truth-title {
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    color: #8b7d8b;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.truth-content {
    position: relative;
    z-index: 1;
}

.truth-line {
    font-size: 1.05rem;
    color: #6b5b6b;
    margin-bottom: 0.8rem;
    line-height: 1.8;
    padding-left: 1.2rem;
    position: relative;
    font-weight: 400;
}

.truth-line::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #d8a7ca;
    font-weight: 400;
}

.highlight-number {
    background: linear-gradient(135deg, #c98bb9, #b87ba8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight-word {
    color: #b87ba8;
    font-weight: 600;
    font-style: italic;
}

.emphasis-line-new {
    font-size: 1.1rem;
    color: #7d6d7d;
    font-weight: 600;
    margin-top: 1.2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, #f5e8f3, #ede0eb);
    border-radius: 12px;
    border-left: 4px solid #d8a7ca;
    line-height: 1.7;
    box-shadow: 0 8px 20px rgba(216, 167, 202, 0.15);
    font-style: italic;
}

.card-corner-decor {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
    transform: rotate(-15deg);
    transition: all 0.4s ease;
}

.truth-card-new:hover .card-corner-decor {
    opacity: 0.6;
    transform: rotate(0deg) scale(1.3);
}

/* Left Card Specific Styling */
.left-truth {
    animation: slideInFromLeft 0.8s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Right Card Specific Styling */
.right-truth {
    animation: slideInFromRight 0.8s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design for Emotional Section */
@media (max-width: 992px) {
    .emotional-split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .emotional-heading-raw {
        font-size: 2.3rem;
    }

    .pain-line {
        font-size: 0.98rem;
    }

    .plea-text {
        font-size: 0.98rem;
    }

    .request-text {
        font-size: 0.95rem;
    }

    .request-text-emphasis {
        font-size: 1.25rem;
    }

    .truth-cards-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .emotional-hero-section {
        padding: 3rem 1.5rem;
    }

    .raw-heartfelt-message {
        padding: 1.5rem 0;
    }

    .emotional-heading-raw {
        font-size: 2rem;
    }

    .tear-icon-raw {
        font-size: 3rem;
    }

    .pain-line {
        font-size: 0.92rem;
    }

    .plea-text {
        font-size: 0.92rem;
    }

    .request-text {
        font-size: 0.9rem;
    }

    .request-text-emphasis {
        font-size: 1.15rem;
    }

    .decorative-hearts-raw {
        gap: 1rem;
    }

    .heart-float {
        font-size: 1.8rem;
    }

    .truth-card-new {
        padding: 2rem;
    }

    .truth-icon-large {
        font-size: 3rem;
    }

    .truth-title {
        font-size: 1.4rem;
    }

    .truth-line {
        font-size: 0.88rem;
    }

    .emphasis-line-new {
        font-size: 0.95rem;
    }
}

/* Vulnerable Opening (OLD STYLES - KEEPING FOR COMPATIBILITY) */
.vulnerable-moment {
    text-align: center;
    margin: 4rem auto;
    max-width: 700px;
}

.moment-photo {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 4px solid #ddd;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    filter: grayscale(30%);
}

.moment-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-tear {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    animation: tearFall 3s ease-in-out infinite;
}

@keyframes tearFall {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        transform: translateY(150px);
        opacity: 1;
    }
}

.emotional-heading {
    font-size: 3rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.pain-text {
    font-size: 1.3rem;
    color: #666;
    line-height: 2;
    font-style: italic;
}

/* Truth Cards */
.truth-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 5rem 0;
}

.truth-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #999;
}

.left-truth {
    border-left-color: #ff6b9d;
}

.right-truth {
    border-left-color: #667eea;
}

.truth-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.truth-card h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.truth-card p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.emphasis-line {
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

/* Honest Confession */
.honest-confession {
    margin: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
}

.confession-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.confession-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.confession-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.confession-content h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.confession-text p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.but-because {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

.but-word {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ff4d7d;
    margin-bottom: 1rem;
}

.because-text {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1rem;
}

/* ===================================
   THINKING SECTION - "All I Keep Thinking Is..."
   =================================== */
.thinking-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thinking-title {
    font-size: 2.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.thinking-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.thinking-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
}

.white-card {
    background: white;
}

.pink-card {
    background: linear-gradient(135deg, #ff9eb3, #ff6b9d);
    color: white;
}

.thinking-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.25);
}

.thinking-bubble {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: floatBubble 3s ease-in-out infinite;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.thinking-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(255, 107, 157, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pink-card .thinking-photo {
    border-color: rgba(255, 255, 255, 0.6);
}

.thinking-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.thinking-card:hover .thinking-photo img {
    transform: scale(1.1);
}

.thinking-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    font-family: 'Lato', sans-serif;
    margin: 0;
}

.pink-card .thinking-text {
    color: white;
    font-weight: 500;
}

.highlight-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive for thinking cards */
@media (max-width: 768px) {
    .thinking-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .thinking-title {
        font-size: 2.2rem;
    }

    .thinking-photo {
        width: 120px;
        height: 120px;
    }
}

/* What This Really Is */
.what-this-is {
    margin: 5rem 0;
    padding: 4rem 2rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.this-is-content h3 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.grid-of-truth {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.truth-box {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(252, 182, 159, 0.3);
}

.truth-box p {
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0;
    font-weight: 500;
}

/* Raw Honesty Box */
.raw-honesty-box {
    position: relative;
    margin: 5rem 0;
    min-height: 500px;
    border-radius: 30px;
    overflow: hidden;
}

.honesty-photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.honesty-photo-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.4);
}

.honesty-overlay {
    position: relative;
    z-index: 1;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.honesty-text {
    max-width: 800px;
    text-align: center;
    color: white;
}

.honesty-line {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 2;
}

.asking-for {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.big-ask {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.remember-what {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.final-ask {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 2rem;
    color: #ffd1dc;
}

/* Heartfelt End */
.heartfelt-end {
    margin: 5rem 0 3rem;
    text-align: center;
}

.end-message {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #fff5f8, #ffe5ec);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.2);
}

.soft-text {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 2;
    font-style: italic;
}

.final-truth {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 107, 157, 0.3);
}

.final-truth p {
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 1rem;
}

.tear-line {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff4d7d;
}

/* Responsive */
@media (max-width: 768px) {
    .truth-cards {
        grid-template-columns: 1fr;
    }

    .confession-wrapper {
        grid-template-columns: 1fr;
    }

    .confession-image {
        height: 250px;
    }

    .struggle-moments {
        grid-template-columns: 1fr;
    }

    .grid-of-truth {
        grid-template-columns: 1fr;
    }

    .honesty-overlay {
        padding: 3rem 2rem;
    }

    .honesty-line {
        font-size: 1.2rem;
    }

    .big-ask {
        font-size: 1.6rem;
    }
}


/* Responsive styles for Thank You Banner */
@media (max-width: 768px) {
    .thank-you-banner-photo {
        min-height: 350px;
    }

    .thank-you-banner-photo .banner-content {
        padding: 2.5rem 3rem;
        margin: 1.5rem;
    }

    .thank-you-banner-photo h2 {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .thank-you-banner-photo {
        min-height: 300px;
    }

    .thank-you-banner-photo .banner-content {
        padding: 2rem 2.5rem;
        margin: 1rem;
    }

    .thank-you-banner-photo h2 {
        font-size: 1.7rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }
}


/* Birthday Surprise Button */
.birthday-surprise-container {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.birthday-surprise-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px 50px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F093FB 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.4),
        0 0 50px rgba(240, 147, 251, 0.3);
    transition: all 0.3s ease;
    animation: gradientMove 3s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.birthday-surprise-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.birthday-surprise-btn:hover::before {
    left: 100%;
}

.birthday-surprise-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(102, 126, 234, 0.5),
        0 0 70px rgba(240, 147, 251, 0.4);
}

.birthday-surprise-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-sparkle {
    font-size: 2rem;
    animation: sparkleRotate 2s linear infinite;
}

@keyframes sparkleRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(20deg) scale(1.2);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(-20deg) scale(1.2);
    }
}

.btn-text-birthday {
    font-family: 'Georgia', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .birthday-surprise-btn {
        padding: 20px 35px;
        font-size: 1.4rem;
        gap: 10px;
    }
    
    .btn-sparkle {
        font-size: 1.5rem;
    }
}


/* ===================================
   COMPREHENSIVE RESPONSIVE DESIGN FOR ALL DEVICES
   =================================== */

/* Tablets and Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 2rem;
    }
    
    .section-title-fancy {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .content-section {
        padding: 5rem 1.5rem;
    }
    
    /* Hero Adjustments */
    .hero-split-container {
        max-width: 95%;
        gap: 2rem;
    }
    
    .hero-heading {
        font-size: 2.5rem;
    }
    
    .hero-photo-frame {
        max-width: 380px;
    }
}

/* Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .content-section {
        padding: 4rem 1rem;
    }
    
    .section-title-fancy {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    /* Hero Section Mobile */
    .hero-fullscreen {
        min-height: 100vh;
        height: auto;
        padding: 3rem 0;
    }
    
    .hero-split-container {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 2.5rem;
        max-height: none;
    }
    
    .hero-heading {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-line {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-emphasis {
        font-size: 1.25rem;
        margin: 1rem 0;
    }
    
    .hero-explanation p {
        font-size: 0.9rem;
    }
    
    .cta-button-hero {
        font-size: 0.95rem;
        padding: 0.9rem 2rem;
        display: block;
        text-align: center;
        max-width: 100%;
        margin: 1.5rem auto 0;
    }
    
    .hero-photo-frame {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-main-photo {
        max-height: 450px;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        display: none;
    }
    
    /* Story Cards */
    .story-card {
        padding: 2rem 1.5rem;
        margin: 3rem auto;
    }
    
    .story-card h2 {
        font-size: 2rem;
    }
    
    .story-icon {
        font-size: 3rem;
    }
    
    .thought-item {
        padding: 1.2rem 1.5rem;
    }
    
    .thought-item p {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    /* Counter and Memory */
    .counter-card-with-photo {
        height: 350px;
    }
    
    .big-number {
        font-size: 6rem;
    }
    
    .counter-label {
        font-size: 1.8rem;
    }
    
    .counter-sublabel {
        font-size: 1.1rem;
    }
    
    .memory-photo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 3rem 0;
    }
    
    .memory-photo-box {
        height: 250px;
    }
    
    /* Trait Cards */
    .trait-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
    }
    
    .trait-card {
        padding: 1.2rem;
    }
    
    .trait-photo {
        width: 85px;
        height: 85px;
    }
    
    .trait-card h4 {
        font-size: 1rem;
    }
    
    .trait-card p {
        font-size: 0.85rem;
    }
    
    /* Flip Cards */
    .admiration-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .flip-card {
        height: 320px;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .flip-card-front h4 {
        font-size: 1.6rem;
    }
    
    .flip-card-back p {
        font-size: 1rem;
    }
    
    /* Comparison Box */
    .comparison-box {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .compare-item {
        min-width: 100%;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* Polaroid Gallery */
    .polaroid-gallery {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .polaroid-item {
        max-width: 250px;
    }
    
    .polaroid-photo {
        width: 220px;
        height: 220px;
    }
    
    /* Gratitude Card */
    .gratitude-card,
    .gratitude-card-photo {
        padding: 2rem 1.5rem;
        margin: 3rem auto;
    }
    
    .gratitude-header h3 {
        font-size: 2rem;
    }
    
    .gratitude-item {
        padding: 0.8rem;
    }
    
    .gratitude-item span:last-child {
        font-size: 1rem;
    }
    
    /* Food Memories */
    .food-memories-section {
        padding: 3rem 1rem;
    }
    
    .food-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .food-circle-container {
        height: 550px;
        max-width: 550px;
    }
    
    .central-photo-frame {
        width: 150px;
        height: 150px;
    }
    
    .central-label {
        font-size: 1.05rem;
    }
    
    .food-photo {
        width: 110px;
        height: 110px;
    }
    
    .food-quote {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
    }
    
    .food-quote p {
        font-size: 1.15rem;
    }
    
    /* Beauty & Warmth Cards */
    .beauty-card,
    .warmth-box {
        padding: 2.5rem 2rem;
        margin: 3rem 1rem;
    }
    
    .beauty-card h3 {
        font-size: 1.8rem;
    }
    
    .reason-item p {
        font-size: 1.1rem;
    }
    
    /* Confession Section */
    .confession-header h2 {
        font-size: 2.5rem;
    }
    
    .confession-line {
        font-size: 1.3rem;
    }
    
    /* Thank You Banner */
    .thank-you-banner,
    .thank-you-banner-photo {
        padding: 3rem 1.5rem;
        margin: 3rem 1rem;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1.3rem;
    }
    
    /* Info Cards */
    .info-cards-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .info-card h4 {
        font-size: 1.3rem;
    }
    
    .info-card p {
        font-size: 1.1rem;
    }
    
    /* Invitation Card */
    .invitation-card-photo,
    .invitation-border {
        padding: 2.5rem 2rem;
        margin: 3rem 1rem;
    }
    
    .invitation-text {
        font-size: 1.3rem;
    }
    
    .invitation-subtext {
        font-size: 1.1rem;
    }
    
    /* Quote Section */
    .quote-section {
        padding: 6rem 1rem;
    }
    
    .quote-card-final {
        padding: 3rem 2rem;
        margin: 0 1rem 3rem;
    }
    
    .final-quote {
        font-size: 1.5rem;
        line-height: 2.2;
    }
    
    .quote-highlight {
        font-size: 1.7rem;
    }
    
    .quote-decoration {
        font-size: 4rem;
    }
    
    /* Navigation Button */
    .next-page-btn {
        font-size: 1.15rem;
        padding: 1.2rem 2.5rem;
    }
    
    /* Emotional Section */
    .emotional-split-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .emotional-heading-raw {
        font-size: 2.2rem;
    }
    
    .pain-line,
    .plea-text,
    .request-text {
        font-size: 1rem;
    }
    
    .request-text-emphasis {
        font-size: 1.15rem;
    }
    
    .hero-image-frame {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .truth-cards-enhanced {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .truth-title {
        font-size: 1.6rem;
    }
    
    .truth-line {
        font-size: 1rem;
    }
    
    /* Thinking Section */
    .thinking-title {
        font-size: 2rem;
    }
    
    .thinking-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .thinking-photo {
        height: 140px;
    }
    
    .thinking-text {
        font-size: 0.9rem;
    }
    
    /* What This Is */
    .this-is-content h3 {
        font-size: 2rem;
    }
    
    .grid-of-truth {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .truth-box {
        padding: 1.5rem;
    }
    
    .truth-box p {
        font-size: 1.05rem;
    }
    
    /* Honest Confession */
    .honest-confession {
        margin: 3rem 0;
    }
    
    .confession-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .confession-content h3 {
        font-size: 2rem;
    }
    
    .confession-text p {
        font-size: 1.05rem;
    }
    
    /* Birthday Surprise Button */
    .birthday-surprise-container {
        margin-top: 3rem;
    }
    
    .birthday-surprise-btn {
        font-size: 1.1rem;
        padding: 1.2rem 2.5rem;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .content-section {
        padding: 3rem 0.8rem;
    }
    
    .container {
        padding: 0 0.8rem;
    }
    
    .section-title-fancy {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    /* Hero Section */
    .hero-fullscreen {
        padding: 2rem 0;
    }
    
    .hero-split-container {
        width: 92%;
        gap: 2rem;
    }
    
    .hero-heading {
        font-size: 1.9rem;
    }
    
    .hero-line {
        font-size: 0.9rem;
    }
    
    .hero-emphasis {
        font-size: 1.15rem;
    }
    
    .hero-explanation {
        padding: 0.8rem 0;
    }
    
    .hero-explanation p {
        font-size: 0.85rem;
    }
    
    .cta-button-hero {
        font-size: 0.9rem;
        padding: 0.85rem 1.8rem;
    }
    
    .hero-photo-frame {
        max-width: 280px;
    }
    
    .hero-main-photo {
        max-height: 380px;
    }
    
    .photo-caption {
        padding: 0.5rem 1rem;
    }
    
    .photo-caption p {
        font-size: 0.8rem;
    }
    
    /* Trait Cards - Single Column */
    .trait-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .trait-card {
        padding: 1.5rem;
    }
    
    .trait-photo {
        width: 100px;
        height: 100px;
        margin: 0 auto 1rem;
    }
    
    .trait-card h4 {
        font-size: 1.1rem;
    }
    
    .trait-card p {
        font-size: 0.9rem;
    }
    
    /* Counter */
    .counter-card-with-photo {
        height: 300px;
        margin: 3rem 0.5rem;
    }
    
    .big-number {
        font-size: 5rem;
    }
    
    .counter-label {
        font-size: 1.5rem;
    }
    
    .counter-sublabel {
        font-size: 1rem;
    }
    
    /* Memory Grid */
    .memory-photo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2.5rem 0;
    }
    
    .memory-photo-box {
        height: 280px;
    }
    
    .memory-label {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
    
    /* Food Memories */
    .food-memories-section {
        padding: 3rem 0.5rem;
    }
    
    .food-circle-container {
        height: 480px;
        max-width: 100%;
    }
    
    .central-photo-frame {
        width: 130px;
        height: 130px;
    }
    
    .central-label {
        font-size: 0.95rem;
    }
    
    .food-photo {
        width: 95px;
        height: 95px;
    }
    
    .food-1 { top: 8%; }
    .food-2 { top: 20%; right: 3%; }
    .food-3 { bottom: 20%; right: 3%; }
    .food-4 { bottom: 8%; }
    .food-5 { bottom: 20%; left: 3%; }
    .food-6 { top: 20%; left: 3%; }
    
    .food-quote {
        padding: 1.2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .food-quote p {
        font-size: 1rem;
    }
    
    .food-quote::before,
    .food-quote::after {
        font-size: 1.8rem;
    }
    
    /* Flip Cards */
    .flip-card {
        height: 300px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 1.5rem;
    }
    
    .flip-card-front h4 {
        font-size: 1.4rem;
    }
    
    .flip-card-back p {
        font-size: 0.95rem;
    }
    
    /* Comparison */
    .compare-item {
        padding: 2rem 1.5rem;
    }
    
    .compare-item p {
        font-size: 1.3rem;
    }
    
    /* Polaroid Gallery */
    .polaroid-item {
        max-width: 220px;
    }
    
    .polaroid-photo {
        width: 200px;
        height: 200px;
    }
    
    /* Story Card */
    .story-card {
        padding: 2rem 1.2rem;
    }
    
    .story-card h2 {
        font-size: 1.75rem;
    }
    
    .thought-item {
        padding: 1rem 1.2rem;
    }
    
    .thought-item p {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }
    
    /* Gratitude */
    .gratitude-card,
    .gratitude-card-photo {
        padding: 1.8rem 1.2rem;
    }
    
    .gratitude-header h3 {
        font-size: 1.75rem;
    }
    
    .gratitude-photo-heart {
        width: 85px;
        height: 85px;
    }
    
    .gratitude-item {
        padding: 0.7rem;
        gap: 0.8rem;
    }
    
    .gratitude-item .check {
        font-size: 1.3rem;
    }
    
    .gratitude-item span:last-child {
        font-size: 0.95rem;
    }
    
    .gratitude-footer {
        font-size: 1.15rem;
    }
    
    /* Beauty & Warmth */
    .beauty-card,
    .warmth-box {
        padding: 2rem 1.5rem;
    }
    
    .beauty-card h3,
    .warmth-box h3 {
        font-size: 1.6rem;
    }
    
    .reason-item {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .reason-item p {
        font-size: 1rem;
    }
    
    .warmth-text {
        font-size: 1.15rem;
    }
    
    /* Confession */
    .confession-header h2 {
        font-size: 2rem;
    }
    
    .whisper-icon {
        font-size: 4rem;
    }
    
    .confession-line {
        font-size: 1.15rem;
    }
    
    /* Regret Card */
    .regret-card {
        padding: 2rem 1.5rem;
    }
    
    .regret-text {
        font-size: 1.1rem;
    }
    
    /* Thank You Banner */
    .thank-you-banner,
    .thank-you-banner-photo {
        padding: 2.5rem 1.2rem;
    }
    
    .banner-content h2 {
        font-size: 1.75rem;
    }
    
    .banner-subtitle {
        font-size: 1.15rem;
    }
    
    /* Info Cards */
    .info-card {
        padding: 1.8rem 1.5rem;
    }
    
    .info-card h4 {
        font-size: 1.2rem;
    }
    
    .info-card p {
        font-size: 1rem;
    }
    
    .info-note {
        font-size: 0.9rem;
    }
    
    /* Invitation */
    .invitation-card-photo,
    .invitation-border {
        padding: 2rem 1.5rem;
    }
    
    .invitation-text {
        font-size: 1.15rem;
    }
    
    .invitation-subtext {
        font-size: 1rem;
    }
    
    /* Quote Section */
    .quote-section {
        padding: 5rem 0.8rem;
    }
    
    .quote-card-final {
        padding: 2.5rem 1.5rem;
    }
    
    .final-quote {
        font-size: 1.3rem;
        line-height: 2;
    }
    
    .quote-highlight {
        font-size: 1.5rem;
    }
    
    .quote-decoration {
        font-size: 3rem;
    }
    
    .quote-decoration.top {
        left: 1rem;
    }
    
    .quote-decoration.bottom {
        right: 1rem;
    }
    
    /* Navigation Button */
    .next-page-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-arrow {
        font-size: 1.5rem;
    }
    
    /* Emotional Section */
    .emotional-heading-raw {
        font-size: 1.9rem;
    }
    
    .pain-line,
    .plea-text,
    .request-text {
        font-size: 0.95rem;
    }
    
    .request-text-emphasis {
        font-size: 1.05rem;
    }
    
    .truth-title {
        font-size: 1.4rem;
    }
    
    .truth-content {
        padding: 1rem;
    }
    
    /* Thinking Cards */
    .thinking-title {
        font-size: 1.75rem;
    }
    
    .thinking-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .thinking-card {
        padding: 1.2rem;
    }
    
    .thinking-photo {
        height: 180px;
    }
    
    .thinking-text {
        font-size: 1rem;
    }
    
    /* What This Is */
    .this-is-content h3 {
        font-size: 1.75rem;
    }
    
    .truth-box {
        padding: 1.3rem;
    }
    
    .truth-box p {
        font-size: 1rem;
    }
    
    /* Honest Confession */
    .confession-content h3 {
        font-size: 1.75rem;
    }
    
    .confession-text p {
        font-size: 1rem;
    }
    
    .but-because {
        padding: 1rem;
    }
    
    .because-text,
    .highlight-text {
        font-size: 1rem;
    }
    
    /* Birthday Surprise Button */
    .birthday-surprise-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    /* Raw Honesty Box */
    .raw-honesty-box {
        margin: 3rem 0;
    }
    
    .honesty-text {
        padding: 2rem 1.5rem;
    }
    
    .honesty-line {
        font-size: 1rem;
    }
    
    .big-ask {
        font-size: 1.3rem;
    }
    
    .remember-what,
    .final-ask {
        font-size: 1rem;
    }
    
    /* Heartfelt End */
    .end-message {
        padding: 2rem 1.5rem;
    }
    
    .soft-text {
        font-size: 1rem;
    }
    
    .final-truth p {
        font-size: 1.1rem;
    }
}

/* Extra Small Devices (up to 360px) */
@media (max-width: 360px) {
    body {
        font-size: 14px;
    }
    
    .hero-heading {
        font-size: 1.7rem;
    }
    
    .hero-line {
        font-size: 0.85rem;
    }
    
    .hero-emphasis {
        font-size: 1.05rem;
    }
    
    .section-title-fancy {
        font-size: 1.6rem;
    }
    
    .big-number {
        font-size: 4.5rem;
    }
    
    .food-circle-container {
        height: 420px;
    }
    
    .central-photo-frame {
        width: 110px;
        height: 110px;
    }
    
    .food-photo {
        width: 80px;
        height: 80px;
    }
    
    .final-quote {
        font-size: 1.2rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-fullscreen {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-split-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .hero-photo-frame {
        max-width: 280px;
    }
    
    .hero-main-photo {
        max-height: 300px;
    }
    
    .food-circle-container {
        height: 500px;
    }
}

/* Print Styles */
@media print {
    .audio-controls-vertical,
    .floating-hearts,
    .particles,
    .scroll-indicator,
    .next-page-btn,
    .birthday-surprise-btn {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}


/* ===================================
   GLOBAL IMAGE RESPONSIVE RULES
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all containers handle overflow properly on mobile */
@media (max-width: 768px) {
    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Prevent horizontal scroll */
    body, html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Make sure all sections don't overflow */
    .content-section,
    .hero-fullscreen,
    .quote-section,
    .food-memories-section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Responsive tables if any */
    table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }
}

/* Touch-friendly buttons on mobile */
@media (hover: none) and (pointer: coarse) {
    button,
    .cta-button,
    .cta-button-hero,
    .next-page-btn,
    .birthday-surprise-btn,
    .reminder-badge {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
}


/* ===================================
   FIX: "The Things I Quietly Admire" Section Responsiveness
   =================================== */

/* Ensure flip-overlay is responsive on all devices */
.flip-overlay {
    padding: 1.5rem 1rem;
}

.flip-overlay h4 {
    font-size: 1.6rem;
    line-height: 1.3;
}

.flip-overlay p {
    font-size: 0.95rem;
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) {
    .flip-overlay {
        padding: 1.3rem 1rem;
    }
    
    .flip-overlay h4 {
        font-size: 1.5rem;
    }
}

/* Mobile devices - primary fix */
@media (max-width: 768px) {
    /* Fix section title spacing */
    .content-section.alternate-bg .section-title-fancy {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    /* Fix admiration cards container */
    .admiration-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    /* Adjust flip card sizing */
    .flip-card {
        height: 350px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* Fix overlay on mobile */
    .flip-overlay {
        padding: 1.2rem 1rem;
        background: linear-gradient(to top, rgba(102, 126, 234, 0.98), rgba(102, 126, 234, 0.6) 70%, transparent);
    }
    
    .flip-overlay h4 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .flip-overlay .tap-hint {
        font-size: 0.85rem;
    }
    
    /* Fix comparison box */
    .comparison-box {
        flex-direction: column;
        gap: 1.5rem;
        margin: 3rem 0;
        padding: 0 1rem;
    }
    
    .compare-item {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .compare-photo {
        width: 130px;
        height: 130px;
    }
    
    .vs-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Section title ultra compact */
    .content-section.alternate-bg .section-title-fancy {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Flip cards more compact */
    .flip-card {
        height: 320px;
        margin: 0 auto 1.5rem;
    }
    
    .flip-card-inner {
        border-radius: 20px;
    }
    
    .flip-card-front,
    .flip-card-back {
        border-radius: 20px;
        padding: 1.2rem;
    }
    
    /* Overlay even more compact */
    .flip-overlay {
        padding: 1rem 0.8rem;
    }
    
    .flip-overlay h4 {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }
    
    .flip-overlay .tap-hint {
        font-size: 0.8rem;
    }
    
    /* Flip card back text */
    .flip-card-back {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .flip-card-back p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0.5rem;
    }
    
    /* Comparison items */
    .compare-item {
        padding: 1.5rem 1rem;
        max-width: 300px;
    }
    
    .compare-photo {
        width: 120px;
        height: 120px;
        border-width: 4px;
    }
    
    .compare-item p {
        font-size: 1.3rem;
    }
    
    .compare-note {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .content-section.alternate-bg .section-title-fancy {
        font-size: 1.35rem;
        line-height: 1.4;
    }
    
    .flip-card {
        height: 300px;
    }
    
    .flip-overlay h4 {
        font-size: 1.15rem;
    }
    
    .flip-card-back p {
        font-size: 0.9rem;
    }
    
    .compare-photo {
        width: 100px;
        height: 100px;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .flip-card {
        height: 280px;
    }
    
    .admiration-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}


/* ===================================
   FIX: Food Quote Section - Prevent Overlap on Mobile
   =================================== */

/* Ensure food quote doesn't overflow into next section */
.food-memories-section {
    position: relative;
    padding-bottom: 6rem;
    overflow: hidden;
}

.food-quote {
    position: relative;
    width: 90%;
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem 2.5rem;
    z-index: 1;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .food-memories-section {
        padding-bottom: 5rem;
    }
    
    .food-quote {
        width: 85%;
        padding: 1.8rem 2rem;
        margin: 2.5rem auto 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .food-memories-section {
        padding: 4rem 1rem 4rem;
        min-height: auto;
    }
    
    .food-quote {
        width: 90%;
        max-width: 100%;
        padding: 1.5rem 1.8rem;
        margin: 2rem auto 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .food-quote p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .food-quote::before {
        top: -15px;
        left: 15px;
        font-size: 2rem;
    }
    
    .food-quote::after {
        top: -15px;
        right: 15px;
        font-size: 2rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .food-memories-section {
        padding: 3rem 0.8rem 3rem;
    }
    
    .food-intro {
        font-size: 1rem;
        padding: 0 0.8rem;
        margin-bottom: 2.5rem;
    }
    
    .food-quote {
        width: 95%;
        padding: 1.3rem 1.5rem;
        margin: 2rem auto 0;
        border-radius: 20px;
    }
    
    .food-quote p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .food-quote::before,
    .food-quote::after {
        font-size: 1.8rem;
        top: -12px;
    }
    
    .food-quote::before {
        left: 10px;
    }
    
    .food-quote::after {
        right: 10px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .food-quote {
        width: 98%;
        padding: 1.2rem 1.2rem;
    }
    
    .food-quote p {
        font-size: 0.9rem;
    }
}

/* ===================================
   FIX: Prevent Section Overlap - Add Proper Spacing
   =================================== */

/* Ensure proper spacing between food section and next section */
.food-memories-section + .content-section {
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .food-memories-section + .content-section {
        margin-top: 3rem;
    }
    
    /* Ensure section titles don't overlap with previous content */
    .content-section .section-title-fancy {
        position: relative;
        z-index: 10;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .food-memories-section + .content-section {
        margin-top: 2rem;
    }
    
    .content-section .section-title-fancy {
        padding-top: 1.5rem;
    }
}

/* ===================================
   ADDITIONAL FIX: Clear Floats and Ensure No Absolute Positioning Issues
   =================================== */

/* Make sure food circle container doesn't cause overflow */
.food-circle-container {
    position: relative;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .food-circle-container {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .food-circle-container {
        margin-bottom: 1.5rem;
    }
}

/* Ensure section backgrounds don't overlap */
.content-section.alternate-bg {
    position: relative;
    z-index: 5;
}

.content-section {
    position: relative;
    clear: both;
}


/* ===================================
   CRITICAL FIX: Prevent All Section Overlaps on Mobile
   =================================== */

/* Ensure all content sections have proper isolation */
@media (max-width: 768px) {
    /* Force proper stacking context for all sections */
    .content-section {
        position: relative;
        isolation: isolate;
        padding: 4rem 1rem;
        margin-bottom: 0;
        overflow: visible;
    }
    
    /* Specific fix for alternating background sections */
    .content-section.alternate-bg {
        padding-top: 4rem;
        padding-bottom: 4rem;
        margin-top: 0;
    }
    
    /* Ensure section titles have proper spacing and visibility */
    .content-section .section-title-fancy {
        position: relative;
        z-index: 100;
        margin-bottom: 3rem;
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Remove any potential pseudo-elements that could overlap */
    .section-title-fancy::before,
    .section-title-fancy::after {
        display: none !important;
    }
    
    /* Ensure container doesn't allow overflow */
    .container {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        overflow: visible;
    }
    
    /* Fix food memories to not overflow */
    .food-memories-section {
        padding-bottom: 3rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Add clear separation between sections */
    .food-memories-section + .content-section {
        margin-top: 0;
        padding-top: 4rem;
        clear: both;
    }
    
    /* Ensure admiration cards section doesn't have overlap */
    .admiration-cards {
        position: relative;
        z-index: 1;
        padding-top: 0;
        margin-top: 0;
        clear: both;
    }
}

/* Additional small mobile fixes */
@media (max-width: 480px) {
    .content-section {
        padding: 3rem 0.8rem;
    }
    
    .content-section.alternate-bg {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title-fancy {
        font-size: 1.6rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.3 !important;
    }
    
    .food-memories-section {
        padding-bottom: 2rem !important;
    }
}

/* Extra safety: Remove any absolutely positioned decorative elements on mobile */
@media (max-width: 768px) {
    /* Hide any decorative pseudo-elements that might cause overlap */
    .content-section::before,
    .content-section::after,
    .container::before,
    .container::after {
        content: none !important;
        display: none !important;
    }
    
    /* Ensure no fixed or absolute children escape bounds */
    .content-section * {
        max-width: 100%;
    }
}


/* ===================================
   WELCOME OVERLAY SCREEN
   =================================== */

.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating hearts background */
.welcome-overlay::before {
    content: '💕';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    top: 10%;
    left: 10%;
    animation: floatHeart 8s ease-in-out infinite;
}

.welcome-overlay::after {
    content: '💖';
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    bottom: 15%;
    right: 15%;
    animation: floatHeart 6s ease-in-out infinite 2s;
}

.welcome-content {
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.welcome-animation {
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.heart-pulse {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

.welcome-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    animation: titleGlowWelcome 2s ease-in-out infinite alternate;
}

@keyframes titleGlowWelcome {
    from {
        text-shadow: 
            0 2px 10px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 255, 255, 0.5);
    }
    to {
        text-shadow: 
            0 2px 15px rgba(0, 0, 0, 0.4),
            0 0 50px rgba(255, 255, 255, 0.8);
    }
}

.welcome-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-style: italic;
    font-family: 'Lato', sans-serif;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1.5s ease-out 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.95; }
}

.start-button {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #764ba2;
    border: 3px solid rgba(255, 255, 255, 0.8);
    padding: 1.5rem 3.5rem;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: buttonPulse 2s ease-in-out infinite, fadeIn 1.5s ease-out 1s both;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.start-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(118, 75, 162, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.start-button:hover::before {
    width: 400px;
    height: 400px;
}

.start-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(255, 255, 255, 0.6);
    border-color: white;
    background: white;
}

.start-button:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.3),
            0 0 60px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.4),
            0 0 80px rgba(255, 255, 255, 0.7);
    }
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    animation: sparkleRotate 2s ease-in-out infinite;
}

@keyframes sparkleRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(20deg) scale(1.2);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(-20deg) scale(1.2);
    }
}

.welcome-hint {
    margin-top: 2.5rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.85;
    font-style: italic;
    animation: fadeIn 1.5s ease-out 1.5s both, blink 2s ease-in-out infinite 3s;
}

@keyframes blink {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.5; }
}

/* Sparkle decorations */
.welcome-content::before,
.welcome-content::after {
    content: '✨';
    position: absolute;
    font-size: 3rem;
    opacity: 0.6;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.welcome-content::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.welcome-content::after {
    top: 30%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-content {
        padding: 1.5rem;
    }
    
    .heart-pulse {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
        margin-bottom: 0.8rem;
    }
    
    .welcome-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.2rem);
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .start-button {
        padding: 1.3rem 3rem;
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
        gap: 0.8rem;
    }
    
    .btn-icon {
        font-size: 1.3rem;
    }
    
    .welcome-hint {
        margin-top: 2rem;
        font-size: clamp(0.85rem, 1.8vw, 1rem);
        padding: 0 1rem;
    }
    
    .welcome-content::before,
    .welcome-content::after {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .welcome-content {
        padding: 1rem;
    }
    
    .heart-pulse {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .welcome-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .welcome-subtitle {
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .start-button {
        padding: 1.2rem 2.5rem;
        font-size: clamp(1rem, 2vw, 1.3rem);
        gap: 0.6rem;
    }
    
    .welcome-overlay::before {
        font-size: 5rem;
    }
    
    .welcome-overlay::after {
        font-size: 4rem;
    }
}

@media (max-width: 360px) {
    .start-button {
        padding: 1rem 2rem;
    }
}

/* Landscape mode */
@media (max-width: 768px) and (orientation: landscape) {
    .welcome-overlay {
        overflow-y: auto;
    }
    
    .welcome-content {
        padding: 2rem 1rem;
    }
    
    .heart-pulse {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .welcome-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .start-button {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .welcome-hint {
        margin-top: 1.5rem;
        font-size: 0.9rem;
    }
}
