:root {
    --primary-bg-color: #f4f7f6;
    --primary-text-color: #333333;
    --secondary-text-color: #555555;
    --accent-color-1: #4285F4;
    /* Google Blue for light theme login button text */
    --accent-color-1-hover-bg: #f1f3f4;
    /* Light gray for light theme hover */
    --accent-color-1-hover-text: #333333;
    /* Darker text on hover for light theme */
    --login-button-bg: #ffffff;
    --login-button-border: #dadce0;
    --login-button-text-color: #3c4043;
    /* Standard Google button text color */
    --login-button-hover-bg: #f8f9fa;
    --login-button-active-bg: #f1f3f4;
    --accent-color-2-start: #28a745;
    /* Green for build */
    --accent-color-2-end: #2ebf50;
    --accent-color-2-hover-start: #218838;
    --accent-color-2-hover-end: #26a443;
    --accent-color-2-shadow: rgba(40, 167, 69, 0.3);
    --accent-color-2-hover-shadow: rgba(40, 167, 69, 0.5);
    --textarea-bg-color: #ffffff;
    --textarea-text-color: #333333;
    --textarea-placeholder-color: #999999;
    --textarea-border-color: #ced4da;
    --textarea-focus-border-color: #80bdff;
    --textarea-focus-shadow-color: rgba(0, 123, 255, 0.25);
    --scrollbar-thumb-color: #6c757d;
    --scrollbar-track-color: #e9ecef;
    --icon-color: #6c757d;
    --icon-hover-color: #495057;
    --footer-text-color: #6c757d;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --particles-bg: #f4f7f6;
    /* Match primary bg for light */
}

.dark-theme {
    --primary-bg-color: #0f0f17;
    --primary-text-color: #e8eaed;
    --secondary-text-color: #c3c4c7;
    --accent-color-1: #4285f4;
    /* Keep blue for key accents only */
    --accent-color-1-hover-bg: rgba(66, 133, 244, 0.1);
    --accent-color-1-hover-text: #5294ff;
    --login-button-bg: #1a1a24;
    /* Warmer dark gray instead of blue */
    --login-button-border: rgba(255, 255, 255, 0.08);
    --login-button-text-color: #e8eaed;
    --login-button-hover-bg: #222230;
    /* Subtle warm gray hover */
    --login-button-active-bg: #2a2a38;
    --accent-color-2-start: #34a853;
    --accent-color-2-end: #4caf50;
    --accent-color-2-hover-start: #2e7d32;
    --accent-color-2-hover-end: #43a047;
    --accent-color-2-shadow: rgba(52, 168, 83, 0.3);
    --accent-color-2-hover-shadow: rgba(52, 168, 83, 0.5);
    --textarea-bg-color: #15151f;
    /* Darker neutral instead of blue */
    --textarea-text-color: #e8eaed;
    --textarea-placeholder-color: #9aa0a6;
    --textarea-border-color: rgba(255, 255, 255, 0.1);
    --textarea-focus-bg-color: #1c1c28;
    /* Warm focus background */
    --textarea-focus-border-color: #6c757d;
    --textarea-focus-shadow-color: rgba(108, 117, 125, 0.2);
    --scrollbar-thumb-color: #6c757d;
    --scrollbar-track-color: rgba(255, 255, 255, 0.05);
    --icon-color: #9aa0a6;
    --icon-hover-color: #c3c4c7;
    --footer-text-color: #9aa0a6;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --particles-bg: #0f0f17;
}

/* Ensure dark theme body doesn't have any light backgrounds */
body.dark-theme,
html.dark-theme {
    background: #0f0f17 !important;
    background-color: #0f0f17 !important;
}

/* Ensure main element doesn't interfere with dark theme background */
.dark-theme main {
    background: transparent;
}

.dark-theme .hero-section {
    background: transparent;
}

/* Dark theme gradient overrides - Professional subtle edge gradients only */
.dark-theme #particles-js {
    background: #0f0f17 !important;
}

/* Completely remove any center glow or radial effects for dark mode */
.dark-theme #particles-js::before {
    background: transparent !important;
    display: none !important;
    /* Completely disable the ::before overlay */
}

