/* Home Page Specific Styles - DO NOT MODIFY */

/* Disable zoom and scaling for home page */
html, body {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Prevent pinch zoom on mobile */
* {
    touch-action: pan-x pan-y;
}

/* Hero Section Styles */
.hero {
    background-color: #000;
    min-height: calc(100vh - 76px);
    background: linear-gradient(to bottom, #151515, #202020);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 20px;  /* Add padding for mobile */
    user-select: none; /* Prevent text selection */
}

/* Clip Counter Styles */
.clip-counter-container {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
    cursor: default;
    user-select: none;
}

.clip-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 87, 246, 0.1), rgba(0, 87, 246, 0.05));
    border: 2px solid rgba(0, 87, 246, 0.3);
    border-radius: 25px;
    padding: 1.2rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 87, 246, 0.2),
        0 0 40px rgba(0, 87, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.clip-counter:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 87, 246, 0.3),
        0 0 60px rgba(0, 87, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 87, 246, 0.5);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0057F6;
    text-shadow: 
        0 0 20px rgba(0, 87, 246, 0.6),
        0 0 40px rgba(0, 87, 246, 0.4),
        0 0 60px rgba(0, 87, 246, 0.2);
    line-height: 1;
    margin-bottom: 0.3rem;
    animation: counter-glow 3s ease-in-out infinite;
    font-family: 'Arial', sans-serif;
    letter-spacing: -0.02em;
}

.counter-text {
    font-size: 1.1rem;
    color: #b3b3b3;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 0.2rem;
    text-shadow: 0 0 10px rgba(179, 179, 179, 0.3);
}

/* Floating animation for clip counter */
.clip-counter-container.floating {
    animation: float 4s ease-in-out infinite;
}

/* Counter glow animation */
@keyframes counter-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(0, 87, 246, 0.6),
            0 0 40px rgba(0, 87, 246, 0.4),
            0 0 60px rgba(0, 87, 246, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(0, 87, 246, 0.8),
            0 0 60px rgba(0, 87, 246, 0.6),
            0 0 80px rgba(0, 87, 246, 0.4);
    }
}

/* Update animation when counter changes */
.counter-number.updating {
    animation: counter-update 0.8s ease-in-out;
}

@keyframes counter-update {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.1); 
        text-shadow: 
            0 0 40px rgba(0, 87, 246, 1),
            0 0 80px rgba(0, 87, 246, 0.8),
            0 0 120px rgba(0, 87, 246, 0.6);
    }
    100% { transform: scale(1); }
}

/* Mobile optimizations for clip counter */
@media (max-width: 768px) {
    .clip-counter-container {
        margin-bottom: 1rem;
    }
    
    .clip-counter {
        padding: 1rem 1.5rem;
        max-width: 240px;
    }
    
    .counter-number {
        font-size: 2.8rem;
    }
    
    .counter-text {
        font-size: 1rem;
    }
}

/* Logo and main content */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;  /* Ensure full width */
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;  /* Center all children horizontally */
    justify-content: center;
    min-height: calc(100vh - 76px);
    cursor: default; /* Ensure default cursor */
    user-select: none; /* Prevent text selection */
}

.hero-content h1 {
    font-size: 9rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 40px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 4;
    width: 100%;  /* Ensure full width */
    text-align: center;
    white-space: nowrap;  /* Prevent wrapping */
    cursor: default; /* Ensure default cursor */
    user-select: none; /* Prevent text selection */
}

.hero-content .tagline {
    font-size: 1.2rem;
    color: #b3b3b3;
    margin: 0 auto 1rem;
    line-height: 1.3;
    max-width: 900px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    width: 100%;  /* Ensure full width */
    text-align: center;
    padding: 0 20px;  /* Add padding for mobile */
    cursor: default; /* Ensure default cursor */
    user-select: none; /* Prevent text selection */
}

