:root {
    --bg-color: #0a1433;  /* Dark night sky */
    --text-color: #ffffff;
    --primary-color: #4f9cff;
    --secondary-color: #9d4edd;
    --accent-color: #ff6b6b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --star-color: #ffffff;
    --star-glow: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] {
    --bg-color: #4a90e2;  /* Bright day sky blue */
    --text-color: #ffffff;
    --primary-color: #1a237e;
    --secondary-color: #ba68c8;
    --accent-color: #ff8a80;
    --card-bg: rgba(255, 255, 255, 0.2);
    --card-border: rgba(255, 255, 255, 0.3);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] body {
    background: linear-gradient(to bottom, #0a1433 0%, #1a237e 100%);
}

[data-theme="light"] body {
    background: linear-gradient(to bottom, #4a90e2 0%, #87ceeb 100%);
}

.hero {
    flex: 1;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(1px 1px at 40px 60px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 120px 90px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 200px 150px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 300px 250px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 400px 350px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 500px 100px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 200px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 300px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 250px 400px, var(--star-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 350px 500px, var(--star-color), rgba(0,0,0,0));
    background-repeat: repeat;
    animation: twinkle 4s ease-in-out infinite;
    z-index: -1;
    will-change: transform;
    backface-visibility: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    mix-blend-mode: difference;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero h1::after {
    display: none;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    text-align: center;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
}

.algorithms {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: stretch;
}

.algorithm-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    height: 100%;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: cardEntrance 0.5s ease forwards;
    contain: content;
}

.algorithm-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.algorithm-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.algorithm-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: translateY(0);
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.features {
    padding: 4rem 2rem;
    text-align: center;
}

.features h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

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

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    from { opacity: 0.95; }
    to { opacity: 1; }
}

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

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .algorithms {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .algorithm-card {
        width: 90%;
        max-width: 320px;
        padding: 2rem;
    }

    .algorithm-card h3 {
        font-size: 1.5rem;
    }

    .algorithm-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 28px;
        font-size: 1rem;
        min-width: 160px;
    }
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Enhanced planet styles */
.saturn {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 5%;
    left: 3%;
    background: url('/resources/saturn.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    animation: floatPlanet 6s ease-in-out infinite;
}

/* Add floating animation for Saturn */
@keyframes floatPlanet {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Update theme-specific visibility */
[data-theme="light"] .saturn {
    display: none;
}

/* Cloud styles for light theme */
.cloud {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: overlay;
}

[data-theme="light"] .cloud {
    opacity: 0.9;
    backdrop-filter: brightness(1.2);
}

[data-theme="light"] .shooting-star,
[data-theme="light"] .asteroid,
[data-theme="light"] .orbit {
    display: none;
}

[data-theme="light"] .hero h1 {
    mix-blend-mode: multiply;
}

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

/* Update moon and sun styles for images */
.moon {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 8%;
    right: 3%;
    background: url('/resources/moon.png') no-repeat center center;
    background-size: contain;
    animation: moonFloat 4s ease-in-out infinite;
}

[data-theme="light"] .moon {
    display: none;
}

.sun {
    position: absolute;
    width: 240px;
    height: 240px;
    top: 8%;
    right: 3%;
    background: url('/resources/sun.png') no-repeat center center;
    background-size: contain;
    display: none;
    animation: sunRotate 20s linear infinite;
}

[data-theme="light"] .sun {
    display: block;
}

/* Enhanced star styles */
.star {
    position: absolute;
    background: var(--star-color);
    border-radius: 50%;
    box-shadow: 0 0 3px var(--star-glow);
    animation: twinkle-star 4s ease-in-out infinite;
}

@keyframes twinkle-star {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Enhanced cloud styles */
.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud::before {
    width: 60%;
    height: 100%;
    top: -50%;
    left: 20%;
}

.cloud::after {
    width: 40%;
    height: 80%;
    top: -30%;
    right: 20%;
}

[data-theme="light"] .cloud {
    opacity: 0.8;
    animation: floatCloud 20s linear infinite;
}

[data-theme="light"] .moon,
[data-theme="light"] .star {
    display: none;
}

[data-theme="dark"] .cloud {
    display: none;
}

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

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

@keyframes floatCloud {
    0% { 
        transform: translateX(-100%) translateY(0); 
    }
    50% { 
        transform: translateX(50vw) translateY(-20px);
    }
    100% { 
        transform: translateX(100vw) translateY(0);
    }
}

/* Update footer styles to be more integrated */
.footer {
    padding: 2rem;
    text-align: center;
    background: transparent;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 25px;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.copyright {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Remove any backdrop filters */
.footer::before {
    display: none;
}

/* Theme-specific footer styles */
[data-theme="light"] .footer {
    color: #000000;
}

[data-theme="light"] .social-link {
    color: #000000;
}

[data-theme="light"] .copyright {
    color: #000000;
}

[data-theme="dark"] .footer {
    color: #ffffff;
}

/* Cloud container */
.clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Individual cloud styles */
.cloud {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cloud-1 {
    width: 180px;
    top: 15%;
    animation: floatCloud 30s linear infinite;
}

.cloud-2 {
    width: 140px;
    top: 40%;
    right: 20%;
    animation: floatCloud 25s linear infinite 8s;
}

.cloud-3 {
    width: 160px;
    top: 25%;
    right: 40%;
    animation: floatCloud 35s linear infinite 15s;
}

.cloud-4 {
    width: 120px;
    top: 55%;
    right: 60%;
    animation: floatCloud 28s linear infinite 20s;
}

/* Show clouds only in light theme */
[data-theme="light"] .cloud {
    opacity: 0.8;
}

@keyframes floatCloud {
    0% { 
        transform: translateX(-100%) translateY(0); 
    }
    50% { 
        transform: translateX(50vw) translateY(-20px);
    }
    100% { 
        transform: translateX(100vw) translateY(0);
    }
}

/* Add slight vertical movement for more natural feel */
.cloud-1 { animation-timing-function: ease-in-out; }
.cloud-2 { animation-timing-function: ease-out; }
.cloud-3 { animation-timing-function: linear; }
.cloud-4 { animation-timing-function: ease-in; }

/* Adjust cloud sizes for different screen sizes */
@media (max-width: 768px) {
    .cloud-1 { width: 140px; }
    .cloud-2 { width: 100px; }
    .cloud-3 { width: 120px; }
    .cloud-4 { width: 90px; }
}

/* Add a subtle glow effect to enhance visibility */
.hero h1 {
    filter: drop-shadow(0 0 10px rgba(var(--primary-color), 0.3));
}

/* Hide planet in light theme */
[data-theme="light"] .saturn {
    display: none;
}

/* Update tree and space shuttle styles */
.tree, .space-shuttle {
    position: fixed;
    bottom: -70px;
    left: -50px;
    width: 450px;
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.tree {
    background-image: url('/resources/tree.png');
    background-position: bottom center;
    opacity: 0;
}

.space-shuttle {
    background-image: url('/resources/space-shuttle.png');
    position: fixed;
    bottom: -80px;
    left: -30px;
    width: 450px;
    height: 600px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transform: rotate(-45deg);
    animation: hover 4s ease-in-out infinite;
    z-index: 1;
}

/* Theme-specific visibility */
[data-theme="light"] .tree {
    opacity: 1;
}

[data-theme="light"] .space-shuttle {
    opacity: 0;
}

[data-theme="dark"] .tree {
    opacity: 0;
}

[data-theme="dark"] .space-shuttle {
    opacity: 1;
}

/* Update hover animation to maintain diagonal position */
@keyframes hover {
    0%, 100% { 
        transform: translateY(0) rotate(-45deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(-45deg); 
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tree{
        width: 200px;
        height: 300px;
        left: -25px;
        bottom: -30px;
    }
    .space-shuttle {
        width: 200px;
        height: 300px;
        left: 10px;
        bottom: 10px;
    }
}

/* Enhanced responsive styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .algorithms {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .algorithm-card {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }

    .saturn {
        width: 150px;
        height: 150px;
        top: 2%;
        left: 1%;
    }

    .moon, .sun {
        width: 100px;
        height: 100px;
        top: 5%;
        right: 5%;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Tablet-specific adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .algorithms {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .algorithm-card {
        width: calc(50% - 1.5rem);
        min-width: 250px;
    }

    .saturn {
        width: 200px;
        height: 200px;
    }
}

/* Landscape mode adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 1rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .algorithms {
        margin-top: 1rem;
    }

    .algorithm-card {
        padding: 1rem;
    }

    .tree, .space-shuttle {
        display: none;
    }
}

/* Large screen optimizations */
@media (min-width: 1440px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.4rem;
        max-width: 1000px;
    }

    .algorithms {
        gap: 3rem;
    }

    .algorithm-card {
        width: 350px;
        padding: 2.5rem;
    }
}

/* Print styles */
@media print {
    .theme-toggle,
    .saturn,
    .moon,
    .sun,
    .clouds,
    .tree,
    .space-shuttle,
    .star {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero h1 {
        color: black !important;
        -webkit-text-fill-color: black !important;
        text-shadow: none !important;
    }

    .algorithm-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Enhanced Device-Specific Media Queries */

/* Small phones (320px and up) */
@media (min-width: 320px) and (max-width: 374px) {
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .algorithm-card {
        padding: 1rem;
        width: 90%;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }
}

/* Medium phones (375px to 424px) */
@media (min-width: 375px) and (max-width: 424px) {
    .hero h1 {
        font-size: 2rem;
    }

    .algorithm-card {
        width: 85%;
    }
}

/* Large phones (425px to 767px) */
@media (min-width: 425px) and (max-width: 767px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .algorithm-card {
        width: 80%;
    }
}

/* Tablets - Portrait (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .algorithms {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .algorithm-card {
        width: 100%;
    }
}

/* Tablets - Landscape and Small Laptops (1024px to 1365px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .algorithms {
        gap: 2rem;
    }

    .algorithm-card {
        width: 320px;
    }
}

/* Device Orientation Specific */
@media (orientation: landscape) and (max-height: 600px) {
    .hero {
        padding: 1rem 2rem;
    }

    .algorithms {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .algorithm-card {
        padding: 1rem;
    }

    /* Hide decorative elements in landscape to focus on content */
    .saturn, .moon, .sun, .tree, .space-shuttle {
        display: none;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .algorithm-card {
        transform: none !important;
    }

    .btn {
        padding: 12px 24px; /* Larger touch target */
    }

    .theme-toggle {
        padding: 12px;
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero h1 {
        text-shadow: 0 0 1px rgba(var(--primary-color), 0.3);
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero::before,
    .star,
    .cloud {
        animation: none !important;
    }

    .algorithm-card,
    .btn::after {
        transition: none;
        animation: none;
    }
}

/* Dark Mode Preference */
@media (prefers-color-scheme: dark) {
    [data-theme="light"] {
        /* Softer transitions for system dark mode */
        --bg-color: #345995;
        --text-color: #f0f0f0;
    }
}

/* Larger Screens and 4K Displays */
@media (min-width: 1920px) {
    .hero {
        max-width: 1800px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero p {
        font-size: 1.6rem;
        max-width: 1200px;
    }

    .algorithms {
        gap: 4rem;
    }

    .algorithm-card {
        width: 400px;
        padding: 3rem;
    }
}

/* Accessibility Improvements */
@media screen and (forced-colors: active) {
    .btn,
    .algorithm-card,
    .theme-toggle {
        border: 2px solid currentColor;
    }

    .hero h1 {
        -webkit-text-fill-color: currentColor;
    }
}

/* Print Optimization */
@media print {
    .hero {
        padding: 1cm;
    }

    .algorithm-card {
        page-break-inside: avoid;
        border: 1px solid #000;
    }

    .hero h1 {
        font-size: 24pt;
    }

    .hero p {
        font-size: 12pt;
    }
}

/* Update the cursor trail styles */
.cursor-trail {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
}

[data-theme="dark"] .cursor-trail {
    background: radial-gradient(circle, rgba(79, 156, 255, 1) 0%, rgba(157, 78, 221, 0) 80%);
    box-shadow: 
        0 0 15px rgba(79, 156, 255, 0.8),
        0 0 30px rgba(157, 78, 221, 0.6);
    filter: brightness(1.5) contrast(1.2);
}

[data-theme="light"] .cursor-trail {
    background: radial-gradient(circle, rgba(79, 156, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
    box-shadow: 
        0 0 15px rgba(79, 156, 255, 0.8),
        0 0 30px rgba(157, 78, 221, 0.6);
    filter: brightness(1.2) contrast(1.3);
    mix-blend-mode: multiply;
}

/* Remove custom cursor styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* cursor: none; */
}

/* Remove these specific cursor styles */
.custom-cursor,
.cursor-ring, 
.cursor-dot {
    display: none;
}

/* Keep particle styles for trail effect */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

[data-theme="dark"] .particle {
    background: linear-gradient(45deg, #4f9cff, #9d4edd);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

[data-theme="light"] .particle {
    background: linear-gradient(45deg, #1a237e, #ba68c8);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes particleFade {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}
