/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "TikTok Sans", "TikTok Sans Variable", -apple-system, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    color: #000000;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.6s ease;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #FEB8E8, #FDD3CD);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 184, 232, 0.4);
}

.btn-outline {
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333333;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Header Search Component */
.header-search {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 32px;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input:focus {
    outline: none;
    border-color: #FEB8E8;
    box-shadow: 0 0 0 3px rgba(254, 184, 232, 0.2);
    background: rgba(26, 26, 26, 0.95);
}

.search-input::placeholder {
    color: #a0a0a0;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #a0a0a0;
    pointer-events: none;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    animation: slideDown 0.2s ease-out;
}

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

.search-dropdown.show {
    display: block;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #a0a0a0;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 20, 147, 0.3);
    border-top: 2px solid #ff1493;
    border-radius: 20%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

.search-results {
    padding: 8px 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.search-result-item:hover .search-result-avatar {
    transform: scale(1.05);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.search-result-username {
    font-size: 12px;
    color: #a0a0a0;
}

.search-result-stats {
    font-size: 11px;
    color: #666666;
    margin-top: 2px;
}

.search-empty {
    padding: 20px;
    text-align: center;
    color: #a0a0a0;
}

.empty-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.empty-text {
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    background-image: url('../images/our_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: visible;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-top: 280px;
}

.hero-blur-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 120px 60px 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 15%, rgba(255, 255, 255, 0.65) 35%, rgba(255, 255, 255, 0.35) 60%, rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.05) 90%, transparent 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    margin-bottom: 0;
    text-align: center;
    z-index: 100;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    transition: opacity 0.1s ease-out, transform 0.1s ease-out, backdrop-filter 0.1s ease-out;
    will-change: opacity, transform, backdrop-filter;
}

.hero-blur-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-blur-section > * {
    pointer-events: auto;
}

.hero-title-blur {
    color: #000000;
    margin: 0 0 16px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-subtitle-blur {
    color: #000000;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.85;
}

.hero-text {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-subtitle {
    font-size: 28px;
    color: #000000;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 0;
    display: flex;
    justify-content: center;
}

/* App Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 850px;
    margin-top: 20px;
}

.main-image-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 25px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: pointer;
}

.reaction-image-3d {
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 480px;
    height: 480px;
    object-fit: contain;
    border-radius: 15px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    cursor: pointer;
    z-index: 10;
}

.app-mockup {
    position: relative;
    width: 350px;
    height: 700px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #000000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 25%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    text-align: center;
}

.slide-caption h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.slide-caption p {
    color: #a0a0a0;
    font-size: 14px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 20%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #FEB8E8;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    color: #ffffff;
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: #1a1a1a;
}

/* 3D Wheel Carousel */
.lol-wheel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
    perspective: 2000px;
}

.lol-wheel {
    position: relative;
    width: 100%;
    height: 500px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wheel-item {
    position: absolute;
    width: 400px;
    height: 500px;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -250px;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.wheel-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(350px);
}

.wheel-item:nth-child(2) {
    transform: rotateY(72deg) translateZ(350px);
}

.wheel-item:nth-child(3) {
    transform: rotateY(144deg) translateZ(350px);
}

.wheel-item:nth-child(4) {
    transform: rotateY(216deg) translateZ(350px);
}

.wheel-item:nth-child(5) {
    transform: rotateY(288deg) translateZ(350px);
}

.wheel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wheel-item.active .wheel-image {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.wheel-item.side .wheel-image {
    opacity: 0.6;
    transform: scale(0.85);
    filter: brightness(0.8);
}

.wheel-item.back .wheel-image {
    opacity: 0.3;
    transform: scale(0.7);
    filter: brightness(0.6);
}

/* Wheel Controls */
.wheel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.wheel-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.wheel-nav:hover {
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    border-color: rgba(254, 184, 232, 0.5);
    color: #000000;
    transform: scale(1.1);
}

.wheel-nav:active {
    transform: scale(0.95);
}

.wheel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.wheel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wheel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.wheel-dot.active {
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    width: 16px;
    height: 16px;
    border-color: rgba(254, 184, 232, 0.5);
}

/* Responsive adjustments for wheel */
@media (max-width: 768px) {
    .lol-wheel-container {
        padding: 40px 0;
        perspective: 1500px;
    }
    
    .lol-wheel {
        height: 400px;
    }
    
    .wheel-item {
        width: 300px;
        height: 400px;
        margin-left: -150px;
        margin-top: -200px;
    }
    
    .wheel-item:nth-child(1),
    .wheel-item:nth-child(2),
    .wheel-item:nth-child(3),
    .wheel-item:nth-child(4),
    .wheel-item:nth-child(5) {
        transform: rotateY(var(--rotation)) translateZ(250px);
    }
    
    .wheel-nav {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    
    .wheel-dot {
        width: 10px;
        height: 10px;
    }
    
    .wheel-dot.active {
        width: 14px;
        height: 14px;
    }
}

/* Fun App Section */
.fun-app-section {
    padding: 60px 0;
    background-color: #000000;
}

.fun-app-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fun-app-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000000;
    border-radius: 16px;
    overflow: hidden;
    background-image: url('../images/mainpic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fun-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    background-color: #000000;
}

/* Ensure video poster/thumbnail displays properly */
.fun-video[poster] {
    background-color: transparent;
}

.fun-video::-webkit-media-controls-poster {
    object-fit: cover;
    border-radius: 16px;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.video-play-button:hover {
    background: rgba(254, 184, 232, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    color: #ffffff;
    font-size: 32px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .fun-app-section {
        padding: 40px 0;
    }
    
    .fun-app-video {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon {
        font-size: 24px;
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.step {
    text-align: center;
    padding: 32px;
    background-color: #000000;
    border-radius: 16px;
    border: 1px solid #333333;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    color: #000000;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    color: #ffffff;
    margin-bottom: 16px;
}

/* Features */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background-color: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #333333;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #666666;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    color: #ffffff;
    margin-bottom: 16px;
}

/* Download */
.download {
    padding: 80px 0;
    background-color: #1a1a1a;
    text-align: center;
}

.download-content h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.download-content p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid #333333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
}

.footer-logo {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Legal Pages */
.legal-main {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 48px;
    border-radius: 16px;
    border: 1px solid #333333;
}

.legal-content h1 {
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
}

.legal-content h2 {
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 24px;
}

.legal-content h3 {
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 18px;
}

.legal-content p {
    color: #a0a0a0;
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul, .legal-content ol {
    color: #a0a0a0;
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-content a {
    color: #0066ff;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    margin: 32px 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #333333;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.contact-method h3 {
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-method p {
    color: #a0a0a0;
    margin-bottom: 0;
}

.contact-method a {
    color: #0066ff;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-visual {
        margin-left: 30px;
    }
    
    .app-mockup {
        width: 300px;
        height: 600px;
    }
    
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        gap: 32px;
    }
    
    .hero-visual {
        margin-left: 20px;
    }
    
    .app-mockup {
        width: 200px;
        height: 400px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .hero-subtitle-blur {
        font-size: 18px;
    }
    .app-mockup {
        width: 180px;
        height: 360px;
    }
    
    .phone-frame {
        padding: 12px;
        border-radius: 30px;
    }
    
    .phone-screen {
        border-radius: 15px;
    }
}

/* TikTok-Style Sidebar Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    background: #000000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-logo {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 15px rgba(254, 184, 232, 0.6));
}

.sidebar-logo-text {
    display: none;
}

.sidebar-search {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-search-input {
    width: 100%;
    padding: 12px 20px 12px 40px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sidebar-search-input:focus {
    outline: none;
    border-color: #FEB8E8;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 0 3px rgba(254, 184, 232, 0.2);
}

.sidebar-search-input::placeholder {
    color: #666;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    color: #FEB8E8;
    background: rgba(254, 184, 232, 0.1);
    border-right: 3px solid #FEB8E8;
}

.nav-item.active .nav-icon {
    color: #FEB8E8;
}

.nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-size: 16px;
    font-weight: 600;
}

.sidebar-cta {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #FEB8E8, #FDD3CD);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 184, 232, 0.3);
}

.sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.instagram-follow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.instagram-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.follow-text {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.follow-text:hover {
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #a0a0a0;
}

.copyright {
    color: #666;
    font-size: 12px;
}

/* Floating Download Buttons */
.download-float {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    z-index: 999;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(26, 26, 26, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

.download-btn:hover {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(233, 30, 99, 0.15));
    border-color: #ff1493;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 20, 147, 0.3);
}

.download-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.download-btn.ios {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.download-btn.ios:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(0, 122, 255, 0.1));
    border-color: #007AFF;
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
}

.download-btn.android {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
}

.download-btn.android:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border-color: #4CAF50;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.3);
}

.download-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.download-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.download-text.small-text {
    font-size: 8px;
    line-height: 1.2;
}

/* Main Content Layout */
/* Starfield Decoration */
.starfield {
    position: fixed;
    top: 0;
    left: 240px;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

/* Random positioning for stars */
.star:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; left: 85%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 40%; left: 20%; animation-delay: 1s; }
.star:nth-child(4) { top: 50%; left: 70%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 65%; left: 15%; animation-delay: 0.3s; }
.star:nth-child(6) { top: 70%; left: 80%; animation-delay: 0.8s; }
.star:nth-child(7) { top: 30%; left: 50%; animation-delay: 1.2s; }
.star:nth-child(8) { top: 55%; left: 40%; animation-delay: 0.7s; }
.star:nth-child(9) { top: 80%; left: 25%; animation-delay: 1.8s; }
.star:nth-child(10) { top: 35%; left: 90%; animation-delay: 0.4s; }
.star:nth-child(11) { top: 60%; left: 5%; animation-delay: 1.3s; }
.star:nth-child(12) { top: 45%; left: 60%; animation-delay: 0.6s; }
.star:nth-child(13) { top: 75%; left: 55%; animation-delay: 1.7s; }
.star:nth-child(14) { top: 20%; left: 30%; animation-delay: 0.9s; }
.star:nth-child(15) { top: 85%; left: 65%; animation-delay: 1.4s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* Hero Text Load Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Press Animation */
@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

/* Image Gentle Float */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* Scroll Reveal */
@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    margin-left: 240px;
    min-height: 100vh;
    background: #000000;
    position: relative;
    z-index: 2;
}

/* Search page specific - center content vertically */
.main-content:has(.search-container) {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Update existing styles for new layout */
.header {
    display: none; /* Hide old header */
}

.legal-main {
    margin-left: 240px;
    padding: 40px 0;
}

/* Responsive Design for Sidebar */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar-logo-text,
    .nav-text,
    .footer-links,
    .copyright,
    .sidebar-cta,
    .follow-text {
        display: none;
    }
    
    .sidebar-logo {
        justify-content: center;
        padding: 20px;
    }
    
    .sidebar-search {
        padding: 16px 12px;
    }
    
    .sidebar-search-input {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .nav-item {
        justify-content: center;
        padding: 16px 12px;
    }
    
    .nav-icon {
        font-size: 24px;
    }
    
    .sidebar-cta {
        padding: 16px 12px;
    }
    
    .login-btn {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .sidebar-footer {
        padding: 16px 12px;
    }
    
    .instagram-follow {
        justify-content: center;
    }
    
    .instagram-icon {
        width: 32px;
        height: 32px;
    }
    
    .main-content,
    .legal-main {
        margin-left: 80px;
    }
    
    footer {
        margin-left: 80px !important;
    }
    
    .download-float {
        right: 12px;
        top: 12px;
        flex-direction: column;
        gap: 8px;
    }
    
    .download-btn {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .download-icon {
        width: 16px;
        height: 16px;
    }
    
    .download-text {
        display: none;
    }
}

/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

.mobile-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
}

.mobile-header-logo img {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 15px rgba(254, 184, 232, 0.6));
}

.mobile-header-logo span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(254, 184, 232, 0.1);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: none;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 1;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: none;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    /* Show mobile header */
    .mobile-header {
        display: flex;
    }
    
    /* Sidebar Mobile - Modern Design */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        padding-top: 60px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-logo {
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }
    
    .sidebar-logo-text {
        display: block;
        font-size: 24px;
        font-weight: 700;
        background: linear-gradient(135deg, #FDD3CD, #FEB8E8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .sidebar-search {
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar-nav {
        padding: 20px 0;
    }
    
    .nav-item {
        padding: 16px 24px;
        margin: 4px 16px;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav-item:hover {
        background: rgba(254, 184, 232, 0.1);
        transform: translateX(4px);
    }
    
    .nav-item.active {
        background: rgba(254, 184, 232, 0.15);
        border-right: none;
        border-left: 3px solid #FEB8E8;
    }
    
    .nav-icon {
        font-size: 20px;
        width: 24px;
    }
    
    .nav-text {
        font-size: 16px;
        font-weight: 600;
    }
    
    .sidebar-cta {
        padding: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
    }
    
    .login-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 12px;
    }
    
    .sidebar-footer {
        padding: 20px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links a {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* Body scroll lock when sidebar is open */
    body.sidebar-open {
        overflow: hidden;
    }
    
    /* Main content adjustments */
    .main-content,
    .legal-main {
        margin-left: 0;
        padding-top: 60px;
    }
    
    /* Starfield mobile adjustments */
    .starfield {
        left: 0;
    }
    
    footer {
        margin-left: 0 !important;
        padding: 40px 16px 30px !important;
    }
    
    /* Override inline footer styles on mobile */
    .responsive-footer {
        margin-left: 0 !important;
    }
    
    /* Fix footer grid on mobile */
    .responsive-footer .container {
        max-width: 100% !important;
    }
    
    .responsive-footer > .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure main content doesn't overflow */
    .main-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Fix any section that might overflow */
    section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Typography mobile */
    h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    
    h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 20px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        align-items: center;
        padding-top: 240px;
    }
    
    .hero-blur-section {
        width: 100%;
        padding: 100px 32px 160px;
    }
    
    .hero-title-blur {
        font-size: 32px;
    }
    
    .hero-subtitle-blur {
        font-size: 20px;
        line-height: 1.6;
        padding: 0 8px;
    }
    
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
    }
    
    .hero-visual {
        width: 100% !important;
        max-width: 400px;
        height: auto !important;
        min-height: 500px;
        margin: 0 auto !important;
        padding: 0 12px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .main-image-3d {
        width: 100% !important;
        max-width: 360px;
        height: auto !important;
        object-fit: contain;
        transform-style: preserve-3d;
        transition: transform 0.1s ease-out;
    }
    
    .reaction-image-3d {
        width: 280px !important;
        height: 280px !important;
        max-width: 280px;
        bottom: 10px;
        left: 10px;
        object-fit: contain;
        transform-style: preserve-3d;
        transition: transform 0.1s ease-out;
    }
    
    .hero-subtitle {
        font-size: 24px;
        line-height: 1.6;
        padding: 0 8px;
        color: #000000;
        font-weight: 400;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 48px;
        align-items: center;
        width: 100%;
        padding: 0 12px;
        animation: fadeInUp 0.6s ease-out 0.4s;
        opacity: 0;
        animation-fill-mode: forwards;
    }
    
    /* Hide Learn more button on mobile */
    .hero-actions .btn-outline {
        display: none;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 16px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Touch feedback on buttons */
    .btn:active {
        transform: scale(0.96);
        animation: buttonPress 0.3s ease;
    }
    
    /* Enhanced button hover for mobile (when supported) */
    .btn-primary {
        position: relative;
        overflow: hidden;
    }
    
    .btn-primary::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.4s ease, height 0.4s ease;
    }
    
    .btn-primary:active::after {
        width: 300px;
        height: 300px;
    }
    
    /* App mockup mobile */
    .app-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-frame {
        padding: 6px;
        border-radius: 20px;
    }
    
    .phone-screen {
        border-radius: 12px;
    }
    
    /* How It Works section mobile */
    .how-it-works {
        padding: 40px 0;
        opacity: 0;
        animation: scrollReveal 0.8s ease-out 0.3s forwards;
    }
    
    /* Section scroll reveal animations */
    .fun-app-section {
        opacity: 0;
        animation: scrollReveal 0.8s ease-out 0.5s forwards;
    }
    
    .lol-wheel-container {
        padding: 30px 16px;
        max-width: 100%;
        touch-action: pan-y pinch-zoom; /* Allow vertical scroll but handle horizontal */
        overflow: visible;
    }
    
    .lol-wheel {
        height: 500px;
        touch-action: none; /* Disable default touch on wheel */
    }
    
    /* Hide wheel controls on mobile */
    .wheel-controls {
        display: none;
    }
    
    .wheel-item {
        width: 340px !important;
        height: 480px !important;
        margin-left: -170px !important;
        margin-top: -240px !important;
    }
    
    /* Make images larger and clearer on mobile */
    .wheel-item.active {
        transform: rotateY(0deg) translateZ(0px) !important;
        z-index: 10;
    }
    
    .wheel-item.side {
        transform: translateX(0) translateZ(0px) !important;
        opacity: 0.3 !important;
    }
    
    .wheel-item.back {
        transform: translateX(0) translateZ(0px) !important;
        opacity: 0 !important;
        pointer-events: none;
    }
    
    .wheel-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
        border-radius: 12px;
    }
    
    .wheel-item.active .wheel-image {
        opacity: 1 !important;
        transform: scale(1) !important;
        filter: brightness(1) !important;
    }
    
    /* Simpler flat carousel for mobile instead of 3D */
    .lol-wheel {
        transform-style: flat;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    /* Override 3D transforms for mobile - show only active item */
    .wheel-item:nth-child(1),
    .wheel-item:nth-child(2),
    .wheel-item:nth-child(3),
    .wheel-item:nth-child(4),
    .wheel-item:nth-child(5) {
        transform: translateX(0) translateY(0) translateZ(0) !important;
        position: absolute;
        left: 50%;
        top: 50%;
    }
    
    /* Show only the active item on mobile */
    .wheel-item:not(.active) {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .wheel-item.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Video section mobile */
    .fun-app-section {
        padding: 40px 16px;
    }
    
    .fun-app-content {
        width: 100%;
        max-width: 100%;
    }
    
    .fun-app-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .video-container {
        width: 100%;
        max-width: 100%;
        padding-bottom: 56.25%;
        margin: 0 auto;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
    }
    
    .fun-video {
        object-fit: cover;
        border-radius: 12px;
    }
    
    /* Ensure thumbnail is visible on mobile */
    .fun-video[poster],
    .fun-video::-webkit-media-controls-poster {
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }
    
    /* Make sure video displays thumbnail before play */
    .fun-video:not([poster]) {
        background-image: url('../images/mainpic.png');
        background-size: cover;
        background-position: center;
    }
    
    /* Steps mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step {
        text-align: center;
    }
    
    /* Features mobile */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
        text-align: center;
    }
    
    /* Download section mobile */
    .download {
        padding: 40px 0;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    /* Hide floating download buttons on mobile */
    .download-float {
        display: none;
    }
    
    /* Search page mobile */
    .search-header h1 {
        font-size: 32px;
    }
    
    .search-input {
        padding: 16px 20px;
        font-size: 16px;
    }
    
    .user-card {
        padding: 16px;
        gap: 16px;
    }
    
    .user-avatar {
        width: 50px;
        height: 50px;
    }
    
    .user-name {
        font-size: 16px;
    }
    
    .user-username {
        font-size: 12px;
    }
    
    .user-stats {
        gap: 12px;
    }
    
    .user-stat {
        font-size: 11px;
    }
    
    /* Profile page mobile */
    .profile-container {
        padding: 16px;
    }
    
    .profile-banner {
        height: 250px;
        margin-bottom: 30px;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        margin: -50px auto 16px;
    }
    
    .profile-name {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .profile-username {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .profile-bio {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .profile-stats {
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .profile-stat {
        font-size: 14px;
    }
    
    .profile-stat-number {
        font-size: 20px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .video-item {
        aspect-ratio: 9/16;
    }
    
    .unlock-cta {
        padding: 20px;
        margin: 20px 0;
    }
    
    .unlock-cta h3 {
        font-size: 20px;
    }
    
    .unlock-cta p {
        font-size: 14px;
    }
    
    .unlock-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Contact form mobile */
    .contact-form {
        margin: 20px 0;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Legal pages mobile */
    .legal-content {
        padding: 20px 0;
    }
    
    .legal-content h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .legal-content h2 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 12px;
    }
    
    .legal-content h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 8px;
    }
    
    .legal-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .legal-content ul,
    .legal-content ol {
        padding-left: 20px;
        margin-bottom: 16px;
    }
    
    .legal-content li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 8px;
    }
}

/* Mobile Small (very small phones) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
        max-width: 100%;
    }
    
    h1 {
        font-size: 24px;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .hero {
        padding: 20px 0 30px;
    }
    
    .hero-content {
        gap: 24px;
        padding-top: 200px;
    }
    
    .hero-blur-section {
        padding: 80px 24px 140px;
    }
    
    .hero-title-blur {
        font-size: 24px;
    }
    
    .hero-subtitle-blur {
        font-size: 18px;
        padding: 0 4px;
        line-height: 1.6;
    }
    
    .hero-text {
        padding: 0 8px;
    }
    
    .hero-visual {
        max-width: 360px;
        min-height: 450px;
        padding: 0 8px;
    }
    
    .main-image-3d {
        max-width: 320px;
    }
    
    .reaction-image-3d {
        width: 260px !important;
        height: 260px !important;
        max-width: 260px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        padding: 0 4px;
        color: #000000;
        font-weight: 400;
        line-height: 1.6;
    }
    
    .hero-actions {
        padding: 0 8px;
        gap: 52px;
    }
    
    .btn {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .app-mockup {
        width: 200px;
        height: 400px;
    }
    
    /* How It Works section small mobile */
    .how-it-works {
        padding: 30px 0;
    }
    
    .lol-wheel-container {
        padding: 20px 12px;
    }
    
    .lol-wheel {
        height: 450px;
    }
    
    /* Hide wheel controls on small mobile too */
    .wheel-controls {
        display: none;
    }
    
    .wheel-item {
        width: 300px !important;
        height: 420px !important;
        margin-left: -150px !important;
        margin-top: -210px !important;
    }
    
    /* Ensure controls are easily tappable */
    .wheel-nav {
        width: 56px;
        height: 56px;
        font-size: 28px;
        min-height: 44px; /* iOS touch target minimum */
    }
    
    .wheel-dot {
        width: 14px;
        height: 14px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .wheel-dot.active {
        width: 18px;
        height: 18px;
    }
    
    /* Video section small mobile */
    .fun-app-section {
        padding: 30px 12px;
    }
    
    .fun-app-content {
        padding: 0;
    }
    
    .fun-app-content h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .fun-app-video {
        padding: 0;
        width: 100%;
    }
    
    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
    }
    
    .fun-video {
        border-radius: 12px;
        object-fit: cover;
    }
    
    footer {
        padding: 30px 12px 20px !important;
    }
    
    footer .container {
        padding: 0 !important;
    }
    
    .phone-frame {
        padding: 4px;
        border-radius: 16px;
    }
    
    .phone-screen {
        border-radius: 10px;
    }
    
    .search-header h1 {
        font-size: 28px;
    }
    
    .user-card {
        padding: 12px;
        gap: 12px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .user-name {
        font-size: 14px;
    }
    
    .profile-banner {
        height: 200px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
        margin: -40px auto 12px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .profile-username {
        font-size: 14px;
    }
    
    .profile-bio {
        font-size: 14px;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .unlock-cta h3 {
        font-size: 18px;
    }
    
    .unlock-cta p {
        font-size: 12px;
    }
    
    .legal-content h1 {
        font-size: 20px;
    }
    
    .legal-content h2 {
        font-size: 18px;
    }
    
    .legal-content h3 {
        font-size: 16px;
    }
    
    .legal-content p {
        font-size: 13px;
    }
}

/* Prevent horizontal scrolling on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }
    
    * {
        max-width: 100%;
    }
}

/* Touch optimization for all mobile devices */
@media (max-width: 768px) {
    /* Ensure all interactive elements are touch-friendly */
    .btn,
    .nav-item,
    .download-btn,
    .login-btn,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap targets */
    .user-card {
        min-height: 60px;
    }
    
    .video-item {
        min-height: 120px;
    }
    
    /* Better spacing for touch */
    .nav-item {
        padding: 16px 24px;
    }
    
    .sidebar-nav {
        padding: 16px 0;
    }
    
    /* Form inputs mobile-friendly */
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }
    
    /* Search dropdown mobile */
    .search-dropdown {
        max-height: 50vh;
        overflow-y: auto;
    }
    
    /* Profile stats mobile layout */
    .profile-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .profile-stat {
        min-width: 80px;
        text-align: center;
    }
    
    /* Enhanced touch feedback for interactive elements */
    .wheel-nav:active,
    .wheel-dot:active {
        transform: scale(0.9);
    }
    
    /* Subtle hover effect for cards on touch devices */
    .wheel-item.active {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Smooth transitions for all interactive elements */
    * {
        -webkit-tap-highlight-color: rgba(254, 184, 232, 0.2);
    }
    
    /* Add subtle glow on active elements */
    .btn-primary:active {
        box-shadow: 0 0 20px rgba(254, 184, 232, 0.4);
    }
    
    /* Section headings get subtle animation on scroll into view */
    .section-header {
        opacity: 0;
        animation: scrollReveal 0.8s ease-out forwards;
        animation-delay: 0.2s;
    }
    
    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }
    
    /* Image container subtle pulse on interaction */
    .hero-visual {
        transition: transform 0.3s ease;
    }
}