/* Reset and Base Styles */

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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #c44569;
    --accent-color: #f8b500;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #fdfdfd;
    --bg-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --card-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    height: auto;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}


/* Mobile Navigation Toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.nav-menu {
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}


/* Navigation Dropdown */

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu .nav-link {
    display: block;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.dropdown-menu .nav-link:last-child {
    border-bottom: none;
}

.dropdown-menu .nav-link:hover {
    background: rgba(255, 154, 158, 0.1);
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}


/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-gradient);
    color: white;
    box-shadow: var(--card-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.btn-text {
    background: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
}

.btn-text:hover {
    background: rgba(255, 107, 157, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}


/* Enhanced Hero Section */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}


/* Animated Background */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-hearts i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 154, 158, 0.6);
    animation: float 6s ease-in-out infinite;
}

.heart-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.heart-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.heart-3 {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.heart-4 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.heart-5 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.heart-6 {
    bottom: 10%;
    right: 25%;
    animation-delay: 5s;
}

.sparkle-effects {
    position: absolute;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle 4s ease-in-out infinite;
}

.sparkle-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.sparkle-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.sparkle-3 {
    top: 60%;
    left: 15%;
    animation-delay: 2.5s;
}

.sparkle-4 {
    bottom: 30%;
    right: 15%;
    animation-delay: 3.5s;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 154, 158, 0.3) 0%, transparent 70%);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 4s;
}


/* Visitor Hook */

.visitor-hook {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
    z-index: 10000;
    animation: slideDown 0.5s ease-out;
    max-width: 90%;
    text-align: center;
}

.hook-content {
    position: relative;
}

.hook-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

.hook-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.hook-message {
    font-size: 0.9rem;
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.hook-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hook-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


/* Hero Content */

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
}

.hero-header {
    text-align: center;
    margin-bottom: 3rem;
}


/* Enhanced Title */

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.title-line-1 {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line-2 {
    display: block;
    animation: slideInRight 1s ease-out 0.3s both;
    color: #ff6b9d;
}

.title-heart {
    display: inline-block;
    margin-left: 15px;
    animation: heartbeat 2s ease-in-out infinite;
    color: #ff6b9d;
}


/* Enhanced Subtitle */

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.subtitle-highlight {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}


/* Trust Indicators */

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.trust-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff6b9d;
    margin-bottom: 5px;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}


/* Enhanced Buttons */

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.btn-shine {
    background: linear-gradient(45deg, #ff6b9d, #ff8fab, #ff6b9d);
    background-size: 200% 200%;
    animation: shine 3s ease-in-out infinite;
}

.btn-bounce {
    animation: bounce 2s infinite;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn:hover .btn-glow {
    transform: translateX(100%);
}

.btn-ripple {
    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 ease, height 0.6s ease;
}

.hero-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 154, 158, 0.4);
}


/* Hero Image/Visual */

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 0 20px;
}

.hero-visual {
    position: relative;
    width: 300px;
    height: 300px;
    animation: fadeInRight 1s ease-out 1.5s both;
}

.love-couple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.person {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.person-1 {
    animation-delay: 0s;
}

.person-2 {
    animation-delay: 1.5s;
}

.heart-between {
    font-size: 2rem;
    animation: heartbeat 2s ease-in-out infinite;
    color: #ff6b9d;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    animation: orbit 8s linear infinite;
}

.item-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.item-2 {
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.item-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.item-4 {
    bottom: 10%;
    right: 15%;
    animation-delay: 6s;
}


/* Enhanced Scroll Hook */

.scroll-hook {
    text-align: center;
    animation: fadeInUp 1s ease-out 1.8s both;
}

.hook-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hook-emoji {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.hook-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid #ff6b9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: #ff6b9d;
    color: white;
    transform: scale(1.1);
}

.scroll-arrow i {
    font-size: 1.2rem;
    color: #ff6b9d;
    transition: color 0.3s ease;
}

.scroll-arrow:hover i {
    color: white;
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}


/* Enhanced Animations */

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

@keyframes fadeInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Sections */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Features Section */

.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}


/* Quiz Section */

.quiz-section {
    background: var(--bg-gradient);
}

.quiz-content {
    text-align: center;
}

.quiz-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    max-width: 500px;
    margin: 0 auto;
}

.quiz-intro i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quiz-intro h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.quiz-intro p {
    color: var(--text-light);
    margin-bottom: 2rem;
}


/* Tips Section */

.tips-section {
    background: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-card {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: var(--transition);
    position: relative;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    margin-top: 1rem;
}

.tip-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}


/* CTA Section */

.cta-section {
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


/* Footer */

.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b9d, #ff8fab, #ff6b9d, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
}

.footer-logo i {
    color: #ff6b9d;
    font-size: 2.2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
    transition: left 0.6s ease;
}

.footer-links a:hover::before {
    left: 100%;
}

.footer-links a:hover {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.footer-social {
    text-align: center;
}

.footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 143, 171, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 107, 157, 0.3);
}

