* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #141414;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent: #6C5CE7;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    background: linear-gradient(
        135deg,
        var(--bg-color) 0%,
        #13111C 50%,
        #0F0A1E 100%
    );
    min-height: 100vh;
    color: var(--text);
    position: relative;
    overflow-x: hidden;
    animation: backgroundBreathing 8s ease-in-out infinite;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent), transparent);
    opacity: 0.15;
    filter: blur(30px);
    z-index: 0;
}

.bg-element.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -100px;
    background: linear-gradient(45deg, #6C5CE7, transparent);
    animation: floatCircle 25s ease-in-out infinite;
}

.bg-element.circle-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: linear-gradient(-45deg, #6C5CE7, transparent);
    animation: floatCircle 20s ease-in-out infinite reverse;
}

.bg-element.circle-3 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 50%;
    background: linear-gradient(135deg, #6C5CE7, transparent);
    animation: floatCircle 22s ease-in-out infinite 2s;
}

.bg-element.line {
    position: absolute;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6C5CE7, transparent);
    opacity: 0.2;
    filter: blur(8px);
}

.bg-element.line-1 {
    top: 30%;
    left: 20%;
    transform: rotate(45deg);
    animation: floatLine 15s ease-in-out infinite;
}

.bg-element.line-2 {
    bottom: 40%;
    right: 25%;
    transform: rotate(-45deg);
    animation: floatLine 12s ease-in-out infinite 1s;
}

.bg-element.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #6C5CE7;
    opacity: 0.3;
    filter: blur(4px);
}

.bg-element.dot-1 {
    top: 35%;
    right: 25%;
    animation: floatDot 10s ease-in-out infinite;
}

.bg-element.dot-2 {
    bottom: 25%;
    left: 35%;
    animation: floatDot 8s ease-in-out infinite 1s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
        opacity: 0.25;
    }
}

@keyframes floatLine {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.2;
    }
    50% {
        transform: rotate(45deg) translateY(30px);
        opacity: 0.3;
    }
}

@keyframes floatDot {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, -20px);
        opacity: 0.4;
    }
}

body::before {
    display: none;
}

@keyframes backgroundBreathing {
    0%, 100% {
        background-size: 100% 100%;
    }
    50% {
        background-size: 102% 102%;
    }
}

@keyframes gradientShift {
    0% {
        opacity: 0.2;
        transform: scale(1) translate(0, 0);
    }
    25% {
        opacity: 0.25;
        transform: scale(1.02) translate(-0.5%, 0.5%);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05) translate(0.5%, -0.5%);
    }
    75% {
        opacity: 0.25;
        transform: scale(1.02) translate(0.5%, 0.5%);
    }
    100% {
        opacity: 0.2;
        transform: scale(1) translate(0, 0);
    }
}

/* Add a subtle overlay for depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    animation: overlayBreathing 8s ease-in-out infinite;
}

@keyframes overlayBreathing {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.5;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.logo-container span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(108, 92, 231, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.community-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #6C5CE7;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    opacity: 1 !important;
    position: relative;
    overflow: hidden;
    color: white;
    text-decoration: none;
}

.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    background: #ffffff;
    color: #6C5CE7;
}

.community-btn span, .community-btn i {
    position: relative;
    z-index: 2;
}

.community-btn i {
    font-size: 1.2rem;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo {
        height: 32px;
    }

    .logo-container span {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .community-btn {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.8rem;
    }

    .logo {
        height: 28px;
    }

    .logo-container span {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.8rem;
    }

    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .community-btn {
        padding: 0.3rem 0.6rem;
    }

    .community-btn span {
        display: none;
    }

    .community-btn i {
        font-size: 1.1rem;
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    padding: 80px 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.content-left {
    flex: 1;
    max-width: 600px;
}

.glowing-text {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(
        to right,
        #fff 0%,
        rgba(255, 255, 255, 0.9) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.glowing-text::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(
        circle at 50% 50%,
        var(--accent-glow) 0%,
        transparent 70%
    );
    opacity: 0.4;
    filter: blur(20px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Image Collage */