.hero-content .tagline-highlight {
    display: block;
    color: #fff; /* Changed to white so dashes appear white */
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: glow 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    cursor: default; /* Ensure default cursor */
    user-select: none; /* Prevent text selection */
    font-style: italic; /* Add slanted/italic styling */
    letter-spacing: 0.8px; /* Add letter spacing for premium look */
}

/* Individual phrase styling with custom glows */
.hero-content .tagline-highlight .post-clips {
    color: #0057F6;
    text-shadow: 
        0 0 20px rgba(0, 87, 246, 0.6),
        0 0 40px rgba(0, 87, 246, 0.4),
        0 0 60px rgba(0, 87, 246, 0.2);
}

.hero-content .tagline-highlight .get-views {
    color: #fff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4);
}

.hero-content .tagline-highlight .make-money {
    color: #22C55E;
    text-shadow: 
        0 0 20px rgba(34, 197, 94, 0.6),
        0 0 40px rgba(34, 197, 94, 0.4),
        0 0 60px rgba(34, 197, 94, 0.2);
}

/* Glow animations for each phrase */
@keyframes blue-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(0, 87, 246, 0.6),
            0 0 40px rgba(0, 87, 246, 0.4),
            0 0 60px rgba(0, 87, 246, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(0, 87, 246, 0.8),
            0 0 60px rgba(0, 87, 246, 0.6),
            0 0 90px rgba(0, 87, 246, 0.4);
    }
}

@keyframes green-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(34, 197, 94, 0.6),
            0 0 40px rgba(34, 197, 94, 0.4),
            0 0 60px rgba(34, 197, 94, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(34, 197, 94, 0.8),
            0 0 60px rgba(34, 197, 94, 0.6),
            0 0 90px rgba(34, 197, 94, 0.4);
    }
}

@keyframes white-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 60px rgba(255, 255, 255, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 1),
            0 0 60px rgba(255, 255, 255, 0.8),
            0 0 90px rgba(255, 255, 255, 0.6);
    }
}

/* Restore original button styling */
.hero-content .btn-primary {
    font-size: 1.3rem;
    padding: 0.85rem 2.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    background-color: #0057F6;
    border-color: #0057F6;
    text-shadow: 0 0 10px rgba(0, 87, 246, 0.4);
    cursor: pointer;
}

.hero-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 87, 246, 0.5);
}

/* Hero buttons container - simple vertical stack */
.hero-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.hero-buttons-container .btn {
    font-size: 1.2rem;
    padding: 0.85rem 2.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-decoration: none;
}

/* What's a Clipper button - solid white */
.hero-buttons-container .btn-outline-light {
    color: #333;
    border-color: white;
    background-color: white;
}

.hero-buttons-container .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    border-color: white;
}

/* Update the rain container for better performance */
.rain-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    contain: layout style;
}

/* Base rain item styling */
.rain-item {
    position: absolute;
    color: rgba(0, 123, 255, 0.7);
    font-size: 50px;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.6), 0 0 30px rgba(0, 123, 255, 0.4);
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0.8;
    
    /* Default fallback values for the animation properties */
    --fall-duration: 10s;
    --initial-progress: 0;
}

/* Icon styling - single definition */
.rain-item i {
    display: inline-block;
    transform: scale(1.5);
    transform-origin: center;
}

/* Pause icon styling - single definition */
.rain-item i.fa-pause {
    transform: scale(1.3);
    padding: 0 2px;
}

/* Dollar sign icon styling */
.rain-item i.fa-dollar-sign {
    transform: scale(1.4);
    padding: 0 3px;
    color: rgba(34, 197, 94, 0.8); /* Green color for money theme */
}

/* View count text styling */
.rain-item.text-item {
    font-size: 14px !important; /* Override the random size for text items */
}

.rain-item .view-count-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 26px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(2px);
}

