:root {
    --bg-dark: #09090b;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --accent-glow: #3b82f6;
    --accent-glow-2: #8b5cf6;
    --accent-glow-3: #ec4899;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-blur: 16px;
    
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html[data-theme="light"] {
    --bg-dark: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-glow: #3b82f6; 
    --accent-glow-2: #a855f7;
    --accent-glow-3: #f43f5e;
    
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-glow-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


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

html {
    -webkit-user-select: none;
    user-select: none;
}
[contenteditable="true"], input, textarea {
    -webkit-user-select: auto;
    user-select: auto;
    outline: none !important;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    scroll-behavior: smooth;
    cursor: none !important;
}

/* --- The Ethereal Mesh Background (Pure CSS) --- */
.bg-drift-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -10;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Glassmorphism Mesh Gradients (Matte Version) */
.bg-drift-container::before,
.bg-drift-container::after,
.bg-mesh-extra {
    content: '';
    position: absolute;
    width: 90vmax; height: 90vmax;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.06;
    will-change: transform;
    pointer-events: none;
    contain: strict;
}

.bg-drift-container::before {
    background: radial-gradient(circle, var(--accent-glow-2) 0%, transparent 60%);
    top: -20%; left: -20%;
    animation: driftRotate 40s infinite alternate;
}

.bg-drift-container::after {
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    bottom: -20%; right: -20%;
    animation: driftRotate 50s infinite alternate-reverse;
}

.bg-mesh-extra {
    background: radial-gradient(circle, var(--accent-glow-3) 0%, transparent 60%);
    top: 30%; left: 30%;
    width: 70vmax; height: 70vmax;
    animation: driftRotate 60s infinite linear;
    opacity: 0.04;
}

/* Grainy Texture Overlay for Premium Feel */
.bg-grain-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -9;
    opacity: 0.03;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    contain: strict;
}

/* Dynamic Project Mirage (Mix) */
.bg-mirage-layer {
    position: absolute;
    width: 60vmax; height: 60vmax;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    mix-blend-mode: overlay;
    filter: blur(20px);
    pointer-events: none;
    will-change: transform;
    border-radius: 50%; /* Make them organic blobs */
}

@keyframes mirageDrift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(10%, -10%) scale(1.1) rotate(10deg); }
    66% { transform: translate(-5%, 15%) scale(0.9) rotate(-10deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

@keyframes driftRotate {
    0% { transform: translate(-10%, -10%) rotate(0deg) scale(1); }
    50% { transform: translate(10%, 10%) rotate(180deg) scale(1.2); }
    100% { transform: translate(-10%, -10%) rotate(360deg) scale(1); }
}

#custom-cursor, #helper-cursor {
    will-change: transform;
}

/* Custom Cursor (SVG Arrow + Circle Overlay) */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 30px; height: 30px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 3L18 12L11 14L8 21L4.5 3Z' fill='white' stroke='rgba(0,0,0,0.5)' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    pointer-events: none;
    z-index: 999999;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s, border-radius 0.3s;
}

#custom-cursor.pointer {
    width: 50px;
    height: 50px;
    border-color: var(--accent-glow-2);
    border-width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    animation: cursorPulse 1.5s infinite;
}

@keyframes cursorPulse {
    0%, 100% { scale: 1; opacity: 0.8; }
    50% { scale: 1.1; opacity: 1; }
}

#custom-cursor.grabbing {
    width: 25px;
    height: 25px;
    border-radius: 4px;
    background-color: var(--accent-glow-3);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 3v8h2V3h-2zm4 0v8h2V3h-2zM5 7v4h2V7H5zm14 0v4h-2V7h2zM3 13h18v2H3v-2zm2 4h14v2H5v-2zm2 4h10v2H7v-2z' fill='white' stroke='rgba(0,0,0,0.5)' stroke-width='0.5'/%3E%3C/svg%3E");
    border: none;
}

/* Helper Bot Cursor */
#helper-cursor {
    position: fixed;
    top: 0; left: 0; /* Reset to 0 so mouse translates exactly using screen coords */
    margin-top: -2px; margin-left: -5px; /* Tiny offset to point tip center at target */
    width: 32px; height: 32px;
    pointer-events: none;
    z-index: 99999;
    opacity: 1;
    transform: translate(0, 0);
    will-change: transform;
}