/* Make corner shadows even more subtle in dark mode */
.dark-theme #particles-js::after {
    background:
        linear-gradient(45deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.08) 1%, transparent 4%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.08) 1%, transparent 4%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.08) 1%, transparent 4%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.08) 1%, transparent 4%) !important;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-text-color);
    background-color: var(--primary-bg-color);
    overflow-x: hidden;
    height: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--particles-bg);
    z-index: 0;
    display: block;
    transition: background 0.3s ease;
}

/* Add a subtle radial gradient overlay for depth - professional edge vignette */
#particles-js::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 70%, transparent 85%, rgba(0, 0, 0, 0.05) 92%, rgba(0, 0, 0, 0.1) 97%, rgba(0, 0, 0, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Add corner shadows for modern depth effect */
#particles-js::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 3%, transparent 8%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 3%, transparent 8%),
        linear-gradient(225deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 3%, transparent 8%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 3%, transparent 8%);
    pointer-events: none;
    z-index: 1;
}

/* Target the canvas element that particles.js creates */
#particles-js canvas.particles-js-canvas-el {
    display: block;
    /* Ensure canvas is displayed */
    width: 100% !important;
    /* Force width */
    height: 100% !important;
    /* Force height */
    position: absolute;
    /* Ensure it fills the parent */
    top: 0;
    left: 0;
    /* --- DEBUGGING STEP --- */
    /* Uncomment the line below. If you see a red background, the canvas is present and sized. */
    /* background-color: red !important;  */
    /* --- END DEBUGGING STEP --- */
    z-index: 1;
    /* Canvas itself, above its parent's direct background */
}

body > header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 8px 20px;
    /* COMPACT: Reduced from 15px 30px */
    display: flex;
    justify-content: space-between;
    /* Space between logo and controls */
    align-items: center;
    box-sizing: border-box;
    z-index: 1000;
}

.logo-container {
    /* Container for the logo if needed for more complex layouts */
}

#site-mills-logo {
    height: 28px;
    /* COMPACT: Reduced from 40px */
    width: auto;
    display: block;
}

/* Animation for the logo clipping path */
#logo-clip-rect {
    transform-origin: left center;
    /* Or 0 0, ensures scaling from the left */
    transform: scaleX(0);
    /* Initial state: scaled to zero width */
    animation: uncover-logo 1.2s ease-out 0.5s forwards;
    /* duration, timing-function, delay, fill-mode */
}

@keyframes uncover-logo {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
        /* Animate to full scale */
    }
}

/* Styling and Animation for the logo highlight */
#logo-highlight-rect {
    opacity: 0;
    /* Start fully transparent */
    transform: translateX(-35px);
    /* Initial position: off-screen to the left (rect width 30, so -30 to -35 ensures it's off) */
    animation: slide-highlight-transform 1.0s ease-in-out 1.4s forwards;
    /* duration, timing, delay, fill-mode */
}

@keyframes slide-highlight-transform {
    0% {
        transform: translateX(-35px);
        /* Start position, ensures the 30px wide rect is off-screen */
        opacity: 0.4;
        /* Become visible */
    }

    30% {
        opacity: 0.5;
        /* Slightly more opaque during slide */
    }

    70% {
        opacity: 0.5;
    }

    100% {
        transform: translateX(200px);
        /* End position: left edge of highlight reaches right edge of logo (200px wide). Highlight slides off. */
        opacity: 0;
        /* Fade out as it exits */
    }
}


#site-mills-logo .logo-blades path {
    /* fill: var(--accent-color-1); CSS fill is overridden by inline SVG fill for blades */
    /* If blades also need to be theme-dependent, remove their inline fill attribute in HTML */
    transition: fill 0.3s ease;
}

#site-mills-logo .logo-text-site {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    /* Adjust font size */
    font-weight: 600;
    /* Bold */
    fill: var(--primary-text-color);
    /* Use CSS variable for theme-dependent color */
    transition: fill 0.3s ease;
}

#site-mills-logo .logo-text-mills {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    /* Adjust font size */
    font-weight: 300;
    /* Lighter weight for "Mills" */
    fill: var(--secondary-text-color);
    /* Use CSS variable for theme-dependent color */
    transition: fill 0.3s ease;
}