/* Apply pulse animation to some icons - single definition */
.rain-item:nth-child(3n) i {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* CLASS-BASED APPROACH - Use this exclusively, remove nth-child animation overrides */
/* New buttons falling from top */
.rain-item.new-fall.fall-type-1 {
    animation: fallDown1 var(--fall-duration) linear forwards;
}

.rain-item.new-fall.fall-type-2 {
    animation: fallDown2 var(--fall-duration) linear forwards;
}

.rain-item.new-fall.fall-type-3 {
    animation: fallDown3 var(--fall-duration) linear forwards;
}

.rain-item.new-fall.fall-type-4 {
    animation: fallDown4 var(--fall-duration) linear forwards;
}

.rain-item.new-fall.fall-type-5 {
    animation: fallDown5 var(--fall-duration) linear forwards;
}

/* Initial buttons already in the viewport */
.rain-item.initial-fall.fall-type-1 {
    animation: fallDown1 var(--fall-duration) linear forwards;
    animation-delay: calc(var(--fall-duration) * var(--initial-progress) * -1);
}

.rain-item.initial-fall.fall-type-2 {
    animation: fallDown2 var(--fall-duration) linear forwards;
    animation-delay: calc(var(--fall-duration) * var(--initial-progress) * -1);
}

.rain-item.initial-fall.fall-type-3 {
    animation: fallDown3 var(--fall-duration) linear forwards;
    animation-delay: calc(var(--fall-duration) * var(--initial-progress) * -1);
}

.rain-item.initial-fall.fall-type-4 {
    animation: fallDown4 var(--fall-duration) linear forwards;
    animation-delay: calc(var(--fall-duration) * var(--initial-progress) * -1);
}

.rain-item.initial-fall.fall-type-5 {
    animation: fallDown5 var(--fall-duration) linear forwards;
    animation-delay: calc(var(--fall-duration) * var(--initial-progress) * -1);
}

/* ANIMATION DEFINITIONS - Single definition for each animation */
@keyframes fallDown1 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    30% {
        transform: translateY(90vh) translateX(-8px);
    }
    85% {
        opacity: 0.7;
        transform: translateY(250vh) translateX(-15px);
    }
    100% {
        transform: translateY(300vh) translateX(-20px);
        opacity: 0;
    }
}

@keyframes fallDown2 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    30% {
        transform: translateY(90vh) translateX(8px);
    }
    85% {
        opacity: 0.7;
        transform: translateY(250vh) translateX(15px);
    }
    100% {
        transform: translateY(300vh) translateX(20px);
        opacity: 0;
    }
}

@keyframes fallDown3 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    45% {
        transform: translateY(135vh) translateX(6px);
    }
    85% {
        opacity: 0.7;
        transform: translateY(250vh) translateX(-4px);
    }
    100% {
        transform: translateY(300vh) translateX(-8px);
        opacity: 0;
    }
}

@keyframes fallDown4 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    45% {
        transform: translateY(135vh) translateX(-6px);
    }
    85% {
        opacity: 0.7;
        transform: translateY(250vh) translateX(4px);
    }
    100% {
        transform: translateY(300vh) translateX(8px);
        opacity: 0;
    }
}

@keyframes fallDown5 {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    20% {
        transform: translateY(60vh) translateX(10px);
    }
    70% {
        transform: translateY(210vh) translateX(-8px);
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(300vh) translateX(0);
        opacity: 0;
    }
}

/* Legacy fallback animation for compatibility */
@keyframes fallDown {
    0% {
        transform: translateY(0);
        opacity: 0.8;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(300vh);
        opacity: 0;
    }
}

/* Subtle pulse animation for icons - single definition */
@keyframes subtle-pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Optimize animations */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 15px rgba(0, 87, 246, 0.4); }
    50% { text-shadow: 0 0 25px rgba(0, 87, 246, 0.7); }
}

/* Remove any floating-playbuttons related classes */
.floating-playbuttons,
.floating-play {
    display: none !important;
}

.hero-emoji {
    font-size: 40px;  /* Increase from default size */
    margin: 0 10px;
    display: inline-block;
    text-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
    cursor: default; /* Ensure default cursor */
    user-select: none; /* Prevent text selection */
}