#helper-cursor svg {
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8));
    transition: transform 0.1s;
}

#helper-cursor.clicking svg {
    transform: scale(0.8);
}


/* All interactive elements */
[data-interactable="true"] {
    touch-action: none !important;
    cursor: none !important;
    position: relative;
}

[data-interactable="true"] * {
    pointer-events: auto;
}

/* Texture Noise */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9990;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.15;
    contain: strict;
}

/* 2. AMBIENT GLOWING ORBS */
.ambient-wrapper {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    overflow: hidden; z-index: -1; pointer-events: none;
    contain: strict;
}
.ambient-orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.2; transform: translate(-50%, -50%);
    contain: strict;
}
.orb-1 { width: 40vw; height: 40vw; background: var(--accent-glow); top: 20%; left: 80%; }
.orb-2 { width: 50vw; height: 50vw; background: var(--accent-glow-2); top: 80%; left: 20%; }
.orb-3 { width: 30vw; height: 30vw; background: var(--accent-glow-3); top: 50%; left: 50%; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* Layout Elements */
.navbar {
    position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1200px; padding: 1rem 2rem; border-radius: 100px;
    display: flex; justify-content: space-between; align-items: center; z-index: 10000;
}

/* Mobile Premium Layout (Bottom Bubble + Hamburger Menu) */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: auto;
        bottom: 1rem;
        width: 95%;
        height: 60px;
        padding: 0 1.5rem;
        border-radius: 20px;
        background: var(--glass-bg);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 10001;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-left { 
        display: flex; 
        align-items: center;
        position: static;
        transform: none;
    }
    
    #mobile-menu-btn { 
        display: flex !important; 
        position: static;
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-right {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100dvh;
        background: rgba(5, 5, 5, 0.8);
        backdrop-filter: blur(20px) saturate(150%);
        -webkit-backdrop-filter: blur(20px) saturate(150%);
        border: none;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease, transform 0.4s ease;
        z-index: 10000;
        transform: translateY(20px) scale(0.98);
    }
    
    html[data-theme="light"] .nav-right {
        background: rgba(240, 240, 240, 0.95);
    }
    
    .nav-right.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav-link { font-size: 1.2rem !important; }
    .glass-btn { padding: 0.8rem !important; }
    .lang-selector { margin-left: 0 !important; margin-top: 1rem; }
    
    .hero { padding: 4rem 5vw 4rem; }
    .hero-title { font-size: 3.5rem !important; }
    .statement-text { font-size: 1.8rem !important; }
    
    .contact { padding: 4rem 5vw !important; }
    .contact-form-wrapper { padding: 1.5rem !important; min-width: auto !important; }
    .contact-info { padding-top: 1rem !important; min-width: auto !important; }
    .contact-info h2 { font-size: 2.2rem !important; }
    
    .footer { padding: 4rem 5vw 6rem; }
    .footer-title { font-size: 3rem !important; margin-bottom: 2rem; }
    .footer-links { 
        flex-direction: column !important; 
        padding: 2rem 1.5rem !important; 
        border-radius: 30px !important; 
        gap: 2rem !important; 
        text-align: center; 
    }
    .main-link { font-size: 1.5rem !important; word-break: break-all; }
    .social-links { gap: 1.5rem !important; flex-wrap: wrap !important; justify-content: center !important; flex-direction: column; align-items: center; }
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.accent-dot { color: var(--accent-glow-2); }
.nav-right { display: flex; gap: 2rem; align-items: center; }
.nav-link { color: var(--text-primary); text-decoration: none; font-weight: 500; }
.cmd-btn {
    padding: 0.6rem 1rem; border-radius: 30px; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    color: var(--text-primary); font-size: 0.85rem; font-weight: 500; cursor: none;
    border: none;
}
.glass-btn {
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
#theme-btn {
    width: 40px; height: 40px; padding: 0; border-radius: 50%;
}

.hero { 
    height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; 
    transform-origin: center top;
}

/* Binary Trailer Particles */
.binary-particle {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 999998;
    color: #0a0a0a;
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 16px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform, opacity;
    contain: layout style;
}

html[data-theme="dark"] .binary-particle {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Lime Glow Variant (both themes) */
.binary-particle.glow-lime {
    color: #15803d;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

html[data-theme="dark"] .binary-particle.glow-lime {
    color: #4ade80;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.8), 0 0 24px rgba(74, 222, 128, 0.3);
}
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 2rem; z-index: 10; }
.hero-badge {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px; border-radius: 30px; font-size: 0.8rem; text-transform: uppercase;
}
.hero-title {
    font-size: clamp(3rem, 10vw, 8rem); line-height: 1.1; text-align: center; font-weight: 800; letter-spacing: -0.04em;
    font-family: var(--font-display); 
}
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent-glow-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.editable-title {
    outline: none;
    border-bottom: 2px dashed rgba(255,255,255,0.2);
    padding-bottom: 5px;
    min-width: 300px;
}
.editable-title:focus {
    border-bottom-color: var(--accent-glow-2);
}
.hint-badge {
    position: absolute;
    top: -10px;
    right: -40px;
    background: var(--accent-glow-2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: rotate(5deg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    pointer-events: auto;
    z-index: 20;
    animation: floatingText 3s ease-in-out infinite;
}
@keyframes floatingText {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(8deg); }
}
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-family: var(--font-display);
}
.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-decoration: none;
}


.drag-element {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
    padding: 1.2rem 2.5rem; border-radius: 50px; display: flex; align-items: center; gap: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); backdrop-filter: blur(20px);
}