.header-controls {
    display: flex;
    align-items: center;
}


/* Theme Switcher Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-right: 20px;
    /* Space between switch and login button */
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    /* Smaller width */
    height: 24px;
    /* Smaller height */
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
    /* Keep it rounded */
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    /* Smaller knob */
    width: 18px;
    /* Smaller knob */
    left: 3px;
    /* Adjust position */
    bottom: 3px;
    /* Adjust position */
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--accent-color-1);
    /* Use accent color for active state */
}

input:checked+.slider:before {
    transform: translateX(26px);
    /* Adjust translation distance */
}


/* Dark theme overrides for theme switch visibility */
.dark-theme .slider:before {
    background: linear-gradient(135deg, #e8eaed 0%, #f8f9fa 100%) !important;
    border: none;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-theme input:checked+.slider:before {
    background: linear-gradient(135deg, #1a1a24 0%, #15151f 100%) !important;
    border: 1px solid var(--accent-color-1);
    transform: translateX(26px);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.3);
}

.dark-theme .dropdown-theme-switch .mobile-theme-toggle::before {
    background: linear-gradient(135deg, #e8eaed 0%, #f8f9fa 100%) !important;
    border: none;
    width: 18px;
    height: 18px;
    top: 1px;
    left: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dark-theme .dropdown-theme-switch .mobile-theme-toggle.active::before {
    background: linear-gradient(135deg, #1a1a24 0%, #15151f 100%) !important;
    border: 1px solid var(--accent-color-1);
    transform: translateX(20px);
    box-shadow: 0 0 8px rgba(66, 133, 244, 0.3);
}

/* Dark theme track visibility for theme switches */
.dark-theme .slider {
    background: linear-gradient(135deg, #2a2a38 0%, #1a1a24 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dark-theme input:checked+.slider {
    background: linear-gradient(135deg, #6c757d 0%, #9aa0a6 100%) !important;
    border: 1px solid rgba(66, 133, 244, 0.3);
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.2);
}

.login-button {
    display: inline-flex;
    /* Align icon and text */
    align-items: center;
    padding: 8px 16px;
    /* Default padding for larger screens */
    background-color: var(--login-button-bg);
    color: var(--login-button-text-color);
    text-decoration: none;
    border: 1px solid var(--login-button-border);
    /* Standard Google button border */
    border-radius: 4px;
    /* Standard Google button radius */
    font-weight: 500;
    /* Medium weight, common for Google buttons */
    font-size: 14px;
    /* Common font size */
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    /* Subtle shadow */
}

.login-button:hover {
    background-color: var(--login-button-hover-bg);
    border-color: var(--login-button-border);
    /* Keep border consistent or slightly change */
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    /* Enhanced shadow on hover */
    color: var(--login-button-text-color);
    /* Ensure text color is maintained or adjusted if needed */
}

.login-button:active {
    background-color: var(--login-button-active-bg);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    /* Revert shadow on active */
}


.login-button .google-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    /* Space between icon and text on large screens */
}

.login-button .profile-icon {
    width: 20px;
    /* Slightly larger or same as google icon */
    height: 20px;
    fill: var(--login-button-text-color);
    /* Use text color for the icon */
    display: none;
    /* Hidden by default, shown on small screens */
    margin-left: 6px;
    /* Space from Google icon on small screens */
}

/* Login button icon transition styles */
#googleLoginButton .google-icon,
#googleLoginButton .profile-icon {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Default state - logged out */
#googleLoginButton[data-is-logged-in="false"] .google-icon {
    opacity: 1;
    transform: scale(1);
    display: inline-block;
}

#googleLoginButton[data-is-logged-in="false"] .profile-icon {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

/* Logged in state - show profile icon, hide google icon */
#googleLoginButton[data-is-logged-in="true"] .google-icon {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

#googleLoginButton[data-is-logged-in="true"] .profile-icon {
    opacity: 1;
    transform: scale(1);
    display: inline-block;
    animation: profileIconAppear 0.5s ease-out;
}

/* Text transition for login button */
#googleLoginButton .login-button-text {
    transition: opacity 0.2s ease-in-out;
}

@keyframes profileIconAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1) rotate(-90deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

main {
    display: block; /* changed from flex to block to allow multiple height-based sections */
    position: relative;
    z-index: 5;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    animation: fadeIn 1.5s ease-out;
}

.hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px var(--shadow-color);
    min-height: 1.2em;
    /* Ensure space for text during typing */
}

/* Typewriter cursor for the base text */
#typewriter-base::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

/* Specific styling and animation for "with AI" */
#typewriter-ai {
    /* Initial state, can be empty or styled if needed before animation */
}