.social-link i {
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.social-link span {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 119, 181, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
    color: white;
    box-shadow: 0 15px 35px rgba(228, 64, 95, 0.4);
}

.social-link.github:hover {
    background: linear-gradient(135deg, #333, #000);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b9d, transparent);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.copyright-brand {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}


/* Floating hearts animation in footer */

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 143, 171, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 60%, rgba(255, 107, 157, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}


/* Go to Top Button */

.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.go-to-top-btn:hover {
    background: linear-gradient(135deg, #ff5a8a, #ff7fa0);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
}

.go-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top-btn i {
    animation: bounceUp 2s ease-in-out infinite;
}

@keyframes bounceUp {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .go-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}


/* Target Game Real-time Styles */

.target-game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-weight: 600;
}

.target-score,
.target-timer {
    color: #ff6b9d;
    font-size: 1.1rem;
}

.target-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 10px;
    border: 2px solid #ff6b9d;
}

@keyframes explode {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spinningParticle {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}


/* Music Platform Styles */

.music-player-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: white;
}

.music-player-header {
    text-align: center;
    margin-bottom: 2rem;
}

.music-player-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.music-player-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.music-player-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.now-playing {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.now-playing-cover {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.now-playing-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.now-playing-cover:hover img {
    transform: scale(1.05);
}

.play-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 157, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.now-playing-cover:hover .play-pause-overlay {
    opacity: 1;
}

.now-playing-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.now-playing-info p {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.now-playing-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    opacity: 0.8;
}

.music-controls {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 107, 157, 0.8);
    transform: scale(1.1);
}

.control-btn.active {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
}

.play-pause-btn {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 3px;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transform: translate(50%, -50%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-container input[type="range"] {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 107, 157, 0.8);
    transform: translateY(-2px);
}

.like-btn:hover {
    background: linear-gradient(135deg, #e91e63, #f06292);
}

.share-btn:hover {
    background: linear-gradient(135deg, #2196f3, #42a5f5);
}

.download-btn:hover {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.music-library {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.library-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.library-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.library-controls input,
.library-controls select {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
}

.library-controls input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.library-controls select option {
    background: #333;
    color: white;
}

.sort-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sort-btn:hover {
    background: rgba(255, 107, 157, 0.8);
    transform: scale(1.1);
}

.songs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.songs-list::-webkit-scrollbar {
    width: 6px;
}

.songs-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.songs-list::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 157, 0.8);
    border-radius: 3px;
}

.song-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.song-cover {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 157, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-item:hover .play-overlay {
    opacity: 1;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-album {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0 0 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-tags {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 107, 157, 0.3);
    border-radius: 10px;
    color: white;
}

.song-duration {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 1rem;
    white-space: nowrap;
}

.song-stats {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0 1rem;
    white-space: nowrap;
}

.song-actions {
    display: flex;
    gap: 0.5rem;
}

.song-actions .action-btn {
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    font-size: 0.9rem;
}

.now-playing-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    padding: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: none;
}

.now-playing-widget.show {
    display: block;
}

.widget-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.widget-content img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.widget-info {
    flex: 1;
    min-width: 0;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.widget-artist {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
}

.widget-controls {
    display: flex;
    gap: 0.5rem;
}

.widget-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 107, 157, 0.8);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-btn:hover {
    background: rgba(255, 107, 157, 1);
    transform: scale(1.1);
}


/* Mobile Responsive Styles for Music Platform */

@media (max-width: 768px) {
    .music-player-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .now-playing-cover {
        width: 150px;
        height: 150px;
    }
    .library-header {
        flex-direction: column;
        align-items: stretch;
    }
    .library-controls {
        justify-content: center;
    }
    .songs-list {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
    .song-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .song-cover {
        width: 80px;
        height: 80px;
    }
    .song-duration,
    .song-stats {
        margin: 0.5rem 0;
    }
    .song-actions {
        justify-content: center;
    }
    .now-playing-widget {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .widget-content {
        flex-direction: column;
        text-align: center;
    }
    .widget-controls {
        justify-content: center;
    }
    
    /* Enhanced AI Chatbot Responsive */
    .ai-chat-section {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .chat-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chat-header-left {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
    
    .ai-avatar {
        width: 40px;
        height: 40px;
    }
    
    .ai-info h3 {
        font-size: 1rem;
    }
    
    .ai-info p {
        font-size: 0.8rem;
    }
    
    .chat-controls {
        gap: 0.5rem;
    }
    
    .btn-clear, .btn-minimize {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .chat-messages {
        height: 300px;
        padding: 1rem;
    }
    
    .message {
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .message-avatar {
        width: 30px;
        height: 30px;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .message-bubble {
        max-width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #chatInput {
        height: 60px;
        font-size: 0.9rem;
    }
    
    .btn-send {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .quick-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .quick-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    /* Enhanced Button Responsiveness */
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly minimum */
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Enhanced Feature Cards Responsive */
    .feature-card {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Enhanced Quiz Responsive */
    .quiz-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .quiz-title {
        font-size: 1.5rem;
    }
    
    .quiz-description {
        font-size: 0.9rem;
    }
    
    .quiz-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .quiz-btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Enhanced Memory Game Responsive */
    .memory-game-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .game-info-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .score-display {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .score-item {
        text-align: center;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .game-btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .memory-board {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .memory-card {
        aspect-ratio: 1;
        font-size: 1.5rem;
    }
    
    /* Enhanced Navigation Responsive */
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .nav-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        text-align: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Enhanced Hero Section Responsive */
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .hero-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Enhanced Footer Responsive */
    .footer {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .social-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .music-player-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    .music-player-header h2 {
        font-size: 2rem;
    }
    .control-buttons {
        gap: 0.5rem;
    }
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .play-pause-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    .progress-container {
        gap: 0.5rem;
    }
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    .library-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    .library-controls input,
    .library-controls select {
        width: 100%;
    }
    
    /* Extra Small Screen AI Chatbot */
    .ai-chat-section {
        margin: 0.5rem;
        border-radius: 10px;
    }
    
    .chat-header {
        padding: 0.8rem;
    }
    
    .ai-avatar {
        width: 35px;
        height: 35px;
    }
    
    .ai-info h3 {
        font-size: 0.9rem;
    }
    
    .ai-info p {
        font-size: 0.7rem;
    }
    
    .chat-messages {
        height: 250px;
        padding: 0.8rem;
    }
    
    .message-bubble {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .chat-input-container {
        padding: 0.8rem;
    }
    
    #chatInput {
        height: 50px;
        font-size: 0.8rem;
    }
    
    .btn-send {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .quick-buttons {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .quick-btn {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Extra Small Screen Buttons */
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    /* Extra Small Screen Feature Cards */
    .feature-card {
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    /* Extra Small Screen Quiz */
    .quiz-card {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .quiz-title {
        font-size: 1.2rem;
    }
    
    .quiz-description {
        font-size: 0.8rem;
    }
    
    .quiz-btn {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Extra Small Screen Memory Game */
    .memory-game-container {
        margin: 0.5rem;
        padding: 0.8rem;
    }
    
    .memory-board {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .memory-card {
        font-size: 1.2rem;
    }
    
    /* Extra Small Screen Hero */
    .hero {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Extra Small Screen Footer */
    .footer {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links {
        gap: 0.6rem;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
}


/* Enhanced AI Chatbot Styles */
.ai-chat-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    margin: 2rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-container {
    height: 500px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: height 0.3s ease;
}

.chat-header {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.ai-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-clear, .btn-minimize {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-clear:hover, .btn-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.8);
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 107, 157, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 157, 0.3);
    border-radius: 3px;
}

.message {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    gap: 1rem;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.message-bubble {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    position: relative;
}

.message-bubble p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
}

.user-message .message-bubble p {
    color: white;
}

.chat-input-container {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 107, 157, 0.2);
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#chatInput {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

#chatInput:focus {
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.btn-send {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.btn-send:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.quick-btn {
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 107, 157, 0.2);
    border-radius: 25px;
    background: white;
    color: #ff6b9d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-btn:hover {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.typing-indicator {
    opacity: 0.7;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #ff6b9d;
    border-radius: 50%;
    animation: typingDots 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
}


/* Enhanced Responsive Design */

@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        margin: 0.5rem 0;
    }
    .hamburger {
        display: block;
    }
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tips-grid,
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .zodiac-inputs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .compatibility-calculator {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 50px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .title-line-1,
    .title-line-2 {
        display: block;
        margin-bottom: 0.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    .trust-item {
        padding: 10px;
    }
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .hero-btn {
        min-width: 200px;
        padding: 1rem 2rem;
    }
    .hero-image {
        margin-top: 2rem;
    }
    .hero-visual {
        width: 250px;
        height: 250px;
    }
    .person {
        font-size: 3rem;
    }
    .visitor-hook {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: none;
        padding: 15px 20px;
    }
    .hook-title {
        font-size: 1.1rem;
    }
    .hook-message {
        font-size: 0.8rem;
    }
    .features-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .footer-social h3 {
        font-size: 1.2rem;
    }
    .social-links {
        gap: 0.8rem;
    }
    .social-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}


/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}


/* Loading animations */

.feature-card,
.tip-card,
.quiz-card {
    animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}


/* Hover effects for interactive elements */

.btn:active {
    transform: scale(0.98);
}


/* Love Me Section */

.love-me-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    position: relative;
    overflow: hidden;
}

.love-me-content {
    text-align: center;
}

.love-me-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.love-me-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
}

.love-me-header {
    margin-bottom: 2rem;
}

.love-me-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: heartbeat 2s infinite;
}

.love-me-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.love-me-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.love-me-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
    position: relative;
    min-height: 80px;
}

.btn-love-yes {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

.btn-love-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6);
}

.btn-love-no {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: noButtonShake 2s infinite;
    z-index: 5;
}

.btn-love-no:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(232, 67, 147, 0.6);
}

@keyframes noButtonShake {
    0%,
    90%,
    100% {
        transform: translateX(0);
    }
    5% {
        transform: translateX(-3px);
    }
    10% {
        transform: translateX(3px);
    }
    15% {
        transform: translateX(-2px);
    }
    20% {
        transform: translateX(2px);
    }
    25% {
        transform: translateX(0);
    }
}

.love-response {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.response-content {
    position: relative;
}

.response-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.response-hearts i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: heartFloat 2s ease-in-out infinite;
}

.response-hearts i:nth-child(2) {
    animation-delay: 0.3s;
}

.response-hearts i:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes heartFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* Love Games Section */

.love-games-section {
    background: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.game-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.2);
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.game-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}


/* Enhanced Silly Love Quiz Section */

.funny-quiz-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.quiz-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 3px dashed #fdcb6e;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.quiz-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.quiz-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-emoji-left,
.quiz-emoji-right {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.quiz-emoji-right {
    animation-delay: 1s;
}

.quiz-description {
    font-size: 1.2rem;
    color: #636e72;
    margin: 0;
    font-weight: 500;
}

.quiz-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quiz-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    min-height: 80px;
}

.quiz-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.6s ease;
}

.quiz-btn:hover::before {
    left: 100%;
}

.quiz-btn .btn-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.quiz-btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
}

.quiz-btn .btn-content {
    flex: 1;
}

.quiz-btn .btn-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.quiz-btn .btn-subtitle {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.quiz-btn .btn-arrow {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.quiz-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.quiz-btn.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.quiz-btn.btn-secondary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.3);
}

.quiz-btn.btn-tertiary {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    box-shadow: 0 8px 25px rgba(162, 155, 254, 0.3);
}

.quiz-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.quiz-progress {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b9d, #ff8fab);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Comedy Section */

.comedy-section {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 50%, #e17055 100%);
    position: relative;
    overflow: hidden;
}

.comedy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.comedy-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.comedy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0, #e17055);
}

.comedy-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(255, 234, 167, 0.4);
}

.comedy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.comedy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.comedy-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-comedy {
    background: linear-gradient(45deg, #ffeaa7, #fab1a0);
    color: #2d3436;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(255, 234, 167, 0.4);
    transition: var(--transition);
}

.btn-comedy:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 25px rgba(255, 234, 167, 0.6);
}


/* Funny Quiz Section */

.funny-quiz-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
    border: 3px dashed #ffeaa7;
}

.funny-quiz-section h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.quiz-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}


/* Heart Rain Section */

.heart-rain-section {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.heart-rain-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.rain-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.heart-rain-container,
.emoji-rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart-rain,
.emoji-rain {
    position: absolute;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: heartFall linear infinite;
    pointer-events: none;
}

@keyframes heartFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}


/* Funny Buttons Section */

.funny-buttons-section {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 50%, #7fcdcd 100%);
    position: relative;
    overflow: hidden;
}

.funny-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.btn-funny-1 {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    color: white;
    animation: rainbow 3s linear infinite;
}

.btn-funny-2 {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    animation: pulse 2s infinite;
}

.btn-funny-3 {
    background: linear-gradient(45deg, #55efc4, #00b894);
    color: white;
    animation: wiggle 4s ease-in-out infinite;
}

.btn-funny-4 {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    color: white;
    animation: bounce 1.5s infinite;
}

.btn-funny-5 {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    animation: shake 2s infinite;
}

.btn-funny-6 {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    animation: rotate 3s linear infinite;
}

@keyframes rainbow {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Funny button hover effects */

.btn-funny-1:hover {
    animation: none;
    transform: scale(1.2) rotate(10deg);
    filter: brightness(1.2);
}

.btn-funny-2:hover {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(116, 185, 255, 0.8);
}

.btn-funny-3:hover {
    animation: none;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(85, 239, 196, 0.6);
}

.btn-funny-4:hover {
    animation: none;
    transform: scale(1.15) rotate(-5deg);
}

.btn-funny-5:hover {
    animation: none;
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(253, 121, 168, 0.7);
}

.btn-funny-6:hover {
    animation: none;
    transform: scale(1.1) rotate(180deg);
}


/* Virtual Pet Game Section */

.pet-game-section {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8a3 50%, #7fcdcd 100%);
    position: relative;
    overflow: hidden;
}

.pet-game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.pet-display {
    background: white;
    border-radius: 25px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.pet-container {
    margin-bottom: 2rem;
}

.pet {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: petBounce 2s ease-in-out infinite;
}

@keyframes petBounce {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.pet-face {
    position: relative;
}

.pet-eyes {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.eye {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: relative;
    animation: blink 3s infinite;
}

.eye::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #2d3436;
    border-radius: 50%;
}

@keyframes blink {
    0%,
    90%,
    100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

.pet-mouth {
    width: 30px;
    height: 15px;
    background: #e84393;
    border-radius: 0 0 30px 30px;
    margin: 0 auto;
}

.pet-status {
    margin-bottom: 1.5rem;
}

.status-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.status-bar span {
    min-width: 80px;
    text-align: left;
}

.bar {
    flex: 1;
    height: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    margin-left: 10px;
}

.bar .fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.happiness-bar .fill {
    background: linear-gradient(45deg, #00b894, #00cec9);
}

.hunger-bar .fill {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
}

.energy-bar .fill {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
}

.pet-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-pet {
    background: linear-gradient(45deg, #a8e6cf, #88d8a3);
    color: #2d3436;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-pet:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 230, 207, 0.4);
}


/* Enhanced Memory Game Section */

.memory-game-section {
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 50%, #e17055 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.memory-game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.score-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    transition: transform 0.3s ease;
}

.score-item:hover {
    transform: translateY(-5px);
}

.score-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.score-content {
    flex: 1;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 5px;
}

.score-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.score-total {
    font-size: 1.2rem;
    opacity: 0.8;
}

.game-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.game-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    min-height: 70px;
}

.game-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.6s ease;
}

.game-btn:hover::before {
    left: 100%;
}

.game-btn .btn-icon {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.game-btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
}

.game-btn .btn-content {
    flex: 1;
}

.game-btn .btn-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
}

.game-btn .btn-subtitle {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.game-btn.btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.game-btn.btn-secondary {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.3);
}

.game-btn.btn-tertiary {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    box-shadow: 0 8px 25px rgba(253, 203, 110, 0.3);
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.memory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.memory-card.flipped::before {
    opacity: 1;
}

.memory-card:hover {
    transform: scale(1.05);
}

.memory-card.matched {
    background: linear-gradient(135deg, #00b894, #00cec9);
    animation: matchSuccess 0.6s ease;
}

.memory-card.wrong {
    animation: matchWrong 0.6s ease;
}

@keyframes matchSuccess {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes matchWrong {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}


/* Memory Game Section - Duplicate removed */


/* Photo Booth Section */

.photo-booth-section {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #00cec9 100%);
    position: relative;
    overflow: hidden;
}

.photo-booth-container {
    max-width: 800px;
    margin: 0 auto;
}

.camera-container {
    text-align: center;
    margin-bottom: 2rem;
}

.camera-frame {
    width: 300px;
    height: 300px;
    border: 5px solid white;
    border-radius: 20px;
    margin: 0 auto;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    color: #6c757d;
    text-align: center;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.photo-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-photo {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-photo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(116, 185, 255, 0.4);
}

.photo-gallery {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* Additional Filters Section */

.additional-filters {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.additional-filters h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.btn-filter {
    background: linear-gradient(135deg, #fd79a8, #e84393);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 121, 168, 0.4);
    text-align: center;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 121, 168, 0.6);
    background: linear-gradient(135deg, #e84393, #d63031);
}

.btn-filter:active {
    transform: translateY(0);
}


/* Filter Effects */

.heart-filter {
    filter: hue-rotate(320deg) saturate(1.5) brightness(1.1);
}

.rainbow-filter {
    filter: hue-rotate(180deg) saturate(2) brightness(1.2);
}

.sparkle-filter {
    filter: brightness(1.3) contrast(1.2) saturate(1.5);
}

.vintage-filter {
    filter: sepia(0.8) contrast(1.2) brightness(1.1) saturate(1.3);
}

.sepia-filter {
    filter: sepia(1) contrast(1.1) brightness(1.05);
}

.blackwhite-filter {
    filter: grayscale(1) contrast(1.2);
}

.blur-filter {
    filter: blur(2px) brightness(0.9);
}

.brightness-filter {
    filter: brightness(1.5) contrast(1.1);
}

.contrast-filter {
    filter: contrast(1.5) brightness(1.1);
}

.saturate-filter {
    filter: saturate(2) brightness(1.1);
}

.hue-filter {
    filter: hue-rotate(90deg) saturate(1.3);
}

.invert-filter {
    filter: invert(1) hue-rotate(180deg);
}

.grayscale-filter {
    filter: grayscale(1);
}


/* Voice Message Section */

.voice-message-section {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #fd79a8 100%);
    position: relative;
    overflow: hidden;
}

.voice-container {
    max-width: 700px;
    margin: 0 auto;
}

.voice-recorder {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.recording-display {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e17055;
    font-weight: 600;
}

.pulse-circle {
    width: 20px;
    height: 20px;
    background: #e17055;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.voice-waveform {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wave-bar {
    width: 4px;
    background: #6c5ce7;
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%,
    100% {
        height: 20px;
    }
    50% {
        height: 60px;
    }
}

.voice-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-voice {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-voice:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.voice-templates {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
}

.template-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-template {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-template:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 121, 168, 0.4);
}


/* Drawing Board Section */

.drawing-board-section {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 50%, #74b9ff 100%);
    position: relative;
    overflow: hidden;
}

.drawing-container {
    max-width: 800px;
    margin: 0 auto;
}

.drawing-tools {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-tool {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-tool.active {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
}

.btn-tool:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.3);
}

.color-picker {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 20px;
}

.color-btn {
    width: 30px;
    height: 30px;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.color-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.drawing-board {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: center;
}

#drawingCanvas {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    cursor: crosshair;
}

.drawing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-drawing {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.btn-drawing:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4);
}


/* Animation Showcase Section */

.animation-showcase-section {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 50%, #e84393 100%);
    position: relative;
    overflow: hidden;
}

.animation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.animation-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.animation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 159, 243, 0.4);
}

.animation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: spinGlow 3s linear infinite;
}

@keyframes spinGlow {
    0% {
        transform: rotate(0deg);
        box-shadow: 0 0 20px rgba(255, 159, 243, 0.5);
    }
    50% {
        transform: rotate(180deg);
        box-shadow: 0 0 40px rgba(243, 104, 224, 0.8);
    }
    100% {
        transform: rotate(360deg);
        box-shadow: 0 0 20px rgba(255, 159, 243, 0.5);
    }
}

.btn-animation {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: var(--transition);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 159, 243, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(243, 104, 224, 0.6);
    }
}

.btn-animation:hover {
    transform: scale(1.1);
    animation: none;
}


/* Music Section */

.music-section {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #fd79a8 100%);
    position: relative;
    overflow: hidden;
}

.music-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.music-feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.music-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.4);
}

.btn-music {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: var(--transition);
    animation: musicGlow 2s infinite;
}

@keyframes musicGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(162, 155, 254, 0.8);
    }
}

.btn-music:hover {
    animation: none;
    transform: scale(1.1);
}

.music-player {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    text-align: center;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
}

.volume-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

#volumeSlider {
    width: 150px;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b9d;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
}

#volumeSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff6b9d;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(255, 107, 157, 0.3);
}

#volumeValue {
    font-weight: 600;
    color: #ff6b9d;
    font-size: 0.9rem;
    min-width: 40px;
}

.player-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-player {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-player:hover {
    transform: scale(1.1);
}

.current-song {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}


/* Love Score Section */

.love-score-section {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 50%, #e84393 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}

.love-calculator {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.couple-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.name-input {
    display: flex;
    flex-direction: column;
}

.name-input label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.name-input input {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.name-input input:focus {
    outline: none;
    border-color: #ff9ff3;
    box-shadow: 0 0 10px rgba(255, 159, 243, 0.3);
}

.love-questions {
    margin-bottom: 2rem;
}

.love-questions h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.question {
    margin-bottom: 1.5rem;
}

.question p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.question select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.question select:focus {
    outline: none;
    border-color: #ff9ff3;
    box-shadow: 0 0 10px rgba(255, 159, 243, 0.3);
}

.btn-calculate {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    animation: calculatePulse 2s infinite;
    width: 100%;
}

@keyframes calculatePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-calculate:hover {
    animation: none;
    transform: scale(1.05);
}

.love-result {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    border-radius: 20px;
    color: white;
}

.score-display {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    animation: scoreGlow 2s infinite;
}

@keyframes scoreGlow {
    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.love-result p {
    font-size: 1.2rem;
    margin-top: 1rem;
}


/* Result Actions Buttons */

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-yes {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
    animation: lovePulse 2s infinite;
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.5);
}

.btn-no {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
    position: relative;
    animation: noButtonShake 3s infinite;
}

.btn-no:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(232, 67, 147, 0.5);
}

.btn-no:active {
    transform: scale(0.95);
}

@keyframes lovePulse {
    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 184, 148, 0.6);
        transform: scale(1.02);
    }
}

@keyframes noButtonShake {
    0%,
    90%,
    100% {
        transform: translateX(0);
    }
    5% {
        transform: translateX(-5px);
    }
    10% {
        transform: translateX(5px);
    }
    15% {
        transform: translateX(-3px);
    }
    20% {
        transform: translateX(3px);
    }
    25% {
        transform: translateX(0);
    }
}


/* Comedy Central Section */

.comedy-central-section {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 50%, #d63031 100%);
    position: relative;
    overflow: hidden;
}

.comedy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comedy-feature {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.comedy-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(253, 203, 110, 0.4);
}

.btn-comedy-show,
.btn-joke-gen,
.btn-laugh {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: var(--transition);
    animation: bounceGlow 1.5s infinite;
}

@keyframes bounceGlow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.btn-comedy-show:hover,
.btn-joke-gen:hover,
.btn-laugh:hover {
    animation: none;
    transform: scale(1.1);
}

.laugh-counter {
    font-size: 2rem;
    font-weight: 600;
    color: #e17055;
    margin: 1rem 0;
    animation: numberGlow 2s infinite;
}

@keyframes numberGlow {
    0%,
    100% {
        text-shadow: 0 0 10px rgba(225, 112, 85, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(225, 112, 85, 0.8);
    }
}


/* Mini Games Section */

.mini-games-section {
    background: linear-gradient(135deg, #00cec9 0%, #55efc4 50%, #00b894 100%);
    position: relative;
    overflow: hidden;
}

.games-arcade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


/* New Game Styles */

.typing-game-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.typing-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b9d;
}

.typing-input {
    width: 100%;
    height: 100px;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

.typing-input:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.typing-stats {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #666;
}

.lyrics-game-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.lyrics-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
    border-radius: 10px;
    text-align: center;
}

.lyrics-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.lyrics-option {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.lyrics-option:hover {
    border-color: #ff6b9d;
    background: #fff5f7;
    transform: translateX(5px);
}

.gift-game-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
}

.gift-box {
    width: 120px;
    height: 120px;
    background: #8b4513;
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.05);
}

.gift-paper {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b9d, #ff8fab);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gift-paper.wrapped {
    opacity: 1;
}

.gift-bow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 20px;
    background: #ff6b9d;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gift-bow.decorated {
    opacity: 1;
}

.gift-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.btn-wrap,
.btn-decorate {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wrap {
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: white;
}

.btn-decorate {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.heart-game-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.heart-container {
    position: relative;
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #ffeaa7, #fab1a0);
    border-radius: 10px;
    overflow: hidden;
}

.heart-basket {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 1s infinite;
}

.emoji-game-area {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.emoji-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.emoji-card:hover {
    transform: scale(1.05);
    border-color: #ff6b9d;
}

.emoji-card.flipped {
    background: white;
    border-color: #ff6b9d;
}

.emoji-card.matched {
    background: linear-gradient(135deg, #00b894, #00cec9);
    cursor: default;
}

.game-info {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #666;
    margin-top: 1rem;
}


/* Enhanced Mini Game Styles */

.mini-game {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mini-game:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mini-game h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mini-game p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}


/* Word Scramble Game */

.word-game-area {
    margin: 1rem 0;
}

.scrambled-word {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b9d;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    letter-spacing: 0.2em;
}

.word-input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    text-align: center;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
}

.word-input:focus {
    outline: none;
    border-color: #ff6b9d;
}

.word-options {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.btn-hint,
.btn-skip {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
}


/* Memory Match Game */

.memory-game-area {
    margin: 1rem 0;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
    max-width: 200px;
    margin: 1rem auto;
}

.memory-card {
    aspect-ratio: 1;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.memory-card:hover {
    transform: scale(1.05);
    border-color: #ff6b9d;
}

.memory-card.flipped {
    background: white;
    border-color: #ff6b9d;
}

.memory-card.matched {
    background: linear-gradient(45deg, #00b894, #00cec9);
    cursor: default;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}


/* Typing Game */

.typing-game-area {
    margin: 1rem 0;
}

.typing-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    min-height: 80px;
}

.typing-input {
    width: 100%;
    height: 100px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    margin: 1rem 0;
    transition: border-color 0.3s ease;
}

.typing-input:focus {
    outline: none;
    border-color: #ff6b9d;
}

.typing-stats {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}


/* Lyrics Game */

.lyrics-game-area {
    margin: 1rem 0;
}

.lyrics-question {
    font-size: 1.1rem;
    color: #333;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lyrics-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
}

.lyrics-option {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lyrics-option:hover {
    border-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}


/* Trivia Game */

.trivia-game-area {
    margin: 1rem 0;
}

.trivia-question {
    font-size: 1.1rem;
    color: #333;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trivia-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 1rem 0;
}

.trivia-option {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.trivia-option:hover {
    border-color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}


/* Game Score */

.game-score {
    font-weight: bold;
    color: #ff6b9d;
    margin: 1rem 0;
    font-size: 1.1rem;
}


/* Game Buttons */

.btn-game {
    background: linear-gradient(135deg, #00cec9, #55efc4);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 206, 201, 0.3);
}

.mini-game {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.mini-game:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 206, 201, 0.4);
}

.target-game-area {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    border-radius: 15px;
    position: relative;
    margin: 1rem 0;
    overflow: hidden;
}

.target {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #ff6b9d, #c44569);
    border-radius: 50%;
    border: 3px solid white;
    animation: targetFloat 3s ease-in-out infinite;
}

.target:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.target:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.target:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes targetFloat {
    0%,
    100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    width: 100%;
    max-width: 350px;
}

.wheel-outer {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lucky-wheel {
    width: 280px;
    height: 280px;
    position: relative;
    border-radius: 50%;
    background: conic-gradient( #ff6b9d 0deg 60deg, #f8b500 60deg 120deg, #00b894 120deg 180deg, #74b9ff 180deg 240deg, #6c5ce7 240deg 300deg, #e17055 300deg 360deg);
    border: 8px solid #ffffff;
    box-shadow: 0 0 0 3px #333, 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform-origin: center;
    transition: transform 6s cubic-bezier(0.05, 0.9, 0.1, 1);
}

.wheel-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-text-svg {
    font-size: 14px;
    font-weight: 700;
    fill: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    letter-spacing: 1px;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.8), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border: 3px solid #333;
    z-index: 12;
}

.wheel-pointer {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 35px solid #ff4757;
    z-index: 15;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transform-origin: 50% 100%;
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: 27px;
    left: -12px;
    width: 24px;
    height: 24px;
    background: #e17055;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.color-game-area {
    margin: 1rem 0;
}

.color-display {
    width: 100%;
    height: 100px;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.color-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.color-option {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(45deg, #00cec9, #55efc4);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.color-option:hover {
    transform: scale(1.1);
}

.game-score {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.btn-game {
    background: linear-gradient(45deg, #00cec9, #55efc4);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    transition: var(--transition);
    margin: 1rem auto;
    display: block;
    max-width: 200px;
}

.btn-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 206, 201, 0.4);
}


/* Enhanced AI Chat Section */

.ai-chat-section {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #00cec9 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.ai-chat-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(116, 185, 255, 0.3);
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}


/* Enhanced Chat Header */

.chat-header {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.ai-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: aiGlow 2s infinite;
    position: relative;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background: #00b894;
    animation: pulse 2s infinite;
}

@keyframes aiGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.ai-info {
    flex: 1;
}

.ai-info h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.ai-info p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-top: 5px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-controls {
    display: flex;
    gap: 10px;
}

.btn-clear,
.btn-minimize {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-clear:hover,
.btn-minimize:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


/* Enhanced Chat Messages */

.chat-messages {
    flex: 1;
    height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #74b9ff;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #0984e3;
}

.message {
    margin-bottom: 1.5rem;
    display: flex;
    animation: messageSlide 0.3s ease-out;
    gap: 10px;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ai-message .message-avatar {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
}

.user-message .message-avatar {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
}

.message-content {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.message-bubble {
    padding: 1rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.ai-message .message-bubble {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    border-bottom-left-radius: 5px;
}

.user-message .message-bubble {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: 10px;
}


/* Enhanced Chat Input */

.chat-input-container {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 10px;
}

#chatInput {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    resize: none;
}

#chatInput:focus {
    border-color: #74b9ff;
    box-shadow: 0 0 10px rgba(116, 185, 255, 0.3);
}

.btn-send {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(116, 185, 255, 0.4);
}

.btn-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
}

.char-count {
    font-weight: 500;
}

.input-hint {
    opacity: 0.7;
}


/* Enhanced Quick Questions */

.quick-questions {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.quick-questions h4 {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.btn-quick {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    padding: 12px 16px;
    border: none;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.btn-quick:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(116, 185, 255, 0.4);
}

.btn-quick .btn-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.btn-quick .btn-text {
    flex: 1;
}


/* Mobile Responsive Design for AI Chat */

@media (max-width: 768px) {
    .ai-chat-section {
        padding: 40px 0;
    }
    .ai-chat-container {
        margin: 0 10px;
        border-radius: 20px;
        min-height: 400px;
    }
    .chat-header {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .chat-header-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    .ai-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .ai-info h3 {
        font-size: 1.2rem;
    }
    .ai-info p {
        font-size: 0.8rem;
    }
    .chat-controls {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .btn-clear,
    .btn-minimize {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    .chat-messages {
        height: 300px;
        padding: 1rem;
    }
    .message {
        margin-bottom: 1rem;
    }
    .message-content {
        max-width: 85%;
    }
    .message-bubble {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .chat-input-container {
        padding: 1rem;
    }
    .input-wrapper {
        gap: 0.5rem;
    }
    #chatInput {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    .btn-send {
        padding: 10px 16px;
        min-width: 45px;
        height: 45px;
        font-size: 0.8rem;
    }
    .input-footer {
        font-size: 0.7rem;
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    .quick-questions {
        padding: 1rem;
    }
    .quick-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .btn-quick {
        padding: 10px 12px;
        font-size: 0.8rem;
        justify-content: flex-start;
    }
    .btn-quick .btn-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ai-chat-container {
        margin: 0 5px;
        border-radius: 15px;
    }
    .chat-header {
        padding: 0.8rem;
    }
    .ai-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .ai-info h3 {
        font-size: 1.1rem;
    }
    .chat-messages {
        height: 250px;
        padding: 0.8rem;
    }
    .message-bubble {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    .message-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .chat-input-container {
        padding: 0.8rem;
    }
    #chatInput {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .btn-send {
        padding: 8px 12px;
        min-width: 40px;
        height: 40px;
    }
    .quick-questions {
        padding: 0.8rem;
    }
    .btn-quick {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
}

display: flex;
gap: 0.5rem;
flex-wrap: wrap;

}
.btn-quick {
    background: rgba(116, 185, 255, 0.1);
    color: #74b9ff;
    padding: 8px 16px;
    border: 2px solid rgba(116, 185, 255, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-quick:hover {
    background: rgba(116, 185, 255, 0.2);
    border-color: rgba(116, 185, 255, 0.5);
    transform: translateY(-2px);
}

/* Loading animation for AI responses */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    border-radius: 20px;
    border-bottom-left-radius: 5px;
    max-width: 70%;
}
.typing-dots {
    display: flex;
    gap: 0.3rem;
}
.typing-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: typingPulse 1.4s infinite;
}
.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typingPulse {
    0%,
    60%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
    
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Interactive Surprises Section */
.surprises-section {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 50%, #fd79a8 100%);
    position: relative;
    overflow: hidden;
}
.surprise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.btn-surprise-1 {
    background: linear-gradient(45deg, #a29bfe, #6c5ce7);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite;
}
.btn-surprise-2 {
    background: linear-gradient(45deg, #fd79a8, #e84393);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite 0.5s;
}
.btn-surprise-3 {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite 1s;
}
.btn-surprise-4 {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite 1.5s;
}
.btn-surprise-5 {
    background: linear-gradient(45deg, #74b9ff, #0984e3);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite 2s;
}
.btn-surprise-6 {
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    color: white;
    animation: surpriseFloat 3s ease-in-out infinite 2.5s;
}
@keyframes surpriseFloat {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}
.btn-surprise-1:hover,
.btn-surprise-2:hover,
.btn-surprise-3:hover,
.btn-surprise-4:hover,
.btn-surprise-5:hover,
.btn-surprise-6:hover {
    animation: none;
    transform: scale(1.1) rotate(-5deg);
}

/* Enhanced Funny Buttons */
.btn-funny-7 {
    background: linear-gradient(45deg, #2d3436, #636e72);
    color: white;
    animation: matrixGlow 2s infinite;
}
.btn-funny-8 {
    background: linear-gradient(45deg, #ddd, #f8f9fa);
    color: #2d3436;
    animation: snowFloat 3s ease-in-out infinite;
}
@keyframes matrixGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(45, 52, 54, 0.5);
    }
    
    50% {
        box-shadow: 0 0 40px rgba(45, 52, 54, 0.8);
    }
}
@keyframes snowFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    
    50% {
        transform: translateY(-5px);
    }
}

/* Copyright Brand */
.copyright-brand {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

/* Enhanced Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    
    50% {
        transform: scale(1.05);
    }
    
    70% {
        transform: scale(0.9);
    }
    
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes wiggle {
    0%,
    7% {
        transform: rotateZ(0);
    }
    
    15% {
        transform: rotateZ(-15deg);
    }
    
    20% {
        transform: rotateZ(10deg);
    }
    
    25% {
        transform: rotateZ(-10deg);
    }
    
    30% {
        transform: rotateZ(6deg);
    }
    
    35% {
        transform: rotateZ(-4deg);
    }
    
    40%,
    100% {
        transform: rotateZ(0);
    }
}
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    
    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }
    
    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

/* Modal Enhancements */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Quiz Styles */
.quiz-question {
    text-align: center;
    padding: 1rem;
}
.quiz-question h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.question-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.6;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.quiz-option {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}
.quiz-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
}
.quiz-option:active {
    transform: scale(0.98);
}
.quiz-progress {
    margin-top: 2rem;
}
.progress-bar {
    background: rgba(255, 107, 157, 0.2);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}
.progress-fill {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    height: 100%;
    transition: width 0.3s ease;
    border-radius: 10px;
}
.quiz-results {
    text-align: center;
    padding: 1rem;
}
.result-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.quiz-results h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}
.score-bar {
    background: rgba(255, 107, 157, 0.2);
    height: 20px;
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem 0;
}
.score-fill {
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    height: 100%;
    transition: width 1s ease;
    border-radius: 15px;
}
.result-message {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.love-tips {
    background: rgba(255, 107, 157, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    text-align: left;
}
.love-tips h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}
.love-tips ul {
    list-style: none;
    padding: 0;
}
.love-tips li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}
.love-tips li:before {
    content: "💕";
    position: absolute;
    left: 0;
}
.quiz-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Love Quotes Section */
.love-quotes-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.love-quotes-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 100 100"><text y="50" font-size="20" fill="rgba(255,255,255,0.1)">💕</text></svg>') repeat;
    animation: floatHearts 20s linear infinite;
}
@keyframes floatHearts {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}
.quotes-container {
    position: relative;
    z-index: 2;
}
.quote-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: quoteGlow 3s infinite;
}
@keyframes quoteGlow {
    0%,
    100% {
        box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
    }
    
    50% {
        box-shadow: 0 25px 60px rgba(102, 126, 234, 0.5);
    }
}
.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
}
.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 3rem;
    color: #667eea;
    position: absolute;
    top: -10px;
}
.quote-text::before {
    left: -30px;
}
.quote-text::after {
    right: -30px;
}
.quote-author {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 2rem;
}
.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-quote,
.btn-share,
.btn-favorite {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-quote {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}
.btn-share {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: white;
}
.btn-favorite {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
    color: white;
}
.btn-quote:hover,
.btn-share:hover,
.btn-favorite:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Dating Tips Section */
.dating-tips-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.tip-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(252, 182, 159, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}
.tip-card:hover::before {
    left: 100%;
}
.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(252, 182, 159, 0.4);
}
.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: tipBounce 2s infinite;
}
@keyframes tipBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    
    50% {
        transform: translateY(-10px);
    }
}
.tip-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.tip-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.btn-tip {
    background: linear-gradient(45deg, #fcb69f, #ffecd2);
    color: var(--text-dark);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn-tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 182, 159, 0.4);
}

/* Compatibility Section */
.compatibility-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.compatibility-calculator {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(168, 237, 234, 0.3);
    backdrop-filter: blur(10px);
}
.zodiac-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.zodiac-input {
    text-align: center;
}
.zodiac-input label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.zodiac-input select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}
.zodiac-input select:focus {
    outline: none;
    border-color: #a8edea;
    box-shadow: 0 0 15px rgba(168, 237, 234, 0.3);
}
.btn-compatibility {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
    color: var(--text-dark);
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    display: block;
    margin: 0 auto 2rem;
    animation: compatibilityPulse 2s infinite;
}
@keyframes compatibilityPulse {
    0%,
    100% {
        transform: scale(1);
    }
    
    50% {
        transform: scale(1.05);
    }
}
.btn-compatibility:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 237, 234, 0.4);
}
.compatibility-result {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, rgba(168, 237, 234, 0.1), rgba(254, 214, 227, 0.1));
    border-radius: 20px;
    margin-top: 2rem;
}
.compatibility-score {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: scoreGlow 2s infinite;
}
.compatibility-message {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}
.compatibility-details {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: left;
}

/* Love Games Section */
.love-games-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 80px;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(255, 154, 158, 0.3);
}
.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 154, 158, 0.1), rgba(254, 207, 239, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.game-card:hover::after {
    opacity: 1;
}
.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 154, 158, 0.4);
}
.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: gameSpin 3s linear infinite;
}
@keyframes gameSpin {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}
.game-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}
.game-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b9d, #c44569);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badgeFloat 2s ease-in-out infinite;
}
@keyframes badgeFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    
    50% {
        transform: translateY(-5px);
    }
}
.feature-content {
    padding: 1rem 0;
}
.charm-tips,
.date-tips {
    margin: 2rem 0;
}
.tip-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}
.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}
.tip-item p {
    color: var(--text-light);
    margin: 0;
}
.compliment-examples {
    margin: 2rem 0;
}
.compliment-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
}
.compliment-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.compliment-category ul {
    list-style: none;
    padding: 0;
}
.compliment-category li {
    background: white;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    font-style: italic;
    color: var(--text-dark);
}
.action-buttons {
    text-align: center;
    margin-top: 2rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Lucky Wheel Options Sections */
.wheel-option-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.wheel-option-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1;
}
.wheel-option-section .container {
    position: relative;
    z-index: 2;
}

/* Flower Section */
.flower-section {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    color: #333;
}

/* Chocolate Section */
.chocolate-section {
    background: linear-gradient(135deg, #8b4513 0%, #d2691e 50%, #cd853f 100%);
    color: white;
}

/* Gift Section */
.gift-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ff9ff3 100%);
    color: #333;
}

/* Ring Section */
.ring-section {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #d299c2 100%);
    color: #333;
}

/* Surprise Section */
.surprise-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
}

/* Kiss Section */
.kiss-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ff8a80 100%);
    color: #333;
}

/* Content Grid for Wheel Sections */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.chocolate-section .content-card,
.surprise-section .content-card {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
    font-weight: 600;
}
.content-card ul {
    list-style: none;
    padding: 0;
}
.content-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    line-height: 1.6;
}
.content-card li:last-child {
    border-bottom: none;
}
.chocolate-section .content-card li,
.surprise-section .content-card li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Wheel Sections */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
}

/* Comprehensive Mobile Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile */
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1rem;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    /* Mobile Dropdown */
    
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 1rem;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.9rem;
    }
    /* Hero Section Mobile */
    
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    /* Container Mobile */
    
    .container {
        padding: 0 1rem;
    }
    /* Section Titles Mobile */
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    /* Features Grid Mobile */
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    /* Love Score Calculator Mobile */
    
    .love-score-calculator {
        padding: 1.5rem;
    }
    
    .calculator-form {
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 1rem;
    }
    /* Quiz Mobile */
    
    .quiz-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .quiz-question {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .quiz-options {
        gap: 0.8rem;
    }
    
    .quiz-option {
        padding: 1rem;
        font-size: 1rem;
    }
    /* Lucky Wheel Mobile */
    
    .wheel-container {
        max-width: 280px;
        margin: 1rem auto;
    }
    
    .wheel-outer {
        width: 260px;
        height: 260px;
    }
    
    .lucky-wheel {
        width: 240px;
        height: 240px;
    }
    
    .wheel-text-svg {
        font-size: 11px;
    }
    
    .wheel-center {
        width: 60px;
        height: 60px;
    }
    
    .wheel-pointer {
        top: -30px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 30px solid #ff4757;
    }
    
    .btn-game {
        max-width: 180px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    /* Wheel Options Sections Mobile */
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .content-card h3 {
        font-size: 1.3rem;
    }
    
    .content-card li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    /* AI Chat Mobile */
    
    .ai-chat-container {
        height: 400px;
        margin: 1rem;
    }
    
    .chat-messages {
        padding: 1rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .chat-input {
        font-size: 1rem;
        padding: 0.8rem;
    }
    /* Photo Booth Mobile */
    
    .photo-booth-container {
        padding: 1rem;
    }
    
    .photo-frame {
        width: 250px;
        height: 250px;
        margin: 1rem auto;
    }
    
    .photo-controls {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .btn-camera,
    .btn-filter,
    .btn-save {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1rem;
    }
    /* Music Player Mobile */
    
    .music-player {
        padding: 1rem;
    }
    
    .song-list {
        max-height: 200px;
    }
    
    .song-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .music-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-music {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    /* Games Grid Mobile */
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-icon {
        font-size: 2.5rem;
    }
    
    .game-card h3 {
        font-size: 1.3rem;
    }
    /* Modal Mobile */
    
    .modal {
        margin: 1rem;
        max-width: calc(100% - 2rem);
        max-height: calc(100vh - 2rem);
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal h2 {
        font-size: 1.5rem;
    }
    /* Footer Mobile */
    
    .footer {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .wheel-container {
        max-width: 240px;
    }
    
    .wheel-outer {
        width: 220px;
        height: 220px;
    }
    
    .lucky-wheel {
        width: 200px;
        height: 200px;
    }
    
    .wheel-text-svg {
        font-size: 9px;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .quiz-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .ai-chat-container {
        margin: 0.5rem;
        height: 350px;
    }
    
    .photo-frame {
        width: 200px;
        height: 200px;
    }
    /* Touch-friendly buttons */
    
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    /* Better spacing for touch */
    
    .nav-menu .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .wheel-container {
        max-width: 200px;
    }
    
    .wheel-outer {
        width: 180px;
        height: 180px;
    }
    
    .lucky-wheel {
        width: 160px;
        height: 160px;
    }
    
    .wheel-text-svg {
        font-size: 8px;
    }
}

/* High DPI Mobile Screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .lucky-wheel {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .content-card {
        border: 0.5px solid rgba(0, 0, 0, 0.1);
    }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .ai-chat-container {
        height: -webkit-fill-available;
        max-height: 400px;
    }
    
    .modal {
        height: -webkit-fill-available;
    }
}

/* Large Desktop Screens (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 1000px;
        padding: 0 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wheel-container {
        max-width: 320px;
    }
    
    .wheel-outer {
        width: 300px;
        height: 300px;
    }
    
    .lucky-wheel {
        width: 280px;
        height: 280px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wheel-container {
        max-width: 300px;
    }
    
    .wheel-outer {
        width: 280px;
        height: 280px;
    }
    
    .lucky-wheel {
        width: 260px;
        height: 260px;
    }
    
    .wheel-text-svg {
        font-size: 12px;
    }
    /* Navigation for tablets */
    
    .nav-menu {
        display: flex;
        gap: 1.5rem;
    }
    
    .nav-menu .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    /* Dropdown for tablets */
    
    .dropdown-menu {
        min-width: 180px;
    }
    
    .dropdown-menu .nav-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Large Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .wheel-container {
        max-width: 260px;
    }
    
    .wheel-outer {
        width: 240px;
        height: 240px;
    }
    
    .lucky-wheel {
        width: 220px;
        height: 220px;
    }
    
    .wheel-text-svg {
        font-size: 10px;
    }
    /* Enhanced mobile navigation */
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 1rem;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    /* Mobile dropdown */
    
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 1rem;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu .nav-link {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.9rem;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    /* Single column layouts */
    
    .features-grid,
    .content-grid,
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .feature-card,
    .content-card,
    .game-card {
        padding: 1.2rem;
    }
    
    .card-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card h3,
    .content-card h3,
    .game-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p,
    .content-card p,
    .game-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    /* Lucky Wheel for small mobile */
    
    .wheel-container {
        max-width: 220px;
        margin: 1rem auto;
    }
    
    .wheel-outer {
        width: 200px;
        height: 200px;
    }
    
    .lucky-wheel {
        width: 180px;
        height: 180px;
    }
    
    .wheel-text-svg {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .wheel-center {
        width: 50px;
        height: 50px;
    }
    
    .wheel-pointer {
        top: -25px;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-bottom: 25px solid #ff4757;
    }
    
    .btn-game {
        max-width: 160px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
    /* Mobile navigation */
    
    .nav-toggle {
        display: flex;
        padding: 0.4rem;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0.8rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 0.9rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.95rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }
    /* Mobile dropdown */
    
    .nav-dropdown {
        position: static;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu .nav-link {
        padding: 0.7rem 0.8rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        font-size: 0.85rem;
        min-height: 44px;
    }
    /* Form elements */
    
    .form-group input,
    .form-group select {
        padding: 0.9rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    /* Quiz and modals */
    
    .quiz-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .quiz-question {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    .quiz-options {
        gap: 0.7rem;
    }
    
    .quiz-option {
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* AI Chat */
    
    .ai-chat-container {
        margin: 0.5rem;
        height: 320px;
    }
    
    .chat-messages {
        padding: 0.8rem;
    }
    
    .chat-input-container {
        padding: 0.8rem;
    }
    
    .chat-input {
        font-size: 1rem;
        padding: 0.9rem;
        min-height: 48px;
    }
    /* Photo Booth */
    
    .photo-frame {
        width: 180px;
        height: 180px;
        margin: 0.8rem auto;
    }
    
    .photo-controls {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .btn-camera,
    .btn-filter,
    .btn-save {
        width: 100%;
        max-width: 180px;
        padding: 0.9rem 1rem;
        min-height: 48px;
    }
    /* Music Player */
    
    .music-player {
        padding: 0.8rem;
    }
    
    .song-list {
        max-height: 180px;
    }
    
    .song-item {
        padding: 0.7rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .music-controls {
        flex-direction: column;
        gap: 0.7rem;
    }
    
    .btn-music {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    /* Modal */
    
    .modal {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
    }
    
    .modal-content {
        padding: 1.2rem;
    }
    
    .modal h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    /* Footer */
    
    .footer {
        padding: 2rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .footer-links a {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .social-link span {
        font-size: 0.75rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    /* List items */
    
    .content-card li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
        line-height: 1.4;
    }
    /* Touch-friendly improvements */
    
    .btn,
    .nav-link,
    .quiz-option,
    .song-item {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Ultra-wide screens (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print styles */
@media print {
    .navbar,
    .nav-toggle,
    .btn,
    .hero-buttons {
        display: none !important;
    }
    
    .hero {
        padding: 2rem 0;
        background: white !important;
    }
    
    .section-title {
        color: black !important;
    }
    
    .content-card {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Enhanced Features Section */

/* Enhanced Hero Section */
.hero-header {
    text-align: center;
    margin-bottom: 2rem;
}
.scroll-hook {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1), rgba(254, 207, 239, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 154, 158, 0.3);
    animation: fadeInUp 1s ease-out;
}
.hook-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.hook-emoji {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}
.hook-text {
    font-weight: 600;
    color: #333;
    font-size: 1.2rem;
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.scroll-arrow {
    font-size: 2rem;
    color: #ff9a9e;
    animation: bounce 2s infinite;
}
.scroll-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}
.hero-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hero-btn .btn-text {
    position: relative;
    z-index: 2;
}
.hero-btn .btn-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.hero-btn:hover .btn-arrow {
    transform: translateX(5px);
}
.hero-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
.hero-btn:hover .btn-glow {
    left: 100%;
}

/* Quick Features Bar */
.quick-features-bar {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.quick-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.quick-feature {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.quick-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 154, 158, 0.1), transparent);
    transition: left 0.6s ease;
}
.quick-feature:hover::before {
    left: 100%;
}
.quick-feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 154, 158, 0.2);
    border-color: #ff9a9e;
}
.quick-feature:active {
    transform: translateY(-5px) scale(0.98);
}
.quick-feature .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.quick-feature h3 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.quick-feature p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Stats Counter Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Trust Indicators */
.trust-indicators {
    padding: 3rem 0;
    background: white;
}
.trust-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.trust-content h2 {
    color: #333;
    margin: 0 0 2rem 0;
    font-size: 2rem;
    font-weight: 600;
}
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1), rgba(254, 207, 239, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(255, 154, 158, 0.2);
    transition: all 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.2);
    border-color: #ff9a9e;
}
.badge-icon {
    font-size: 1.5rem;
}
.badge-text {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}
.features-header {
    text-align: center;
    margin-bottom: 3rem;
}
.hook-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1), rgba(254, 207, 239, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 154, 158, 0.3);
}
.hook-emoji {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}
.hook-message {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 154, 158, 0.3);
}
.feature-icon {
    position: relative;
    margin-bottom: 1.5rem;
}
.icon-emoji {
    font-size: 3rem;
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
}
.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 154, 158, 0.3), transparent);
    border-radius: 50%;
    animation: pulse 3s infinite;
}
.feature-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}
.stat {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}
.feature-btn {
    position: relative;
    overflow: hidden;
}
.btn-text {
    position: relative;
    z-index: 2;
}
.btn-arrow {
    position: relative;
    z-index: 2;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}
.feature-btn:hover .btn-arrow {
    transform: translateX(5px);
}
.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
.feature-btn:hover .btn-glow {
    left: 100%;
}
.features-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 154, 158, 0.1), rgba(254, 207, 239, 0.1));
    border-radius: 20px;
}
.cta-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.cta-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}
.sparkle {
    margin-left: 0.5rem;
    animation: sparkle 1.5s infinite;
}

/* Enhanced Funny Buttons Section */
.funny-header {
    text-align: center;
    margin-bottom: 3rem;
}
.funny-hook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 87, 34, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 193, 7, 0.3);
}
.funny-hook .hook-text {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}
.funny-button-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}
.funny-btn {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.5rem;
    border-radius: 20px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}
.btn-emoji {
    font-size: 1.5rem;
}
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}
.funny-btn:hover .btn-shine {
    left: 100%;
}
.funny-btn:hover {
    transform: translateY(-5px) scale(1.05);
}
.btn-description {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}
.funny-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 87, 34, 0.1));
    border-radius: 20px;
}
.funny-cta-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffc107, #ff5722);
    color: white;
    border: none;
    border-radius: 25px;
}

/* Enhanced Memory Game Section */
.memory-header {
    text-align: center;
    margin-bottom: 3rem;
}
.memory-hook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(116, 185, 255, 0.1), rgba(108, 92, 231, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(116, 185, 255, 0.3);
}
.memory-hook .hook-text {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Duplicate score-display rule removed */
.score-item {
    text-align: center;
}
.score-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.score-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff9a9e;
}
.score-total {
    font-size: 1rem;
    color: #999;
}
.game-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.memory-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.memory-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.game-result {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.result-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}
.result-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 154, 158, 0.1);
    border-radius: 15px;
}
.stat {
    text-align: center;
}
.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}
.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff9a9e;
}
.result-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.memory-achievements {
    margin-top: 2rem;
    text-align: center;
}
.achievement-list {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}
.achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
.achievement.unlocked {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    transform: scale(1.1);
}
.achievement-emoji {
    font-size: 2rem;
}
.achievement-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

/* Enhanced Voice Messages Section */
.voice-header {
    text-align: center;
    margin-bottom: 3rem;
}
.voice-hook {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(196, 69, 105, 0.1));
    border-radius: 25px;
    border: 2px solid rgba(255, 107, 157, 0.3);
}
.voice-hook .hook-text {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}
.recorder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}
.recorder-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}
.status-text {
    font-weight: 600;
    color: #333;
}
.recording-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 2rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.mic-icon {
    font-size: 2rem;
}
.circle-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.3), rgba(196, 69, 105, 0.3));
    animation: pulse 2s infinite;
}
.wave-container {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 50px;
    margin: 1rem 0;
}
.wave-bar {
    width: 4px;
    background: linear-gradient(to top, #ff6b9d, #c44569);
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}
.wave-bar:nth-child(1) {
    animation-delay: 0s;
}
.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}
.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}
.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}
.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}
.wave-bar:nth-child(6) {
    animation-delay: 0.5s;
}
.wave-bar:nth-child(7) {
    animation-delay: 0.6s;
}
.wave-bar:nth-child(8) {
    animation-delay: 0.7s;
}
.recording-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
}
.time-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b9d;
}
.level-indicator {
    width: 100px;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}