.statement { padding: 10rem 10vw; }
.statement-grid { display: flex; gap: 4rem; }
.statement-sidebar { display: flex; flex-direction: column; gap: 2rem; width: 200px; }
.vertical-line { width: 1px; height: 100px; background: linear-gradient(to bottom, var(--accent-glow-2), transparent); }
.statement-label { font-size: 0.85rem; color: var(--accent-glow-2); font-weight: 600; }
.statement-text { font-size: clamp(2rem, 5vw, 4rem); font-family: var(--font-display); line-height: 1.2; color: var(--text-secondary); }
.highlight-glowing { color: var(--text-primary); text-shadow: 0 0 30px rgba(255,255,255,0.4); }

.works { padding: 6rem 10vw; }
.works-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6rem; }
.works-header h2 { font-size: 3.5rem; font-family: var(--font-display); }
.btn-circular {
    width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
}
.projects-grid { display: flex; flex-direction: column; gap: 8rem; }

/* 1+3 Complex Layout */
.project-complex-row {
    display: grid;
    grid-template-columns: 1fr 200px 300px;
    gap: 2rem;
    align-items: start;
}

.project-main-image {
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-main-image:hover {
    transform: scale(1.02);
}

.img-square, .img-fill, .project-img-url {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.4s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: none !important;
}

.is-swapping {
    opacity: 0.2;
    transform: scale(0.95);
}

.project-mini-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-square {
    height: 154px; /* (500 - 2*gap) / 3 approx */
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.mini-square:hover {
    opacity: 1;
    transform: translateX(10px);
}

.placeholder-gradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.project-details h3 {
    font-size: 2.5rem;
    font-family: var(--font-display);
    line-height: 1;
}

.project-desc-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-glow-2);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    transition: gap 0.3s;
}

.project-action-link:hover {
    gap: 1.2rem;
}

@media (max-width: 1100px) {
    .project-complex-row {
        grid-template-columns: 1fr;
    }
    .project-mini-images {
        flex-direction: row;
    }
    .mini-square {
        width: 33%;
        height: 120px;
    }
}

.footer { padding: 10rem 10vw 4rem; }
.footer-title { font-size: clamp(3rem, 10vw, 7rem); font-family: var(--font-display); text-align: center; margin-bottom: 4rem; line-height: 1; }
.footer-links { display: flex; justify-content: space-between; align-items: center; padding: 2rem 4rem; border-radius: 100px; }
.main-link { font-size: 2rem; font-weight: 700; font-family: var(--font-display); color: var(--text-primary); text-decoration: none; }
.social-links { display: flex; gap: 3rem; }
.social-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; }