.ai-text-animated {
    display: inline-block;
    /* Allows transform */
    animation: ai-flash 0.5s ease-in-out, ai-color-change 1.5s linear 0.5s forwards;
    /* Chain animations */
}


@keyframes blink {

    from,
    to {
        border-right-color: transparent;
    }

    50% {
        border-right-color: var(--primary-text-color);
    }

    /* Cursor color */
}

/* Animation for "flashy" effect */
@keyframes ai-flash {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    25% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: scale(0.95);
        opacity: 1;
    }

    75% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Animation for color changing effect */
@keyframes ai-color-change {
    0% {
        color: #ff2d55;
    }

    /* Hot Pink */
    20% {
        color: #ff9500;
    }

    /* Orange */
    40% {
        color: #ffcc00;
    }

    /* Yellow */
    60% {
        color: #34c759;
    }

    /* Green */
    80% {
        color: #007aff;
    }

    /* Blue */
    100% {
        color: var(--login-button-text-color);
    }

    /* End with a theme-consistent color, now using login button text color */
}


.hero-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--secondary-text-color);
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    /* Needed for positioning the icon */
}

/* 2026 style textarea wrapper */
.textarea-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
    z-index: 1;
    background: transparent;
    padding: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Subtle clean shadow */
    transition: box-shadow 0.3s ease;
}

.textarea-wrapper:focus-within {
    box-shadow: 0 8px 32px rgba(0, 112, 243, 0.12);
}

.textarea-inner-bg {
    position: absolute;
    inset: 2px;
    background: var(--textarea-bg-color);
    border-radius: 18px;
    z-index: -1;
    border: 1px solid var(--textarea-border-color);
    transition: border 0.3s ease;
}

.textarea-wrapper:focus-within .textarea-inner-bg {
    border-color: transparent;
}

/* Beam border effect */
.beam-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: transparent;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.textarea-wrapper:focus-within .beam-border {
    opacity: 1;
    background: conic-gradient(from var(--beam-angle, 0deg), transparent 60%, #0070f3 85%, #00f2fe 100%);
    animation: spinningBeam 3s linear infinite;
}

@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes spinningBeam {
    to { --beam-angle: 360deg; }
}

.textarea-wrapper:focus-within .beam-border {
    opacity: 1;
    animation: spinningBeam 3s linear infinite;
}

/* Typing pulse animation */
@keyframes lightBluePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.4); }
    70% { box-shadow: 0 0 0 16px rgba(0, 112, 243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 112, 243, 0); }
}

.pulse-active .textarea-inner-bg {
    animation: lightBluePulse 0.3s ease-out;
}

#website-description {
    width: 100%;
    min-height: 120px;
    padding: 24px 70px 24px 24px;
    font-size: 1.1em;
    border: none; /* Borders are handled by inner-bg */
    border-radius: 18px;
    margin-bottom: 0;
    box-sizing: border-box;
    resize: vertical;
    background-color: transparent; /* Transparent so inner-bg shows */
    color: var(--textarea-text-color);
    transition: min-height 0.3s ease, color 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
}

#website-description::placeholder {
    color: var(--textarea-placeholder-color);
    /* transition: opacity 0.5s ease-in-out; REMOVED - No longer needed for typewriter */
}

/* REMOVED - No longer needed for typewriter placeholder
#website-description.placeholder-fade-out::placeholder {
    opacity: 0;
}

#website-description.placeholder-fade-in::placeholder {
    opacity: 1;
}
*/

/* Custom Scrollbar for WebKit browsers (Chrome, Safari, Edge) */
#website-description::-webkit-scrollbar {
    width: 10px;
    /* Width of the scrollbar */
}

