* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff1744;
    --secondary-color: #c2185b;
    --accent-color: #ffd700;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gradient-1: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
    --gradient-2: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    --gradient-3: linear-gradient(135deg, #f50057 0%, #c51162 100%);
    --gradient-4: linear-gradient(135deg, #ff1744 0%, #d81b60 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #880e4f 0%, #c2185b 25%, #d81b60 50%, #e91e63 75%, #880e4f 100%);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: #ffffff;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Stars Background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><circle cx="1" cy="1" r="1" fill="white"/></svg>') repeat;
    animation: animateStars 100s linear infinite;
    opacity: 0.8;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="3"><circle cx="1.5" cy="1.5" r="1.5" fill="white"/></svg>') repeat;
    animation: animateStars 150s linear infinite;
    opacity: 0.6;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="2" cy="2" r="2" fill="white"/></svg>') repeat;
    animation: animateStars 200s linear infinite;
    opacity: 0.4;
}

@keyframes animateStars {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
}

/* Hearts Container */
.hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 24px;
    animation: floatUpHeart 4s ease-in forwards;
    opacity: 1;
}

@keyframes floatUpHeart {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) scale(1.5) rotate(360deg);
        opacity: 0;
    }
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.hero-content {
    z-index: 3;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
}

.gradient-text {
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
}

.cursor-blink {
    animation: blink 1s infinite;
    color: #ffffff;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.5s both;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
    border: 3px solid #ffffff;
    padding: 15px 40px;
    font-size: 1.1rem;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.8s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    background: linear-gradient(135deg, #ff1744 0%, #e91e63 100%);
}

.cta-button i {
    margin-left: 8px;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.3); }
    20%, 40% { transform: scale(1); }
}

/* Floating Hearts in Hero */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-heart {
    position: absolute;
    font-size: 30px;
    animation: floatAround 20s infinite;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

.float-heart:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.float-heart:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 2s;
}

.float-heart:nth-child(3) {
    left: 20%;
    top: 70%;
    animation-delay: 4s;
}

.float-heart:nth-child(4) {
    left: 70%;
    top: 80%;
    animation-delay: 6s;
}

.float-heart:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 8s;
}

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-30px, -60px) rotate(180deg); }
    75% { transform: translate(-60px, -30px) rotate(270deg); }
}

/* Counter Section */
.counter-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.counter-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.counter-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: #ffd700;
    background: rgba(0, 0, 0, 0.5);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.counter-item p {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Section Title */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
}

.title-icon {
    display: inline-block;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    border: 4px solid rgba(255, 255, 255, 0.5);
}