.image-collage {
    flex: 1;
    position: relative;
    height: 700px;
    perspective: 1000px;
    margin-right: -100px;
}

.collage-image {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center center;
    will-change: transform;
    cursor: pointer;
}

.collage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.collage-image:nth-child(1) {
    width: 320px;
    height: 420px;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%) rotate(-5deg);
    z-index: 5;
}

.collage-image:nth-child(2) {
    width: 280px;
    height: 380px;
    top: 10%;
    right: 20%;
    transform: rotate(8deg);
    z-index: 4;
}

.collage-image:nth-child(3) {
    width: 260px;
    height: 360px;
    bottom: 10%;
    right: 15%;
    transform: rotate(-12deg);
    z-index: 3;
}

.collage-image:nth-child(4) {
    width: 240px;
    height: 340px;
    top: 15%;
    right: 60%;
    transform: rotate(15deg);
    z-index: 2;
}

.collage-image:nth-child(5) {
    width: 220px;
    height: 320px;
    bottom: 15%;
    right: 65%;
    transform: rotate(-8deg);
    z-index: 1;
}

.collage-image:hover {
    transform: translate(50%, -50%) scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.collage-image:not(:first-child):hover {
    transform: scale(1.05) rotate(0deg) !important;
}

.collage-image:hover img {
    transform: scale(1.02);
}

/* Add smooth transition for box-shadow */
.collage-image {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.collage-image:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
    .image-collage {
        margin-right: 0;
    }
    
    .collage-image:nth-child(1) {
        width: 280px;
        height: 380px;
    }
    
    .collage-image:nth-child(2) {
        width: 240px;
        height: 340px;
    }
    
    .collage-image:nth-child(3) {
        width: 220px;
        height: 320px;
    }
    
    .collage-image:nth-child(4) {
        width: 200px;
        height: 300px;
    }
    
    .collage-image:nth-child(5) {
        width: 180px;
        height: 280px;
    }
}

.generate-btn {
    background: var(--accent);
    color: var(--text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3);
}

.generate-btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-text {
    font-size: 1rem;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.features {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.features span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(30px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.upload-box {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-box:hover {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.upload-icon {
    color: var(--accent);
    margin-bottom: 1rem;
}

.upload-box h4 {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.upload-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(1px);
}

.floating-element.crown {
    top: 10%;
    left: 15%;
    animation: float 8s ease-in-out infinite;
}

.floating-element.star {
    bottom: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite 1s;
}

.floating-element.circle {
    top: 40%;
    right: 25%;
    animation: float 7s ease-in-out infinite 0.5s;
}

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

/* Features Section */
.features-section {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
}

.features-section .feature-card .feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-section .feature-card .feature-icon i {
    font-size: inherit;
    transition: transform 0.3s ease;
}

.features-section .feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.1);
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.step-title {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-card:hover .step-title {
    color: var(--accent);
    transform: translateY(-2px);
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.step-card:hover .step-description {
    color: var(--text);
    transform: translateY(-2px);
}

/* Add a subtle glow effect on hover */
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(108, 92, 231, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-card {
        padding: 1.5rem;
    }
    
    .step-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .step-card {
        padding: 1.2rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(108, 92, 231, 0.1), transparent);
    border-radius: 24px;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .generate-btn {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
}

/* Processing Section */
.processing-section {
    text-align: center;
    padding: 2rem;
    display: none;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

.processing-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text);
}

.processing-status {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    border-radius: 3px;
    transition: width 0.5s ease;
    animation: progressAnimation 60s linear;
}

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

@keyframes progressAnimation {
    0% { width: 0%; }
    90% { width: 95%; }
    100% { width: 100%; }
}

.processing-steps {
    margin-top: 2rem;
    text-align: left;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.step-status {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-status.completed {
    background: var(--accent);
    border-color: var(--accent);
}

.step-status.in-progress {
    border-color: var(--accent);
    position: relative;
}

.step-status.in-progress::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Video Container */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.2);
}

.video-text {
    text-align: center;
    color: var(--text);
}

.video-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--accent), #ff3b30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.video-text p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.video-link {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.video-link:hover {
    transform: scale(1.02);
}

.video-box iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.3);
    aspect-ratio: 9/16;
    object-fit: cover;
}

.prank-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
    animation: textGlow 2s ease-in-out infinite;
    width: 100%;
    padding: 0 1rem;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(108, 92, 231, 0.8);
    }
}

.preview-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.preview-box img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.preview-actions {
    width: 100%;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.back-btn, .cancel-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 1px solid var(--border);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.cancel-btn {
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    border: 1px solid rgba(255, 59, 48, 0.2);
}

.cancel-btn:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: #ff3b30;
}

/* Result Page */
.result-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.back-home-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.back-home-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.back-home-btn i {
    font-size: 1.2rem;
}

.community-section {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.community-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--accent), #ff3b30);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.whatsapp-btn, .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.5rem;
    border: none;
    text-decoration: none;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.share-btn {
    background: var(--accent);
    color: var(--text);
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.whatsapp-btn i, .share-btn i {
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .whatsapp-btn, .share-btn {
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .content-left {
        width: 100%;
        max-width: 100%;
    }

    .content-left h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .content-left p {
        font-size: 1.1rem;
    }

    .image-collage {
        width: 100%;
        height: 300px;
    }

    .collage-image {
        width: 120px;
        height: 120px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .how-it-works {
        padding: 2rem 1rem;
    }

    .steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step {
        width: 100%;
        padding: 1.5rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .step p {
        font-size: 0.95rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .nav-title {
        font-size: 1.2rem;
    }

    .content-left h1 {
        font-size: 2.8rem;
    }

    .content-left p {
        font-size: 1rem;
    }

    .get-started-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .image-collage {
        height: 250px;
    }

    .collage-image {
        width: 100px;
        height: 100px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .upload-box {
        padding: 1.5rem;
    }

    .upload-box i {
        font-size: 2rem;
    }

    .upload-box p {
        font-size: 0.95rem;
    }

    .preview-box img {
        height: 250px;
    }

    .preview-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .back-btn, .generate-btn, .cancel-btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
    }

    .processing-section {
        padding: 1.5rem;
    }

    .loading-spinner {
        width: 60px;
        height: 60px;
    }

    .processing-text {
        font-size: 1.5rem;
    }

    .processing-status {
        font-size: 1rem;
    }

    .progress-bar {
        height: 6px;
    }

    .processing-steps {
        gap: 1rem;
    }

    .processing-step {
        padding: 0.8rem;
    }

    .step-status {
        width: 24px;
        height: 24px;
    }

    .step-text {
        font-size: 0.9rem;
    }

    .video-box {
        width: 95%;
        padding: 1.5rem;
    }

    .video-text h2 {
        font-size: 2rem;
    }

    .video-text p {
        font-size: 1rem;
    }

    .video-box iframe {
        height: 250px;
    }

    .prank-text {
        font-size: 1.5rem;
    }

    .community-section h3 {
        font-size: 1.3rem;
    }

    .whatsapp-btn, .share-btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        margin: 0.5rem 0;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .main-content {
        padding: 1rem;
    }

    .content-left h1 {
        font-size: 2.5rem;
    }

    .image-collage {
        height: 200px;
    }

    .collage-image {
        width: 80px;
        height: 80px;
    }

    .modal-content {
        max-height: 90vh;
    }

    .preview-box img {
        height: 200px;
    }

    .video-box iframe {
        height: 200px;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .navbar, .get-started-btn, .modal, .video-container {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .main-content {
        padding: 2rem;
    }

    .content-left h1 {
        color: black;
    }

    .content-left p {
        color: #333;
    }
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Add section padding to account for fixed navbar */
section {
    scroll-margin-top: 80px;
    position: relative;
} 