@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    height: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    position: relative;
}

:root {
    /* Dark Theme (Default) */
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.7);
    --accent-primary: #ff4500;
    --accent-secondary: #ff0000;
    --border-color: #2a2a2a;
    --crack-color: rgba(255, 69, 0, 0.5);
    --cursor-color: #ff4500;
}

/* Light Theme */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e0e0e0;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.8);
    --text-tertiary: rgba(0, 0, 0, 0.7);
    --accent-primary: #ff4500;
    --accent-secondary: #ff0000;
    --border-color: #e0e0e0;
    --crack-color: rgba(255, 69, 0, 0.4);
    --cursor-color: #ff4500;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    min-height: 100vh;
}

/* Subtle seismic texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 69, 0, 0.05), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(255, 0, 0, 0.04), transparent 28%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 69, 0, 0.03) 0px,
            rgba(255, 69, 0, 0.03) 2px,
            transparent 2px,
            transparent 38px
        );
    opacity: 0.6;
    mix-blend-mode: soft-light;
    z-index: 0;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border: none;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--accent-primary);
}

.toggle-icon {
    font-size: 1.8rem;
    color: var(--bg-primary);
}

body.light-theme .toggle-icon::before {
    content: '🌙';
}

body:not(.light-theme) .toggle-icon::before {
    content: '☀';
}

/* Language Panel */
.language-panel {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 10000;
    font-family: inherit;
}

.language-panel summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(120deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 14px 18px;
    border-radius: 14px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 2px solid var(--bg-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-panel[open] summary {
    transform: translateY(2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.language-panel summary::-webkit-details-marker {
    display: none;
}

.lang-trigger-icon {
    font-size: 1.2rem;
}

.language-list {
    margin-top: 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    min-width: 240px;
    max-height: 60vh;
    overflow-y: auto;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
    opacity: 0.9;
}

.language-option:hover {
    background: var(--bg-tertiary);
    transform: translateX(3px);
    opacity: 1;
}

.language-option .language-flag {
    font-size: 1.1rem;
}

.language-option.active {
    border: 1px solid var(--accent-primary);
    background: rgba(255, 69, 0, 0.08);
    opacity: 1;
}

/* Cursor Ripple */
.cursor-ripple {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--cursor-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.3s;
}

.cursor-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--cursor-color);
    border-radius: 50%;
    transition: background 0.3s;
}

.cursor-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    pointer-events: none;
    z-index: 10001;
    opacity: 0.8;
    filter: blur(0.2px);
    animation: particleFade 0.6s ease-out forwards;
}

@keyframes particleFade {
    0% { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(1); opacity: 0.8; }
    100% { transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(0.2); opacity: 0; }
}

/* Hero: The Crack */
.hero-crack {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

#crackCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
}

.glitch {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    position: relative;
    text-shadow:
        3px 3px 0 var(--accent-primary),
        -2px -2px 0 var(--accent-secondary);
    animation: glitch 3s infinite;
    transition: color 0.3s;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-before 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    text-shadow: -2px 0 var(--accent-secondary);
}

.glitch::after {
    animation: glitch-after 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    text-shadow: 2px 0 var(--accent-primary);
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    91% { transform: translate(-2px, 2px); }
    92% { transform: translate(2px, -2px); }
    93% { transform: translate(-1px, 1px); }
}

@keyframes glitch-before {
    0%, 95%, 100% { transform: translate(0); }
    96% { transform: translate(-5px, 0); }
}

@keyframes glitch-after {
    0%, 94%, 100% { transform: translate(0); }
    95% { transform: translate(5px, 0); }
}

/* Impact Stats */
.impact-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px 0 40px;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 0.9;
    transition: color 0.3s;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-top: 10px;
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.divider {
    width: 2px;
    height: 80px;
    background: var(--text-primary);
    opacity: 0.3;
    transition: background 0.3s;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s;
}

/* CTA Crack */
.cta-crack {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    position: relative;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 20px 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.cta-crack:hover {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(255, 69, 0, 0.5);
    animation: tremor 0.25s linear infinite;
}

.cta-crack::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -9px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    clip-path: polygon(0 100%, 10% 0, 22% 100%, 36% 0, 50% 100%, 64% 0, 78% 100%, 90% 0, 100% 100%, 100% 100%);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-crack:hover::after {
    opacity: 1;
    transform: translateY(2px);
}

.cta-arrow {
    font-size: 2rem;
    line-height: 1;
}

.scroll-crack {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    opacity: 0.5;
    animation: bounce 2s infinite;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s;
}

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

@keyframes tremor {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(1px, -1px) rotate(-0.4deg); }
    50% { transform: translate(-1px, 1px) rotate(0.4deg); }
    75% { transform: translate(1px, 1px) rotate(-0.3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.vibrate {
    animation: snap 0.18s linear;
}

@keyframes snap {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(0, 0); }
}

/* Features: Brutal Grid */
.features-brutal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--bg-primary);
    padding: 0;
    transition: background 0.3s;
    overflow: hidden;
}

.feature-large,
.feature-small,
.feature-wide {
    background: var(--bg-secondary);
    padding: 60px 40px;
    position: relative;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    transition: background 0.3s;
}

.feature-large {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-small {
    grid-column: span 1;
}

.feature-wide {
    grid-column: span 4;
    text-align: center;
    padding: 80px 40px;
}

.feature-dark {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transition: background 0.3s, color 0.3s;
}

.feature-large:hover,
.feature-small:hover {
    background: var(--bg-tertiary);
}

.feature-num {
    font-size: 6rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
    transition: color 0.3s;
}

.feature-large h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.9;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s;
}

.feature-small h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s;
}