#website-description::-webkit-scrollbar-track {
    background: var(--scrollbar-track-color);
    border-radius: 8px;
}

#website-description::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb-color);
    border-radius: 8px;
    border: 2px solid var(--scrollbar-track-color);
    /* Use track color for border for better blend */
}

#website-description::-webkit-scrollbar-thumb:hover {
    background-color: var(--icon-hover-color);
    /* Consistent hover color */
}

/* Custom Scrollbar for Firefox */
#website-description {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
}


#website-description:focus {
    outline: none;
    box-shadow: none;
    border: none;
    /* Remove min-height expand on focus for cleaner look */
    /* padding-right is handled by default padding */
}

.textarea-submit-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052cc 0%, #0070f3 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 112, 243, 0.3);
}

.textarea-submit-icon:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0060df 0%, #007dfa 100%);
    box-shadow: 0 6px 14px rgba(0, 112, 243, 0.4);
    color: white;
}

.textarea-submit-icon:active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 112, 243, 0.2);
}

/* Style for the main "Build My Website" button */
#build-button {
    padding: 14px 32px;
    font-size: 1.15em;
    background: linear-gradient(135deg, #0052cc 0%, #0070f3 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 112, 243, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: none;
    position: relative;
    overflow: hidden;
}

#build-button::before {
    content: "\2728";
    margin-right: 10px;
    font-size: 1.1em;
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.6));
}

#build-button:hover {
    background: linear-gradient(135deg, #0060df 0%, #007dfa 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 112, 243, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

#build-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 112, 243, 0.2);
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: var(--footer-text-color);
    position: relative;
    width: 100%;
    z-index: 1000;
    /* Footer should be well above particles */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 770px) {
    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1em;
    }

    #website-description {
        font-size: 1em;
        padding-right: 20px;
        /* Default padding on small screens, no icon */
    }

    #website-description:focus {
        padding-right: 70px;
        /* maintain padding for inline icon */
    }

    #build-button {
        font-size: 1em;
        padding: 12px 25px;
        display: none !important;
        /* Deprecated outer button */
    }

    .textarea-submit-icon {
        display: flex !important;
        /* Keep icon visible on small screens */
    }

    body > header {
        padding: 10px 15px;
        /* Further adjust padding for small screens */
        flex-direction: row;
        /* Keep horizontal layout on mobile */
        align-items: center;
        /* Center align items */
        justify-content: space-between;
        /* Space between logo and controls */
        flex-wrap: nowrap;
        /* Prevent wrapping */
    }

    .logo-container {
        margin-bottom: 0;
        /* No bottom margin in horizontal layout */
        flex-shrink: 0;
        /* Prevent logo from shrinking */
    }

    #site-mills-logo {
        height: 30px;
        /* Smaller logo on small screens */
    }

    .header-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        /* Prevent controls from shrinking */
        gap: 8px;
        /* Spacing between controls */
    }

    /* Hide theme switch on mobile when user is logged in */
    .header-controls.user-logged-in .theme-switch-wrapper {
        display: none;
    }

    /* Keep theme switch visible for logged-out users on mobile */
    .header-controls:not(.user-logged-in) .theme-switch-wrapper {
        display: block;
        margin-right: 0;
    }

    .theme-switch-wrapper {
        margin-right: 0;
        /* Remove margin on mobile */
    }

    .login-button {
        padding: 8px 10px;
        /* Adjusted padding for icons only */
        font-size: 13px;
    }

    .login-button .google-icon {
        margin-right: 0;
        /* No margin if text is hidden */
    }

    .login-button .profile-icon {
        display: inline-block;
        /* Show profile icon on small screens */
    }

    .login-button .login-button-text {
        display: none;
        /* Hide text on small screens */
    }
}

/* Styles for larger screens (default, effectively min-width: 769px) */
/* No media query needed as these are the default states overridden by max-width: 768px */
.textarea-submit-icon {
    display: flex; /* we use flex to center icon content */
    /* Show icon in textarea on larger screens */
}

/* #build-button is already display: none by default */