.image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    border-color: #ffd700;
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.image-wrapper:hover .gallery-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(136, 14, 79, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.image-overlay p {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.image-caption {
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    font-style: italic;
    color: #ffd700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(136, 14, 79, 0.98);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    border: 5px solid #ffd700;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10001;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.close-modal:hover {
    color: #ffd700;
}

.modal-caption {
    text-align: center;
    color: #ffffff;
    font-size: 1.5rem;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* Reasons Cards */
.reasons-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-card {
    height: 250px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.reason-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-front {
    background: linear-gradient(135deg, #d32f2f 0%, #880e4f 100%);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.card-front i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #ffffff;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.card-front h3 {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card-back {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    transform: rotateY(180deg);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.card-back p {
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Carousel Section */
.carousel-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.carousel-track {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-slide {
    display: none;
    animation: slideIn 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.compliment-box {
    text-align: center;
    padding: 20px;
}

.quote-icon {
    font-size: 2rem;
    color: #ffd700;
    margin: 10px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.compliment-box p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 20px 0;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    font-size: 1.5rem;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
    transform: translateY(-50%) scale(1.1);
    border-color: #ffd700;
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: #ffd700;
    transform: scale(1.3);
    border-color: #ffffff;
}

/* Quiz Section */
.quiz-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.quiz-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.quiz-btn {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border: 3px solid rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    font-size: 1.1rem;
    color: #ffffff;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.quiz-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-color: #ffd700;
    background: linear-gradient(135deg, #ff1744 0%, #d81b60 100%);
}

.quiz-result {
    margin-top: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    min-height: 40px;
    color: #ffd700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Qualities Section */
.qualities-section {
    padding: 60px 20px;
    margin: 40px 0;
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quality-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quality-item:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.5);
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.8));
}

.quality-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.quality-item p {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Heart Button Section */
.heart-button-section {
    padding: 60px 20px;
    margin: 40px 0;
    text-align: center;
}

.heart-explosion-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
    border: 4px solid #ffffff;
    padding: 30px 60px;
    font-size: 1.5rem;
    color: #ffffff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.heart-explosion-btn:hover {
    transform: scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #ff1744 0%, #e91e63 100%);
}

.heart-explosion-btn i {
    margin-right: 10px;
    font-size: 2rem;
}

.heart-counter {
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.heart-counter span {
    color: #ffd700;
    font-size: 1.5rem;
}

/* Final Section */
.final-section {
    padding: 80px 20px;
    margin: 60px 0;
}

.final-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 40px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.final-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ffd700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.8);
}

.final-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.final-hearts {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.pulse-heart {
    font-size: 3rem;
    display: inline-block;
    animation: pulsate 1.5s infinite;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.8));
}

.pulse-heart:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-heart:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulsate {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 60px;
    border-top: 3px solid rgba(255, 255, 255, 0.4);
}

.footer p {
    font-size: 1.1rem;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-btn.prev {
        left: -10px;
    }
    
    .carousel-btn.next {
        right: -10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .close-modal {
        right: 20px;
        top: 20px;
        font-size: 40px;
    }
}
/* ============================================
   MOBILE & RESPONSIVE OPTIMIZATION
   Add this at the end of your CSS file
   ============================================ */

/* Base viewport fix */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Touch optimization */
button, a, .reason-card, .quality-item, .gallery-item {
    -webkit-tap-highlight-color: rgba(255, 107, 157, 0.3);
    touch-action: manipulation;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ============================================
   TABLET DEVICES (Portrait iPads, Tablets)
   768px - 1024px
   ============================================ */
@media only screen and (max-width: 1024px) {
    .main-wrapper {
        padding: 15px;
    }
    
    .carousel-btn.prev {
        left: -40px;
    }
    
    .carousel-btn.next {
        right: -40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .reasons-grid,
    .qualities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   MOBILE DEVICES (Landscape Phones, Small Tablets)
   600px - 768px
   ============================================ */
@media only screen and (max-width: 768px) {
    /* Typography */
    .main-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1.1rem !important;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 30px 15px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Floating hearts smaller on mobile */
    .float-heart {
        font-size: 20px;
    }
    
    /* Counter Section */
    .counter-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .counter-item {
        padding: 30px 15px;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .image-caption {
        font-size: 1rem;
    }
    
    /* Modal */
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .close-modal {
        right: 20px !important;
        top: 20px !important;
        font-size: 35px !important;
    }
    
    .modal-caption {
        font-size: 1.2rem;
        bottom: 20px;
    }
    
    /* Reason Cards */
    .reasons-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .reason-card {
        height: 200px;
    }
    
    .card-front i {
        font-size: 3rem;
    }
    
    .card-front h3 {
        font-size: 1.1rem;
    }
    
    .card-back p {
        font-size: 1rem;
    }
    
    /* Carousel */
    .carousel-container {
        padding: 0 15px;
    }
    
    .carousel-track {
        padding: 25px 15px;
    }
    
    .compliment-box p {
        font-size: 1.1rem !important;
    }
    
    .carousel-btn {
        padding: 12px 15px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: -5px !important;
    }
    
    .carousel-btn.next {
        right: -5px !important;
    }
    
    .carousel-dots {
        margin-top: 20px;
    }
    
    /* Quiz Section */
    .quiz-container {
        padding: 30px 20px;
    }
    
    .quiz-question {
        font-size: 1.2rem;
    }
    
    .quiz-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .quiz-result {
        font-size: 1.1rem;
    }
    
    /* Qualities Section */
    .qualities-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .quality-item {
        padding: 25px 20px;
    }
    
    .quality-icon {
        font-size: 2.5rem;
    }
    
    .quality-item h3 {
        font-size: 1.2rem;
    }
    
    /* Heart Button */
    .heart-explosion-btn {
        padding: 20px 40px;
        font-size: 1.2rem;
    }
    
    .heart-explosion-btn i {
        font-size: 1.5rem;
    }
    
    .heart-counter {
        font-size: 1.1rem;
    }
    
    /* Final Section */
    .final-content {
        padding: 40px 25px;
    }
    
    .final-title {
        font-size: 2rem !important;
    }
    
    .final-text {
        font-size: 1rem;
    }
    
    .final-hearts {
        gap: 15px;
    }
    
    .pulse-heart {
        font-size: 2.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 20px 15px;
    }
    
    .footer p {
        font-size: 0.95rem;
    }
}

/* ============================================
   SMALL MOBILE DEVICES (Phones in Portrait)
   320px - 480px
   ============================================ */
@media only screen and (max-width: 480px) {
    /* Typography */
    .main-title {
        font-size: 1.8rem !important;
    }
    
    .subtitle {
        font-size: 0.95rem !important;
    }
    
    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 25px;
    }
    
    /* Sections */
    .counter-section,
    .gallery-section,
    .reasons-section,
    .carousel-section,
    .quiz-section,
    .qualities-section,
    .heart-button-section,
    .final-section {
        padding: 40px 10px;
        margin: 20px 0;
    }
    
    /* Counter */
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-item p {
        font-size: 0.95rem;
    }
    
    /* Gallery */
    .gallery-image {
        height: 250px;
    }
    
    .image-overlay i {
        font-size: 2rem;
    }
    
    /* Cards */
    .reason-card {
        height: 180px;
    }
    
    .card-inner {
        padding: 20px;
    }
    
    /* Carousel */
    .compliment-box p {
        font-size: 1rem !important;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    /* Quiz */
    .quiz-question {
        font-size: 1.1rem;
    }
    
    .quiz-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    /* Heart Button */
    .heart-explosion-btn {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    /* Final Section */
    .final-content {
        padding: 30px 20px;
    }
    
    .final-title {
        font-size: 1.7rem !important;
    }
    
    .final-text {
        font-size: 0.95rem;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (Very Small Phones)
   < 375px
   ============================================ */
@media only screen and (max-width: 375px) {
    .main-title {
        font-size: 1.5rem !important;
    }
    
    .subtitle {
        font-size: 0.85rem !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .heart-explosion-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .final-title {
        font-size: 1.5rem !important;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIX
   ============================================ */
@media only screen and (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 20px 15px;
    }
    
    .main-title {
        font-size: 2rem !important;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 1rem !important;
        margin-bottom: 15px;
    }
    
    .floating-hearts {
        display: none;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High DPI screens (Retina displays) */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
    body {
        -webkit-font-smsoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print styles (optional) */
@media print {
    .stars, .stars2, .stars3,
    .hearts-container,
    .particles,
    .floating-hearts,
    .cta-button,
    .carousel-btn,
    .heart-explosion-btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}