.feature-tag {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 5px 15px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    transition: background 0.3s, color 0.3s;
}

.feature-large p,
.feature-small p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s;
}

.feature-img {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 400px;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transform: rotate(15deg);
}

.langs {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.langs .dot {
    color: var(--accent-primary);
    margin: 0 20px;
    transition: color 0.3s;
}

.feature-wide h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: var(--text-primary);
    transition: color 0.3s;
}

/* Screenshots */
.screens-section {
    padding: 100px 20px;
    background: var(--bg-primary);
    transition: background 0.3s;
}

.screens-section img {
    background: none !important;
    background-color: transparent !important;
    backdrop-filter: none;
}

.section-brutal-title {
    font-size: clamp(3rem, 8vw, 6rem);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    transition: color 0.3s;
    position: relative;
    display: inline-block;
}

.section-brutal-title:hover {
    animation: tremor 0.25s linear infinite;
}

.section-brutal-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -18px;
    width: min(220px, 60vw);
    height: 7px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    clip-path: polygon(0 100%, 12% 0, 24% 100%, 36% 0, 50% 100%, 64% 0, 78% 100%, 90% 0, 100% 100%);
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-brutal-title:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
}

.screens-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    background: transparent !important;
}

.screens-carousel::-webkit-scrollbar {
    display: none;
}

.screens-carousel img {
    height: 500px;
    width: auto;
    scroll-snap-align: center;
    transition: transform 0.3s;
    box-shadow: none;
    display: block;
    background: transparent !important;
    background-color: transparent !important;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.screens-carousel img:hover {
    transform: scale(1.05);
}

/* Support */
.support-brutal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--accent-primary);
    color: var(--bg-primary);
    transition: background 0.3s, color 0.3s;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

.support-content {
    padding: 100px 80px;
    max-width: 100%;
    box-sizing: border-box;
}

.support-content h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.9;
    margin-bottom: 30px;
    color: var(--bg-primary);
    transition: color 0.3s;
}

.support-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.8;
    color: var(--bg-primary);
    transition: color 0.3s;
}

.support-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary), #0f0f0f);
    border: 2px solid rgba(255, 69, 0, 0.2);
    color: var(--text-primary);
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: transform 0.2s, background 0.3s, color 0.3s, box-shadow 0.2s;
}

.support-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.35), 0 0 35px rgba(255, 69, 0, 0.35);
    animation: tremor 0.25s linear infinite;
}

.support-cta::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -9px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    clip-path: polygon(0 100%, 10% 0, 22% 100%, 36% 0, 50% 100%, 64% 0, 78% 100%, 90% 0, 100% 100%, 100% 100%);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.support-cta:hover::after {
    opacity: 1;
    transform: translateY(2px);
}

.arrow-big {
    font-size: 2rem;
}

.support-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    transition: background 0.3s;
    overflow: hidden;
    max-width: 100%;
}

.support-visual img {
    width: 200px;
    height: 200px;
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    width: min(300px, 70vw);
    height: min(300px, 70vw);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    transition: border-color 0.3s;
}

.pulse-ring::before,
.pulse-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
}

.pulse-ring::before {
    width: min(400px, 80vw);
    height: min(400px, 80vw);
    animation: pulse 2s 0.5s infinite;
}