/* Additional dark theme overrides to prevent any white glow or background leakage */
.dark-theme body::before,
.dark-theme body::after,
.dark-theme html::before,
.dark-theme html::after {
    display: none !important;
}

/* Ensure no pseudo-elements create white overlays */
.dark-theme *::before,
.dark-theme *::after {
    background-color: transparent !important;
}

/* Override any potential white backgrounds on major containers */
.dark-theme .container,
.dark-theme .main-container,
.dark-theme .wrapper {
    background: transparent !important;
}

/* ==================== DASHBOARD TOAST NOTIFICATIONS ==================== */

.dashboard-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 90vw;
    pointer-events: none;
}

.dashboard-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dashboard-toast.hiding {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.dashboard-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.dashboard-toast-message {
    line-height: 1.4;
}

/* Error Toast */
.dashboard-toast-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    color: #fff;
    border-left: 4px solid #dc2626;
}

.dashboard-toast-error .dashboard-toast-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Success Toast */
.dashboard-toast-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.95) 100%);
    color: #fff;
    border-left: 4px solid #16a34a;
}

.dashboard-toast-success .dashboard-toast-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Warning Toast */
.dashboard-toast-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
    color: #fff;
    border-left: 4px solid #d97706;
}

.dashboard-toast-warning .dashboard-toast-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Info Toast */
.dashboard-toast-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    color: #fff;
    border-left: 4px solid #2563eb;
}

.dashboard-toast-info .dashboard-toast-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Dark theme adjustments */
.dark-theme .dashboard-toast {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.dark-theme .dashboard-toast-error {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.98) 0%, rgba(153, 27, 27, 0.98) 100%);
    border-left-color: #ef4444;
}

.dark-theme .dashboard-toast-success {
    background: linear-gradient(135deg, rgba(21, 128, 61, 0.98) 0%, rgba(22, 101, 52, 0.98) 100%);
    border-left-color: #22c55e;
}

.dark-theme .dashboard-toast-warning {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.98) 0%, rgba(146, 64, 14, 0.98) 100%);
    border-left-color: #f59e0b;
}

.dark-theme .dashboard-toast-info {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.98) 0%, rgba(30, 64, 175, 0.98) 100%);
    border-left-color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .dashboard-toast {
        bottom: 20px;
        padding: 14px 18px;
        font-size: 13px;
        gap: 10px;
        border-radius: 10px;
    }

    .dashboard-toast-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