.level-bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #FFC107, #FF5722);
    width: 0%;
    transition: width 0.1s ease;
}
.voice-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}
.voice-btn {
    position: relative;
    overflow: hidden;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.voice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-ripple {
    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: all 0.3s ease;
}
.voice-btn:active .btn-ripple {
    width: 200px;
    height: 200px;
}
.templates-header {
    text-align: center;
    margin-bottom: 2rem;
}
.template-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.template-btn {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.template-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.template-emoji {
    font-size: 1.5rem;
}
.template-hover {
    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;
}
.template-btn:hover .template-hover {
    left: 100%;
}
.voice-gallery {
    margin-top: 3rem;
    text-align: center;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.gallery-empty {
    padding: 3rem;
    color: #666;
    border: 2px dashed #ddd;
    border-radius: 15px;
}
.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    
    40% {
        transform: translateY(-10px);
    }
    
    60% {
        transform: translateY(-5px);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes wave {
    0%,
    100% {
        height: 10px;
    }
    
    50% {
        height: 40px;
    }
}
@keyframes sparkle {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Camera Modal Mobile Optimizations */
@media (max-width: 768px) {
    .camera-modal-overlay {
        padding: 0.5rem;
    }
    
    .camera-modal-overlay video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
        border-radius: 15px !important;
    }
    
    .camera-modal-overlay canvas {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 15px !important;
    }
    
    .camera-modal-overlay .controls {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .camera-modal-overlay button {
        width: 100% !important;
        max-width: 250px !important;
        margin: 0 auto !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }
}
@media (max-width: 480px) {
    .camera-modal-overlay {
        padding: 0.25rem;
    }
    
    .camera-modal-overlay video,
    .camera-modal-overlay canvas {
        max-height: 50vh !important;
        border-radius: 10px !important;
    }
    
    .camera-modal-overlay .controls {
        gap: 0.8rem !important;
    }
    
    .camera-modal-overlay button {
        padding: 0.9rem !important;
        font-size: 0.95rem !important;
        max-width: 200px !important;
    }
}

/* Mobile Responsive Styles for New Games */
@media (max-width: 768px) {
    .games-arcade {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .typing-input {
        height: 80px;
        font-size: 0.9rem;
    }
    
    .typing-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .lyrics-options {
        gap: 0.3rem;
    }
    
    .lyrics-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .gift-box {
        width: 100px;
        height: 100px;
    }
    
    .gift-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-wrap,
    .btn-decorate {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .heart-game-area {
        height: 150px;
    }
    
    .heart-container {
        height: 100px;
    }
    
    .heart-basket {
        font-size: 1.5rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .emoji-card {
        font-size: 1.5rem;
    }
    
    .game-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .typing-text {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .typing-input {
        height: 70px;
        padding: 0.8rem;
    }
    
    .lyrics-question {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .gift-box {
        width: 80px;
        height: 80px;
    }
    
    .gift-bow {
        width: 30px;
        height: 15px;
    }
    
    .heart-game-area {
        height: 120px;
    }
    
    .heart-container {
        height: 80px;
    }
    
    .heart-basket {
        font-size: 1.2rem;
    }
    
    .emoji-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emoji-card {
        font-size: 1.2rem;
    }
}

/* Mobile Responsive Styles for New Sections */
@media (max-width: 768px) {
    .scroll-hook {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .hook-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hook-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .scroll-arrow {
        font-size: 1.5rem;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .hero-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .quick-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .quick-feature {
        padding: 1.5rem 0.5rem;
    }
    
    .quick-feature .feature-icon {
        font-size: 2.5rem;
    }
    
    .quick-feature h3 {
        font-size: 1rem;
    }
    
    .quick-feature p {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .trust-content h2 {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-badge {
        padding: 0.8rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .scroll-hook {
        margin: 1.5rem 0;
        padding: 1rem;
    }
    
    .hook-text {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .quick-features-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .quick-feature {
        padding: 1rem 0.5rem;
    }
    
    .quick-feature .feature-icon {
        font-size: 2rem;
    }
    
    .quick-feature h3 {
        font-size: 0.9rem;
    }
    
    .quick-feature p {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .trust-content h2 {
        font-size: 1.2rem;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .trust-badge {
        padding: 0.7rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
}