.pulse-ring::after {
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    animation: pulse 2s 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Footer - Redesigned */
.footer-brutal {
    background: var(--bg-primary);
    border-top: 3px solid var(--border-color);
    padding: 80px 60px 40px;
    transition: background 0.3s, border-color 0.3s;
}

/* Footer Grid Layout */
.footer-brutal {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
        "left center right"
        "bottom bottom bottom";
    gap: 40px 60px;
    align-items: center;
}

.footer-left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.footer-left img {
    width: 40px;
    height: 40px;
}

.footer-left span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    transition: color 0.3s;
    line-height: 1;
}

.footer-links {
    grid-area: center;
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
    line-height: 1;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-credit {
    grid-area: right;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-self: end;
    align-self: center;
}

.footer-credit p {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.6;
    transition: color 0.3s, opacity 0.3s;
    line-height: 1.4;
}

.footer-credit a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-credit a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .footer-credit {
    text-align: left;
    justify-self: start;
}

.rtl .footer-links {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 1024px) {
    .language-panel {
        top: 20px;
        left: 20px;
    }

    .features-brutal {
        grid-template-columns: 1fr 1fr;
    }

    .feature-large {
        grid-column: span 2;
    }

    .feature-small {
        grid-column: span 1;
    }

    .feature-wide {
        grid-column: span 2;
    }

    .support-brutal {
        grid-template-columns: 1fr;
    }

    .support-visual {
        padding: 100px;
    }

    .footer-brutal {
        grid-template-columns: 1fr;
        grid-template-areas:
            "left"
            "center"
            "right";
        padding: 60px 40px 40px;
        gap: 40px;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-links {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-credit {
        text-align: center;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-ripple {
        display: none;
    }

    .language-panel {
        top: 18px;
        left: 18px;
    }

    .features-brutal {
        grid-template-columns: 1fr;
    }

    .feature-large,
    .feature-small,
    .feature-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        padding: 40px 30px;
    }

    .impact-stats {
        flex-direction: column;
        gap: 20px;
    }

    .divider {
        width: 80px;
        height: 2px;
    }

    .support-content {
        padding: 60px 30px;
    }

    .footer-brutal {
        padding: 50px 30px 30px;
        gap: 35px;
    }

    .footer-left img {
        width: 42px;
        height: 42px;
    }

    .footer-left span {
        font-size: 1.15rem;
    }

    .footer-links {
        gap: 25px;
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    .footer-credit p {
        font-size: 0.9rem;
    }

    .screens-carousel img {
        height: 400px;
    }

    .theme-toggle {
        position: fixed !important;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .support-visual {
        padding: 60px 30px;
    }

    .support-visual img {
        width: 120px;
        height: 120px;
    }

    .pulse-ring {
        width: 200px !important;
        height: 200px !important;
    }

    .pulse-ring::before {
        width: 280px !important;
        height: 280px !important;
    }

    .pulse-ring::after {
        width: 360px !important;
        height: 360px !important;
    }
}

@media (max-width: 480px) {
    .cta-crack {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .screens-carousel img {
        height: 350px;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .toggle-icon {
        font-size: 1.5rem;
    }

    .support-visual img {
        width: 100px;
        height: 100px;
    }

    .pulse-ring {
        width: 180px !important;
        height: 180px !important;
    }

    .pulse-ring::before {
        width: 240px !important;
        height: 240px !important;
    }

    .pulse-ring::after {
        width: 300px !important;
        height: 300px !important;
    }

    .footer-brutal {
        padding: 40px 20px 25px;
        gap: 30px;
    }

    .footer-left img {
        width: 38px;
        height: 38px;
    }

    .footer-left span {
        font-size: 1.05rem;
    }

    .footer-links {
        gap: 20px;
        flex-direction: column;
    }

    .footer-links a {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .footer-credit p {
        font-size: 0.85rem;
    }
}

/* Emergency Layout Fixes */

/* Force no extra space */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Prevent body from extending */
body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* Ensure sections don't overflow */
section {
    position: relative;
    overflow-x: hidden;
}

/* Canvas absolute positioning fix */
#crackCanvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    pointer-events: none !important;
}

/* Footer as final element */
.footer-brutal {
    clear: both;
    overflow: hidden;
    display: grid;
}

/* Remove any phantom spacing */
img {
    display: block;
    max-width: 100%;
    background: none;
}

/* Fix for mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    .hero-crack {
        min-height: 100vh;
        max-height: 100vh;
    }
}