/* ==================== END DASHBOARD TOAST NOTIFICATIONS ==================== */
/* Marketing Feature Sections */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    max-width: 1100px;
    margin: 150px auto;
    gap: 80px;
    padding: 0 40px;
    text-align: left;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.feature-section.align-right {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 480px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(0, 112, 243, 0.2);
    color: var(--primary-text-color);
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.dark-theme .feature-badge {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-content h2 {
    font-size: 2.8em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-text-color);
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 1.25em;
    color: var(--secondary-text-color);
    line-height: 1.6;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
}

.feature-section.in-view .feature-visual {
    opacity: 1;
    transform: scale(1);
}

/* UI Card Mockup */
.mock-card {
    width: 100%;
    max-width: 400px;
    background: var(--textarea-bg-color);
    border: 1px solid var(--textarea-border-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-color);
    overflow: hidden;
}

.mock-header {
    background: rgba(125, 125, 125, 0.05);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--textarea-border-color);
}
.mock-header .dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.mock-header .dot.red { background: #ff5f56; }
.mock-header .dot.yellow { background: #ffbd2e; }
.mock-header .dot.green { background: #27c93f; }

.mock-body {
    padding: 24px;
}
.skel-line { height: 12px; background: rgba(125, 125, 125, 0.15); border-radius: 6px; margin-bottom: 12px; }
.skel-line.w-80 { width: 80%; }
.skel-line.w-60 { width: 60%; }
.skel-line.w-40 { width: 40%; }
.skel-box { height: 120px; background: rgba(0, 112, 243, 0.05); border: 1px dashed rgba(0, 112, 243, 0.2); border-radius: 8px; margin: 20px 0; }
.dark-theme .skel-box { background: rgba(50, 145, 255, 0.05); }

/* Chat Mockup */
.mock-chat {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.chat-bubble {
    padding: 16px 20px;
    border-radius: 18px;
    font-size: 1.05em;
    line-height: 1.4;
    box-shadow: 0 6px 16px var(--shadow-color);
}
.chat-bubble.user {
    background: #0070f3;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
    background: var(--textarea-bg-color);
    color: var(--primary-text-color);
    border: 1px solid var(--textarea-border-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.dark-theme .chat-bubble.user { background: #3291ff; }

/* Typing indicator */
.typing-dots { display: flex; gap: 4px; align-items: center; justify-content: center; height: 12px; }
.typing-dots span {
    width: 6px; height: 6px; background: var(--secondary-text-color); border-radius: 50%; opacity: 0.6;
    animation: bounce 1.4s infinite ease-in-out both; 
    color: transparent; overflow: hidden;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Layered Circles Deploy */
.layered-circles {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle {
    position: absolute;
    border-radius: 50%;
}
.circle.c1 { width: 200px; height: 200px; border: 2px dashed rgba(0, 112, 243, 0.3); animation: spinSlow 20s linear infinite; }
.circle.c2 { width: 140px; height: 140px; border: 2px solid rgba(0, 112, 243, 0.15); }
.circle.c-main {
    width: 80px; height: 80px; background: linear-gradient(135deg, #0052cc 0%, #0070f3 100%);
    box-shadow: 0 10px 30px rgba(0, 112, 243, 0.4);
    display: flex; align-items: center; justify-content: center;
    animation: float 4s ease-in-out infinite;
}
@keyframes spinSlow { 100% { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
    .feature-section, .feature-section.align-right {
        flex-direction: column;
        text-align: center;
        margin: 80px auto;
        padding: 0 20px;
        gap: 40px;
    }
    .feature-visual { width: 100%; }
    .chat-bubble.user, .chat-bubble.ai { align-self: center; border-radius: 18px; }
}

@media (max-width: 600px) {
    .feature-content h2 {
        font-size: 2em;
    }
    .feature-content p {
        font-size: 1.1em;
    }
}

.last-feature {
    margin-bottom: 100px;
}

/* AI Node Mockup */
.mock-ai-node {
    position: relative;
    width: 300px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.node {
    background: var(--textarea-bg-color);
    border: 1px solid var(--textarea-border-color);
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--shadow-color);
    z-index: 2;
}
.node.origin { background: rgba(125,125,125,0.05); }
.node.ai-core { background: linear-gradient(135deg, #0052cc 0%, #0070f3 100%); color: white; border-color: rgba(0,112,243,0.5); }
.node.end { position: absolute; right: 0; }
.node.end.top { top: 10px; }
.node.end.bottom { bottom: 10px; }

.node-link {
    flex: 1;
    height: 2px;
    background: rgba(0, 112, 243, 0.4);
    margin: 0 10px;
}
.node-link-split {
    position: absolute;
    right: 80px;
    top: 30px;
    bottom: 30px;
    width: 60px;
    border-top: 2px dashed rgba(0, 112, 243, 0.3);
    border-bottom: 2px dashed rgba(0, 112, 243, 0.3);
    border-left: 2px dashed rgba(0, 112, 243, 0.3);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* Timeline Mockup */
.mock-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 350px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(0, 112, 243, 0.2);
}
.time-block {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}
.time-block::before {
    content: '';
    position: absolute;
    left: -25px;
    width: 8px; height: 8px;
    background: var(--textarea-bg-color);
    border: 2px solid #0070f3;
    border-radius: 50%;
}
.time { font-family: monospace; font-size: 0.9em; color: var(--secondary-text-color); }
.job-pill {
    padding: 8px 16px;
    background: rgba(125,125,125,0.05);
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}
.job-pill.active { background: rgba(0, 112, 243, 0.1); color: #0070f3; border: 1px solid rgba(0, 112, 243, 0.3); }
.dark-theme .job-pill.active { color: #3291ff; }

/* API Mockup */
.mock-api {
    width: 100%;
    max-width: 380px;
    background: #111; /* Always dark for code feel */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    font-family: monospace;
    text-align: left;
}
.api-header {
    background: #222;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.api-method { color: #27c93f; font-weight: bold; }
.api-path { color: #fff; opacity: 0.8; }
.api-status { padding: 12px 16px 0; color: #ffbd2e; }
.api-payload { padding: 8px 16px 16px; color: #a4ceea; }

/* Chart Mockup */
.mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: 320px;
    height: 180px;
    border-bottom: 2px solid var(--textarea-border-color);
    padding-bottom: 10px;
}
.mock-chart .bar {
    flex: 1;
    background: rgba(0, 112, 243, 0.2);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}
.mock-chart .bar.active { background: #0070f3; box-shadow: 0 0 15px rgba(0, 112, 243, 0.4); }
.mock-chart .bar:hover { background: rgba(0, 112, 243, 0.6); }

/* DB Mockup */
.mock-db {
    width: 100%;
    max-width: 400px;
    background: var(--textarea-bg-color);
    border: 1px solid var(--textarea-border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-color);
}
.db-header {
    display: flex;
    background: rgba(125,125,125,0.05);
    padding: 10px 16px;
    font-weight: bold;
    font-size: 0.85em;
    color: var(--secondary-text-color);
}
.db-row {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--textarea-border-color);
    font-size: 0.95em;
}
.col.id, .db-cell.id { width: 80px; color: #0070f3; font-family: monospace; }
.col.string, .db-cell.string { flex: 1; color: var(--primary-text-color); }
.dark-theme .col.id, .dark-theme .db-cell.id { color: #3291ff; }

/* Collab Mockup */
.mock-collab {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(125,125,125,0.02);
    padding: 24px 32px;
    border-radius: 40px;
    border: 1px dashed var(--textarea-border-color);
}
.mock-collab .avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.avatar.ai { background: linear-gradient(135deg, #0052cc 0%, #0070f3 100%); }
.avatar.dev { background: #333; }
.dark-theme .avatar.dev { background: #555; }
.collab-link { width: 40px; height: 2px; background: var(--textarea-border-color); }
.code-bracket { font-size: 2em; font-family: monospace; font-weight: bold; color: #0070f3; }
.dark-theme .code-bracket { color: #3291ff; }


/* Footer */
.site-footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: 80px;
    padding: 60px 20px 30px;
    border-top: 1px solid var(--textarea-border-color);
    background: var(--main-bg-color); /* Match background */
    display: flex;
    justify-content: center;
}

.footer-wrapper {
    width: 100%;
    max-width: 1200px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-text-color) 0%, rgba(128,128,128,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--secondary-text-color);
    line-height: 1.6;
    font-size: 0.95em;
}

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

.link-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-column h4 {
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-text-color);
}

.link-column a {
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.link-column a:hover {
    color: #0070f3;
}
.dark-theme .link-column a:hover {
    color: #3291ff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--textarea-border-color);
    text-align: center;
    color: var(--secondary-text-color);
    font-size: 0.85em;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

/* Home Switch Container */
.home-switch-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255,255,255,0.2);
}

.home-switch-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-switch-btn.active {
    background: #fff;
    color: var(--accent-color-1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body.dark-theme .home-switch-container {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255,255,255,0.05);
}

body.dark-theme .home-switch-btn.active {
    background: var(--accent-color-1);
    color: #fff;
}

/* Home Marketplace Slider */
.home-marketplace-slider {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(14px);
    text-align: left;
}

body.dark-theme .home-marketplace-slider {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.08);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.slider-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-text-color);
}

.maximize-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(66, 133, 244, 0.1);
    color: var(--accent-color-1);
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.maximize-btn:hover {
    background: rgba(66, 133, 244, 0.2);
}

.slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 280px;
    background: var(--card-bg, #fff);
    border: 1px solid var(--textarea-border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark-theme .slider-card {
    background: rgba(255,255,255,0.05);
}

.slider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.slider-card h4 {
    margin: 0;
    font-size: 16px;
    color: var(--primary-text-color);
}

.slider-card p {
    margin: 0;
    font-size: 13px;
    color: var(--secondary-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-card-preview {
    height: 120px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}
.slider-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-card {
    height: 220px;
    background: rgba(255,255,255,0.4);
}