/* Keep the floating animation for the emoji container */
.emoji-container.floating {
    animation: float 3s ease-in-out infinite;
}

/* Mobile Optimizations - reduce animations for better mobile performance */
@media (max-width: 768px) {
    /* Hide the entire navbar on mobile */
    nav.navbar,
    .navbar,
    header .navbar {
        display: none !important;
        height: 0 !important;
        visibility: hidden !important;
    }

    /* Adjust hero section to take full height without navbar */
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        min-height: 100vh;
    }

    /* Other mobile adjustments */
    .hero-content h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .hero-content .tagline {
        font-size: 1rem;
        white-space: nowrap; /* Force single line */
    }

    .hero-content .tagline-highlight {
        font-size: 1rem; /* Smaller for mobile */
        white-space: nowrap; /* Force single line */
    }

    .hero-emoji {
        font-size: 30px;
    }

    /* Hide navbar brand on mobile */
    .navbar-brand {
        display: none;
    }

    /* Ensure navbar is still centered without the brand */
    .navbar {
        justify-content: center;
    }
    
    /* Reduce animation intensity on mobile */
    .rain-item {
        font-size: 40px; /* Smaller elements */
    }
    
    @keyframes glow {
        0%, 100% { text-shadow: 0 0 10px rgba(0, 87, 246, 0.3); }
        50% { text-shadow: 0 0 15px rgba(0, 87, 246, 0.5); }
    }
}

/* Restore PC Layout */
@media (min-width: 769px) {
    .hero-content h1 {
        font-size: 9rem;  /* Restore original size */
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    .hero-content .tagline-highlight {
        font-size: 1.6rem;
    }

    .hero-emoji {
        font-size: 40px;  /* Restore original size */
    }
}

/* Compact PC Layout - Make everything more condensed for better fit */
@media (min-width: 769px) {
    /* Make clip counter more compact */
    .clip-counter-container {
        margin-bottom: 1rem; /* Reduced from 1.5rem */
    }
    
    .clip-counter {
        padding: 0.8rem 1.5rem; /* Reduced from 1.2rem 2rem */
        max-width: 240px; /* Reduced from 280px */
    }
    
    .counter-number {
        font-size: 2.8rem; /* Reduced from 3.5rem */
        margin-bottom: 0.2rem; /* Reduced from 0.3rem */
    }
    
    .counter-text {
        font-size: 0.95rem; /* Reduced from 1.1rem */
    }
    
    /* Make main title more compact */
    .hero-content h1 {
        font-size: 7rem !important; /* Reduced from 9rem */
        margin-bottom: 1.2rem; /* Reduced from 2rem */
    }
    
    /* Make tagline more compact */
    .hero-content .tagline {
        font-size: 1.05rem; /* Reduced from 1.2rem */
        margin-bottom: 0.8rem; /* Reduced from 1rem */
    }
    
    .hero-content .tagline-highlight {
        font-size: 1.35rem; /* Reduced from 1.6rem */
        margin-bottom: 0.15rem; /* Reduced from 0.2rem */
    }
    
    /* Make buttons more compact */
    .hero-buttons-container {
        gap: 0.8rem; /* Reduced from 1rem */
        margin-top: 0.8rem; /* Reduced from 1rem */
    }
    
    .hero-buttons-container .btn {
        font-size: 1.1rem; /* Reduced from 1.2rem */
        padding: 0.75rem 2.2rem; /* Reduced from 0.85rem 2.5rem */
        min-width: 180px; /* Reduced from 200px */
    }
    
    /* Reduce overall hero content padding */
    .hero-content {
        padding: 15px; /* Reduced from 20px */
    }
}

/* Fixed Layout for PC - Add after your existing media queries */
@media (min-width: 769px) {
    /* Prevent scrolling on the body */
    body.home-page {
        overflow: hidden;
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    
    /* Fix the navbar to the top with black background */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #000 !important; /* Hard black background */
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
        border-bottom: 1px solid #333;
    }
    
    /* Fix the footer/bottom bar to the bottom with matching black */
    footer, .bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #000 !important;
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.7);
        border-top: 1px solid #333;
    }
    
    /* Adjust the hero to fit exactly between navbar and footer */
    .hero {
        position: fixed;
        top: 76px; /* Adjust based on your navbar height */
        bottom: 50px; /* Adjust based on your footer height */
        left: 0;
        right: 0;
        min-height: auto; /* Override the previous min-height */
        height: auto;
        overflow: hidden;
    }
    
    /* Ensure hero content stays centered in the adjusted space */
    .hero-content {
        min-height: auto;
        height: 100%;
    }

    /* Additional specific selector for the copyright footer */
    .home-page footer,
    .home-page .footer,
    .home-page .copyright-bar {
        background-color: #000 !important;
        border-top: 1px solid #333;
        color: #aaa;
    }
}