/* -------------------------------------
   Gecici "Angry Text" Toast Mesajı 
-------------------------------------- */
.angry-text {
    position: fixed;
    pointer-events: auto;
    cursor: none;
    z-index: 100000;
    color: #ff3366;
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1.25rem;
    background: rgba(10, 10, 10, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ff3366;
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
    white-space: nowrap;
    opacity: 0;
    animation: angryPop 3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes angryPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    15% { opacity: 1; transform: translate(-50%, -100%) scale(1.1); }
    25% { opacity: 1; transform: translate(-50%, -80%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -80%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -120%) scale(0.8); }
}

.angry-text.shaking {
    --shake-amt: 2px;
    animation: resistShake 0.1s infinite;
}

@keyframes resistShake {
    0% { transform: translate(-50%, -80%) translateX(calc(-1 * var(--shake-amt))); }
    25% { transform: translate(-50%, -80%) translateY(calc(-1 * var(--shake-amt))); }
    50% { transform: translate(-50%, -80%) translateX(var(--shake-amt)); }
    75% { transform: translate(-50%, -80%) translateY(var(--shake-amt)); }
    100% { transform: translate(-50%, -80%) translateX(calc(-1 * var(--shake-amt))); }
}

/* Mobile Adjustments */
@media (pointer: coarse), (max-width: 768px) {
    html, body { cursor: auto !important; }
    #custom-cursor { display: none !important; } /* Only hide user cursor, keep helper cursor */
    [data-interactable="true"] { cursor: auto !important; touch-action: auto !important; }
    .cmd-btn { cursor: pointer; }
    
    .angry-text { font-size: 1rem !important; padding: 8px 15px !important; }
    .punishment-box { width: 90% !important; padding: 1.5rem !important; }
    .punishment-box h1 { font-size: 8vw !important; }
    .punishment-box p { font-size: 4vw !important; }
    
    /* Disable heavy GPU/CPU effects on mobile */
    .binary-particle { display: none !important; }
    .ambient-orb { display: none !important; }
    .bg-drift-container { display: none !important; }
    .noise-overlay { display: none !important; }
    .hero { transform: none !important; filter: none !important; }
    
    /* FPS SAVER FOR PROJECTS SECION */
    #works .glass, #works .glass-card, #works .project-complex-row, #works .mini-square {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
}

/* Animations */
.endless-ripple {
    position: absolute;
    pointer-events: none;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%; height: 100%;
    border-radius: inherit;
    z-index: -1;
    animation: waveExp 2s ease-out forwards;
}

.endless-ripple.global {
    position: fixed;
    z-index: 100001; 
}

@keyframes waveExp {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(15); opacity: 0; }
}

.theme-ripple-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.6s ease-in, opacity 0.5s ease-out;
}
.theme-ripple-effect.expand {
    transform: translate(-50%, -50%) scale(250); 
}

/* Admin Presence Styles */
.admin-cursor-tag {
    position: absolute;
    top: 25px;
    left: 20px;
    background: var(--accent-glow-2);
    color: #fff;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000000;
    animation: adminFloat 2s ease-in-out infinite;
}

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

.admin-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    color: white;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999999;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    animation: toastSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.5s ease;
}

@keyframes toastSlideUp {
    0% { opacity: 0; transform: translateX(-50%) translateY(30px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.jiggle {
    animation: jiggleAnim 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes jiggleAnim {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(0.9) rotate(-3deg); }
    50% { transform: scale(1.1) rotate(3deg); }
    75% { transform: scale(0.95) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.glitch-wave {
    animation: cleanRippleAnim 2.5s ease-out forwards !important;
    border-radius: 100px !important;
}

@keyframes cleanRippleAnim {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; border-width: 3px; }
    50% { transform: translate(-50%, -50%) scale(10); opacity: 0.5; border-width: 1px; }
    100% { transform: translate(-50%, -50%) scale(25); opacity: 0; border-width: 0px; }
}