/* Add this to make the home page footer black on all screen sizes */
footer, 
.site-footer,
body footer {
    background-color: #000 !important;
    border-top: 1px solid #333;
    color: #aaa;
}

/* Add navbar text selection prevention */
nav.navbar,
.navbar {
    user-select: none; /* Prevent text selection */
}

.navbar-brand, 
.navbar-text,
.catchphrase,
.navbar .brand-blue {
    user-select: none; /* Prevent text selection */
    cursor: default; /* Ensure default cursor */
}

/* Set specific blue color for brand elements */
.brand-blue {
    color: #0057F6 !important;
}

/* Link elements should still show pointer cursor */
a.navbar-brand {
    cursor: pointer; /* Keep pointer for clickable brand */
}

/* Footer text selection prevention */
footer, 
.site-footer,
body footer,
.site-footer p,
copyright-text,
.site-footer .mb-0 {
    user-select: none; /* Prevent text selection */
    cursor: default; /* Ensure default cursor */
}

/* Clipper Modal Styles */
.clipper-modal {
    max-width: 900px;
    margin: 2rem auto;
}

.clipper-modal .modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
    border: 2px solid rgba(0, 87, 246, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.clipper-modal .modal-header {
    border-bottom: 1px solid rgba(0, 87, 246, 0.2);
    padding: 1.5rem 2rem 1rem;
    background: transparent;
    text-align: center;
}

.clipper-modal .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    text-align: center;
    width: 100%;
}

.clipper-modal .btn-close {
    background: none !important;
    border: none !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: auto !important;
    background-image: none !important;
}

.clipper-modal .btn-close::before {
    content: "✕" !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

.clipper-modal .btn-close:hover {
    color: #0057F6 !important;
    transform: scale(1.1) !important;
}

.clipper-modal .btn-close:hover::before {
    color: #0057F6 !important;
}

/* Emoji indicators for comparison sections */
.emoji-indicator {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid;
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 5;
}

.method-section {
    position: relative;
    overflow: visible;
}

.method-section h6 {
    position: relative;
    text-align: center;
}

.emoji-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Happy face - green */
.happy-face {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.happy-face::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    width: 3px;
    height: 3px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 9px 0 0 #28a745;
}

.happy-face::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 15px;
    height: 8px;
    border: 2px solid #28a745;
    border-top: none;
    border-radius: 0 0 15px 15px;
}

/* Sad face - red */
.sad-face {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.sad-face::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 7px;
    width: 3px;
    height: 3px;
    background: #dc3545;
    border-radius: 50%;
    box-shadow: 9px 0 0 #dc3545;
}

.sad-face::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 15px;
    height: 8px;
    border: 2px solid #dc3545;
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.clipper-modal .modal-body {
    padding: 1.5rem 2rem 2rem;
    line-height: 1.6;
}

.attention-quote {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0057F6;
    text-align: center;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 87, 246, 0.3);
    padding: 1rem;
    background: rgba(0, 87, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 87, 246, 0.2);
}

.clipper-story {
    margin-bottom: 2rem;
    text-align: center;
}

.clipper-story p {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    font-style: italic;
}

.clipping-methods {
    margin-bottom: 2rem;
}

/* Comparison container for side-by-side layout */
.comparison-container {
    display: flex;
    gap: 0;  /* Remove gap to connect the sections */
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: visible;  /* Allow content to show properly */
}

.comparison-container .method-section {
    flex: 1;
    margin-bottom: 0;
    border-radius: 0;  /* Remove individual border radius */
    overflow: visible;  /* Ensure emojis and content aren't clipped */
}

/* Add rounded corners only to the outer edges */
.comparison-container .regular-clipping {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.comparison-container .autoclipz-comparison {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Regular clipping section - left side */
.regular-clipping {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;  /* Remove right border to connect */
}

/* Eliminated tasks styling */
.eliminated {
    color: rgba(255, 255, 255, 0.5) !important;
    position: relative;
}

.eliminated s {
    text-decoration: line-through;
    text-decoration-color: #0057F6;
    text-decoration-thickness: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.method-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* AutoClipz comparison section - right side with blue background - MUST come after generic .method-section */
.method-section.autoclipz-comparison {
    background: rgba(0, 87, 246, 0.1) !important;
    border: 2px solid rgba(0, 87, 246, 0.3) !important;
    border-left: none !important;  /* Remove left border to connect */
}

.autoclipz-comparison h6 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.autoclipz-comparison h6 .brand-highlight {
    color: #0057F6;
    text-shadow: 0 0 15px rgba(0, 87, 246, 0.4);
}

.method-section h6 {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.autoclipz-section {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.autoclipz-section h6 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.method-section ul {
    margin: 0;
    padding-left: 0;
    color: #c0c0c0;
    list-style: none;
    text-align: center;
}

.method-section li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-item {
    margin-bottom: 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.benefit-item strong {
    color: #0057F6;
    font-weight: 600;
}

.closing-message {
    margin-bottom: 2rem;
    text-align: center;
}

.closing-message p {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    font-style: italic;
}

.modal-cta {
    text-align: center;
}

.modal-cta .btn-primary {
    background-color: #0057F6;
    border-color: #0057F6;
    padding: 0.75rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 25px;
    text-shadow: 0 0 10px rgba(0, 87, 246, 0.4);
    transition: all 0.3s ease;
}

.modal-cta .btn-primary:hover {
    background-color: #0070ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 87, 246, 0.6);
}

/* Mobile optimizations for modal and buttons */
@media (max-width: 768px) {
    .clipper-modal {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .clipper-modal .modal-header,
    .clipper-modal .modal-body {
        padding: 1rem 1.5rem;
    }

    .clipper-modal .modal-title {
        font-size: 1.5rem;
    }

    .attention-quote {
        font-size: 1.2rem;
        padding: 0.8rem;
    }

    /* Stack comparison side-by-side on mobile */
    .comparison-container {
        flex-direction: column;
        gap: 0;  /* Keep connected even on mobile */
    }
    
    .comparison-container .method-section {
        border-radius: 0;
    }
    
    .regular-clipping {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }
    
    .autoclipz-comparison {
        border-left: 2px solid rgba(0, 87, 246, 0.3);
        border-top: none;
    }

    .hero-buttons-container .btn {
        font-size: 1.1rem;
        padding: 0.8rem 2rem;
        min-width: 280px;
    }
}

/* Medium screen optimizations */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-buttons-container .btn {
        font-size: 1.15rem;
        padding: 0.85rem 2.2rem;
        min-width: 220px;
    }
}

/* Small screen zoom adjustments */
@media (max-width: 600px) {
    .hero-buttons-container .btn {
        font-size: 1rem;
        padding: 0.75rem 1.8rem;
        min-width: 260px;
    }
}