
:root {
    --bg: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-panel: rgba(18, 18, 24, 0.95);
    --text: #e8e7f0;
    --text-secondary: #b8b5cc;
    --text-muted: #8a869f;
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --accent-light: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --border: rgba(139, 92, 246, 0.15);
    --border-accent: rgba(139, 92, 246, 0.5);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-strong: rgba(0, 0, 0, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: 'Orbitron', 'Rajdhani', -apple-system, sans-serif;
    background: radial-gradient(ellipse at top, #1a0f2e 0%, #0a0a0f 50%, #000000 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(167, 139, 250, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
    opacity: 0.4;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.8);
    border-radius: 50%;
    animation: float linear infinite;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.9), 0 0 30px rgba(139, 92, 246, 0.5);
}

.particle:nth-child(odd) {
    background: rgba(167, 139, 250, 0.9);
    box-shadow: 0 0 20px rgba(167, 139, 250, 1), 0 0 40px rgba(167, 139, 250, 0.6);
}

.particle:nth-child(3n) {
    background: rgba(199, 210, 254, 0.7);
    width: 2px;
    height: 2px;
    box-shadow: 0 0 10px rgba(199, 210, 254, 0.8), 0 0 20px rgba(199, 210, 254, 0.4);
}

.particle:nth-child(5n) {
    background: rgba(196, 181, 253, 0.6);
    width: 3px;
    height: 3px;
    box-shadow: 0 0 12px rgba(196, 181, 253, 0.7);
}

.particle:nth-child(1) { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 20s; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-duration: 18s; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(5) { left: 50%; animation-duration: 16s; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation-duration: 19s; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-duration: 21s; animation-delay: 2s; }
.particle:nth-child(8) { left: 80%; animation-duration: 17s; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; animation-duration: 23s; animation-delay: 1s; }
.particle:nth-child(10) { left: 15%; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(11) { left: 25%; animation-duration: 20s; animation-delay: 5s; }
.particle:nth-child(12) { left: 35%; animation-duration: 16s; animation-delay: 2s; }
.particle:nth-child(13) { left: 45%; animation-duration: 19s; animation-delay: 4s; }
.particle:nth-child(14) { left: 55%; animation-duration: 22s; animation-delay: 1s; }
.particle:nth-child(15) { left: 65%; animation-duration: 17s; animation-delay: 3s; }

@keyframes float {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    5% { opacity: 1; transform: translateY(95vh) translateX(5px) scale(1); }
    50% { transform: translateY(50vh) translateX(10px) scale(1.2); }
    95% { opacity: 1; transform: translateY(5vh) translateX(15px) scale(0.8); }
    100% { transform: translateY(-5vh) translateX(20px) scale(0); opacity: 0; }
}

.particles-container::before,
.particles-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.2);
    pointer-events: none;
}

.particles-container::before {
    width: 400px;
    height: 400px;
    top: 10%;
    right: -200px;
    animation: floatCircle 25s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3), inset 0 0 60px rgba(139, 92, 246, 0.1);
}

.particles-container::after {
    width: 300px;
    height: 300px;
    bottom: 15%;
    left: -150px;
    animation: floatCircle 20s ease-in-out infinite reverse;
    box-shadow: 0 0 50px rgba(167, 139, 250, 0.3), inset 0 0 50px rgba(167, 139, 250, 0.1);
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(0, -60px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg) scale(1.05);
        opacity: 0.4;
    }
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(199, 210, 254, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(167, 139, 250, 0.5), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(196, 181, 253, 0.7), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(199, 210, 254, 0.4), transparent);
    background-size: 200% 200%;
    animation: starsShimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

@keyframes starsShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.main-content::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(139, 92, 246, 0.03) 48%, rgba(139, 92, 246, 0.05) 50%, rgba(139, 92, 246, 0.03) 52%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(167, 139, 250, 0.03) 48%, rgba(167, 139, 250, 0.05) 50%, rgba(167, 139, 250, 0.03) 52%, transparent 55%);
    background-size: 300px 300px;
    animation: lightRays 30s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

@keyframes lightRays {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

.splash-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 6, 18, 0.92);
    opacity: 1;
    pointer-events: none;
    animation: splash-out 0.25s ease-out 0.45s forwards;
}

.splash-overlay .splash-logo {
    width: 140px;
    height: 140px;
    color: var(--text);
    filter: drop-shadow(0 0 25px var(--accent-glow));
}

@keyframes splash-out {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.splash-overlay.splash-done {
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(139, 92, 246, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left { flex: 1; display: flex; align-items: center; gap: 1.25rem; }
.nav-center { flex: 0 0 auto; display: flex; gap: 1.5rem; align-items: center; position: relative; justify-content: center; }
.nav-right {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.logo {
    width: 70px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon { 
    width: 60px; 
    height: auto; 
    color: var(--text); 
    filter: brightness(0) saturate(100%) invert(93%) sepia(6%) saturate(223%) hue-rotate(202deg) brightness(98%) contrast(95%);
}

.nav-left .logo-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.nav-left .logo-link:hover { color: inherit; }
.nav-left .logo-link .logo,
.nav-left .logo-link .brand-name { pointer-events: none; }

.page-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.main-content.tool-active .page-logo-container,
.main-content:not(:has(.home-tools-view)) .page-logo-container {
    display: none;
}

@keyframes logo-glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 18px var(--accent-glow)) brightness(0) saturate(100%) invert(93%) sepia(6%) saturate(223%) hue-rotate(202deg) brightness(98%) contrast(95%); }
    50% { filter: drop-shadow(0 0 28px var(--accent-glow)) brightness(0) saturate(100%) invert(93%) sepia(6%) saturate(223%) hue-rotate(202deg) brightness(110%) contrast(100%); }
}

.page-logo {
    width: auto;
    height: 100px;
    object-fit: contain;
    color: var(--text);
    filter: drop-shadow(0 0 20px var(--accent-glow)) brightness(0) saturate(100%) invert(93%) sepia(6%) saturate(223%) hue-rotate(202deg) brightness(98%) contrast(95%);
    transition: transform 0.35s ease, filter 0.35s ease;
    animation: logo-glow-pulse 3s ease-in-out infinite;
}

.page-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 0 35px var(--accent-glow)) brightness(0) saturate(100%) invert(93%) sepia(6%) saturate(223%) hue-rotate(202deg) brightness(110%) contrast(100%);
    animation: none;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-item-wrap { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-icon { width: 18px; height: 18px; stroke-width: 2; }

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 0 1rem 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.home-tools-view {
    width: 100%;
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.home-tools-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px var(--accent-glow);
}

.home-tools-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 200px;
    padding: 1.75rem 1.5rem;
    background: rgba(15, 15, 22, 0.7);
    backdrop-filter: blur(15px);
    border: 1.5px solid var(--border);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(139, 92, 246, 0.05);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8), 0 0 50px var(--accent-glow), inset 0 1px 0 rgba(139, 92, 246, 0.3);
    transform: translateY(-8px) scale(1.03);
    background: rgba(20, 20, 28, 0.85);
}

.tool-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 14px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.tool-card-icon svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
    stroke-width: 2.5;
}

.tool-card-label {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tool-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}

.reviews-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
}
.reviews-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    text-shadow: 0 0 20px var(--accent-glow);
}
.reviews-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.75rem;
}
.reviews-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}
.reviews-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    background: var(--bg-panel);
    color: var(--accent);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.reviews-arrow:hover {
    background: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 25px var(--accent-glow);
}
.reviews-track-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 2rem 0.25rem 0;
    -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar { height: 6px; }
.reviews-track::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.5); border-radius: 3px; }
.reviews-track::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }
.reviews-track .review-card { scroll-snap-align: start; flex: 0 0 280px; min-width: 280px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    max-width: 100%;
}
.review-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(15, 15, 22, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(139, 92, 246, 0.05);
    transition: all 0.3s ease;
}
.review-card:hover {
    border-color: var(--border-accent);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-glow), inset 0 1px 0 rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}
.review-avatar-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.review-avatar-placeholder {
    font-size: 2rem;
    color: var(--accent);
}
.review-body { flex: 1; min-width: 0; }
.review-name {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}
.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}
.review-stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 0.1em; }
.review-time {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.9;
}
.review-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

.main-content.tool-active .home-tools-view { display: none; }
.main-content.tool-active .reviews-section { display: none; }
.main-content:has(.home-tools-view):not(.tool-active) .copier-panel { display: none !important; }

.copier-panel {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    padding: 2.5rem;
    width: 560px !important;
    max-width: 560px !important;
    min-width: 560px !important;
    box-sizing: border-box !important;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.25);
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    margin: 0;
    overflow: hidden;
}

.copier-panel.active { display: block; }

.panel-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--accent);
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 2px 15px var(--accent-glow);
}

.panel-instructions {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.7;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    min-height: 3.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-container { margin-bottom: 1.5rem; }

.game-input {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    height: 54px;
    letter-spacing: 0.05em;
}

.game-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 20px rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.12);
    transform: translateY(-1px);
}

.game-input.paste-highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 30px var(--accent-glow);
    background: rgba(139, 92, 246, 0.15);
}

.copy-button.paste-highlight {
    box-shadow: 0 0 0 3px var(--accent-glow), 0 0 30px var(--accent-glow);
}

.game-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.tools-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 260px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 80px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.2);
    display: none;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.tools-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 24px;
    width: 18px;
    height: 18px;
    background: rgba(10, 10, 15, 0.95);
    border-left: 1.5px solid rgba(139, 92, 246, 0.2);
    border-top: 1.5px solid rgba(139, 92, 246, 0.2);
    transform: rotate(45deg);
}

.tools-dropdown.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.tools-dropdown-title {
    padding: 1.25rem 1.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    border-bottom: 1.5px solid var(--border);
    background: rgba(139, 92, 246, 0.08);
}

.tool-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0.75rem;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 600;
    border: 1.5px solid transparent;
    background: transparent;
}

.tool-option:last-child { margin-bottom: 0.75rem; }

.tool-option:hover {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent);
    border-color: var(--border);
    transform: translateX(4px);
}

.tool-option.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.tool-option-label { display: block; }

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 240px;
    background: rgba(22, 12, 36, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                0 0 40px var(--accent-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: none;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 24px;
    width: 16px;
    height: 16px;
    background: rgba(22, 12, 36, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
}

.nav-dropdown.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.info-dropdown { min-width: 280px; }

.info-dropdown-text {
    padding: 1rem 1.25rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
}

.copy-button {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Orbitron', sans-serif;
}

.copy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--accent-hover) 0%, #5b21b6 100%);
}

.copy-button:active { 
    transform: translateY(-1px) scale(0.98); 
}

.copy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.status-message {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    min-height: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
}

.status-message.success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 2px solid #10b981;
}

.status-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border: 2px solid #ef4444;
}

.status-message.info {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    border: 2px solid var(--accent);
}

.ready-games-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.ready-games-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.ready-games-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.ready-games-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ready-game-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    transition: all 0.25s ease;
}

.ready-game-card:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.15);
}

.ready-game-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 12px;
    color: var(--accent-light);
}

.ready-game-info {
    flex: 1;
    min-width: 0;
}

.ready-game-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ready-game-format {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ready-game-download-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.ready-game-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg, var(--accent-hover) 0%, #5b21b6 100%);
}

.ready-game-download-btn:active {
    transform: translateY(0);
}

.loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.loading-overlay.active { display: flex; }

.loading-panel {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(165deg, rgba(10, 10, 15, 0.95) 0%, rgba(5, 5, 10, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.15), 0 0 100px var(--accent-glow);
    text-align: center;
    animation: loadingPanelIn 0.2s ease;
    z-index: 0;
}

@keyframes loadingPanelIn {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.loading-panel-header { margin-bottom: 1.75rem; }

.loading-spinner-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
}

.loading-spinner {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    border: 3px solid var(--border);
    border-top-color: #a78bfa;
    border-right-color: rgba(167, 139, 250, 0.5);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    box-shadow: 0 0 24px var(--accent-glow);
}

.loading-spinner-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 84px; height: 84px;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-item-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.loading-panel-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
}

.loading-panel-body {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

.loading-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-progress-fill {
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: 999px;
    animation: progressIndeterminate 1.5s ease-in-out infinite;
}

@keyframes progressIndeterminate {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(200%); }
    100% { transform: translateX(-100%); }
}

.loading-status {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    min-height: 1.4em;
}

.loading-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.loading-timer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Orbitron', sans-serif;
}

.loading-timer {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
}

.loading-overlay.show-success .loading-panel { display: none !important; }

.loading-overlay .loading-success {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
}

.loading-overlay .loading-success.is-visible { opacity: 1; }

.loading-success {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
    max-width: 520px;
}

.loading-success-content {
    background: var(--bg-panel);
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 40px var(--accent-glow);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading-success-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.12em;
    font-family: 'Orbitron', sans-serif;
}

.loading-success-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.loading-success-item-name {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.loading-success-message {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.5;
}

.success-feedback-block {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.success-feedback-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
}

.success-feedback-stars {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.feedback-star {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--border);
    cursor: pointer;
    padding: 0.2rem;
    transition: color 0.2s ease, transform 0.15s ease;
}

.feedback-star:hover {
    color: #fff;
    text-shadow: 0 0 12px var(--accent-glow);
}

.feedback-star.active {
    color: #ffd700;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.8);
}

.feedback-star:hover { transform: scale(1.15); }

.success-feedback-textarea {
    width: 100%;
    min-height: 72px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    box-sizing: border-box;
}

.success-feedback-textarea::placeholder { color: var(--text-muted); opacity: 0.8; }

.success-feedback-textarea:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}

.success-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.loading-success-button {
    background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
    color: #fff;
    border: 2px solid var(--border);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 25px var(--accent-glow);
    min-width: 160px;
    letter-spacing: 0.08em;
}

.loading-success-button:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
    transform: translateY(-2px);
}

.loading-success-button:active { transform: translateY(0); }

.loading-success-button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-accent);
}

.loading-success-button-secondary:hover { background: rgba(255,255,255,0.08); }

.success-feedback-thanks {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.success-feedback-thanks p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-family: 'Rajdhani', sans-serif;
}

.success-banner,
.error-banner {
    position: fixed;
    top: 20px; right: 20px;
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: none;
    z-index: 10001;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
}

.success-banner {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.error-banner {
    background: rgba(30, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(200, 80, 80, 0.2);
    border-color: rgba(255, 100, 100, 0.4);
}

.success-banner.active,
.error-banner.active {
    display: block;
    transform: translateX(0);
}

.banner-content { display: flex; align-items: center; gap: 1rem; }
.banner-icon { font-size: 1.5rem; font-weight: bold; color: var(--text); }
.banner-text { flex: 1; }
.banner-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    font-family: 'Orbitron', sans-serif;
}

.banner-item-name,
.banner-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
}

.banner-close {
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.banner-close:hover { background: rgba(255, 255, 255, 0.1); }

.error-banner .error-banner-retry {
    display: none;
    margin-right: 0.5rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.error-banner .error-banner-retry:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}
.error-banner[data-retry-type="game"] .error-banner-retry,
.error-banner[data-retry-type="clothing"] .error-banner-retry {
    display: inline-block;
}

@media (max-width: 768px) {
    .navbar { padding: 0.75rem 1rem; flex-wrap: wrap; gap: 0.5rem; }
    .nav-center { gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
    .nav-link {
        padding: 0.6rem 0.85rem;
        min-height: 44px; min-width: 44px;
        justify-content: center;
        touch-action: manipulation;
    }
    .nav-link span { display: none; }
    .nav-icon { width: 22px; height: 22px; }
    .copier-panel {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem) !important;
        max-width: none !important;
        min-width: 0 !important;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 90vh;
        overflow-y: auto;
    }
    .panel-title { font-size: 1.6rem; letter-spacing: 0.06em; }
    .game-input { height: 48px; font-size: 1rem; padding: 0.85rem 1rem; }
    .copy-button { min-height: 48px; padding: 0.9rem 1.5rem; font-size: 0.95rem; }
    .tools-dropdown, .nav-dropdown {
        min-width: 200px;
        max-width: min(280px, calc(100vw - 2rem));
        right: 0; left: auto;
    }
    .tool-option { min-height: 48px; padding: 0.85rem 1.25rem; font-size: 1rem; }
    .home-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .home-tools-title { font-size: 1.5rem; }
    .home-tools-subtitle { margin-bottom: 1.5rem; }
    .tool-card { padding: 1.25rem 1rem; max-width: none; }
    .tool-card-icon { width: 42px; height: 42px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
    .reviews-section { margin-top: 2rem; padding-top: 1.5rem; }
    .review-card { padding: 1rem; }
    .review-avatar-wrap { width: 64px; height: 64px; }
    .review-avatar { width: 64px; height: 64px; }
    .loading-panel { max-width: 92%; padding: 1.75rem 1.25rem; }
    .loading-success-content { padding: 1.75rem 1.25rem; }
    .loading-success-button { min-height: 48px; min-width: 140px; padding: 0.9rem 1.25rem; }
    .feedback-star { min-width: 44px; min-height: 44px; font-size: 1.85rem; padding: 0.35rem; }
    .success-banner, .error-banner { left: 10px; right: 10px; min-width: 0; max-width: none; }
}

@media (max-width: 480px) {
    body { padding: 0; -webkit-text-size-adjust: 100%; }
    .navbar {
        padding: 0.6rem 0.75rem;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
        gap: 0.35rem;
    }
    .nav-left, .nav-right { flex: 0 0 auto; }
    .nav-center { flex: 1; justify-content: center; gap: 0.35rem; min-width: 0; }
    .nav-link {
        padding: 0.65rem 0.75rem;
        min-height: 48px; min-width: 48px;
        border-radius: 12px;
    }
    .nav-icon { width: 24px; height: 24px; }
    .logo { width: 70px; height: 44px; }
    .logo-icon { width: 60px; height: 35px; }
    .brand-name { font-size: 1.1rem; }
    .page-logo { width: auto; height: 85px; }
    .page-logo-container { margin-bottom: 1.5rem; padding-top: 1.5rem; }
    .home-tools-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .home-tools-title { font-size: 1.35rem; }
    .tool-card { padding: 1.15rem 1rem; }
    .tool-card-icon { width: 40px; height: 40px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .reviews-title { font-size: 1.5rem; }
    .review-avatar-wrap { width: 56px; height: 56px; }
    .review-avatar { width: 56px; height: 56px; }
    .review-card { padding: 0.9rem; gap: 0.75rem; }
    .review-text { font-size: 0.85rem; }
    .reviews-carousel-wrap { gap: 0.5rem; }
    .reviews-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
    .reviews-track .review-card { flex: 0 0 260px; min-width: 260px; }
    .copier-panel {
        width: calc(100% - 1rem) !important;
        margin: 0.5rem;
        padding: 1.25rem 1rem;
        border-radius: 16px;
        max-height: 85vh;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
    }
    .panel-title { font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 0.85rem; }
    .panel-instructions { font-size: 0.85rem; margin-bottom: 1.25rem; }
    .input-container { margin-bottom: 1.25rem; }
    .game-input {
        height: 52px;
        font-size: 16px;
        padding: 1rem 1rem;
        border-radius: 14px;
    }
    .copy-button {
        min-height: 52px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 0.1em;
        border-radius: 14px;
        touch-action: manipulation;
    }
    .tools-dropdown, .nav-dropdown, .info-dropdown {
        right: 0; left: auto;
        min-width: 180px;
        max-width: min(320px, calc(100vw - 2rem));
        width: max-content;
        border-radius: 14px;
    }
    .tool-option {
        min-height: 52px;
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
        touch-action: manipulation;
    }
    .tools-dropdown-title { padding: 1rem 1.25rem; font-size: 0.95rem; }
    .loading-overlay { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
    .loading-panel { max-width: 96%; padding: 1.5rem 1rem; border-radius: 16px; }
    .loading-item-name { font-size: 1.25rem; }
    .loading-success-content { padding: 1.5rem 1rem; max-width: 96%; border-radius: 16px; }
    .loading-success-title { font-size: 1.35rem; }
    .loading-success-button, .loading-success-button-secondary {
        min-height: 52px;
        width: 100%;
        max-width: 280px;
        padding: 1rem;
        font-size: 1rem;
        touch-action: manipulation;
    }
    .success-feedback-actions { flex-direction: column; gap: 0.75rem; }
    .success-feedback-actions .loading-success-button { max-width: none; }
    .feedback-star { min-width: 48px; min-height: 48px; font-size: 2rem; padding: 0.4rem; }
    .success-feedback-textarea { min-height: 80px; padding: 0.85rem; font-size: 16px; }
    .success-feedback-label { font-size: 1rem; }
    .success-banner, .error-banner {
        left: max(0.5rem, env(safe-area-inset-left));
        right: max(0.5rem, env(safe-area-inset-right));
        top: max(0.5rem, env(safe-area-inset-top));
        min-width: 0;
        padding: 1rem;
    }
    .banner-close { min-width: 44px; min-height: 44px; }
}

.stats-section {
    margin-top: 60px;
    padding-top: 40px;
}

.stats-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.stats-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.25);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(167, 139, 250, 0.12);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: rgba(167, 139, 250, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.4;
}

.trust-message {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(167, 139, 250, 0.06) 100%);
    border: 2px solid var(--border-accent);
    border-radius: 16px;
    padding: 35px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.trust-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.15; }
}

.trust-message p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.trust-message strong {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .stats-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .stats-title {
        font-size: 1.5rem;
    }

    .stats-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .stat-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
    
    .trust-message {
        padding: 25px 20px;
        border-width: 1px;
    }
    
    .trust-message p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 12, 0.96);
    backdrop-filter: blur(30px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.global-loading-overlay.active {
    display: flex;
}

.global-loading-content {
    text-align: center;
    max-width: 500px;
    padding: 50px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.9), 0 0 100px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(139, 92, 246, 0.2);
    border: 1.5px solid rgba(139, 92, 246, 0.3);
}

.global-loading-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 35px;
    position: relative;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.global-loading-icon svg {
    width: 50px;
    height: 50px;
    color: #ffffff;
    animation: rotateIcon 2s linear infinite;
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.global-loading-message {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 35px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 2px 10px var(--accent-glow);
}

.global-progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 25px;
}

.global-progress-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.global-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 12px;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.global-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.global-progress-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 20px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 2px 15px var(--accent-glow);
}

.review-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    animation: fadeIn 0.3s ease;
}

.review-modal.active {
    display: block;
}

.review-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(20px);
}

.review-modal-container {
    position: relative;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1.5px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    margin: 50px auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 100px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(139, 92, 246, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-modal-header {
    padding: 35px;
    border-bottom: 1.5px solid var(--border);
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.1));
}

.review-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-modal-title::before {
    content: '⭐';
    font-size: 2.2rem;
}

.review-modal-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.review-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(139, 92, 246, 0.15);
    border: 2px solid var(--border);
    color: var(--accent);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.review-modal-close:hover {
    background: var(--accent);
    color: #ffffff;
    transform: rotate(90deg);
    box-shadow: 0 4px 20px var(--accent-glow);
}
    color: var(--accent);
    background: rgba(167, 139, 250, 0.1);
    transform: rotate(90deg);
}

.review-modal-body {
    padding: 35px;
}

.fake-reviews-section {
    margin-bottom: 45px;
}

.fake-reviews-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 25px;
    font-family: 'Orbitron', sans-serif;
}

.fake-review-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(167, 139, 250, 0.15));
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fake-review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.2), transparent);
    transition: left 0.6s ease;
}

.fake-review-item:hover::before {
    left: 100%;
}

.fake-review-item:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--shadow-strong), 0 0 0 1px rgba(139, 92, 246, 0.3);
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.2));
}

.fake-review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.fake-review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--accent-glow), 0 0 0 3px rgba(167, 139, 250, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.fake-review-item:hover .fake-review-avatar {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 25px var(--accent-glow), 0 0 0 4px rgba(167, 139, 250, 0.3);
}

.fake-review-info {
    flex: 1;
}

.fake-review-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.fake-review-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.fake-review-time {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.fake-review-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 500;
    position: relative;
    padding-left: 15px;
}

.fake-review-text::before {
    content: '❝';
    position: absolute;
    left: -5px;
    top: -8px;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.review-divider {
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

.leave-review-section {
    margin-top: 40px;
}

.leave-review-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.review-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-form-group {
    display: flex;
    flex-direction: column;
}

.review-form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.review-form-input,
.review-form-textarea {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.review-form-input:focus,
.review-form-textarea:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.3);
}

.review-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.review-rating-select {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-option:hover {
    border-color: var(--border-accent);
    background: rgba(139, 92, 246, 0.15);
}

.rating-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rating-option span {
    color: #fbbf24;
    font-size: 1.2rem;
}

.review-submit-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
    margin-top: 10px;
}

.review-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.review-submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .review-modal-container {
        width: 92%;
        max-width: 650px;
    }

    .fake-review-item {
        padding: 22px;
    }

    .fake-review-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .fake-review-name {
        font-size: 1rem;
    }

    .fake-review-text {
        font-size: 0.98rem;
    }
}

@media (max-width: 768px) {
    .review-modal-container {
        width: 95%;
        margin: 15px auto;
        max-height: 92vh;
        border-radius: 20px;
    }

    .review-modal-header {
        padding: 25px 20px;
    }

    .review-modal-title {
        font-size: 1.5rem;
        gap: 12px;
    }

    .review-modal-title::before {
        font-size: 1.8rem;
    }

    .review-modal-subtitle {
        font-size: 0.95rem;
    }

    .review-modal-close {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
        font-size: 1.6rem;
    }

    .review-modal-body {
        padding: 25px 20px;
    }

    .fake-reviews-title {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }

    .fake-review-item {
        padding: 18px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .fake-review-header {
        gap: 12px;
        margin-bottom: 12px;
    }

    .fake-review-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .fake-review-name {
        font-size: 0.98rem;
    }

    .fake-review-stars {
        font-size: 1rem;
    }

    .fake-review-time {
        font-size: 0.85rem;
    }

    .fake-review-text {
        font-size: 0.95rem;
        line-height: 1.65;
        padding-left: 12px;
    }

    .review-form-label {
        font-size: 0.9rem;
    }

    .review-form-input,
    .review-form-textarea {
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .review-submit-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .review-modal-container {
        width: 96%;
        margin: 10px auto;
        max-height: 94vh;
        border-radius: 16px;
    }

    .review-modal-header {
        padding: 20px 15px;
    }

    .review-modal-title {
        font-size: 1.25rem;
        gap: 10px;
    }

    .review-modal-title::before {
        font-size: 1.5rem;
    }

    .review-modal-subtitle {
        font-size: 0.88rem;
    }

    .review-modal-close {
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        font-size: 1.4rem;
    }

    .review-modal-body {
        padding: 20px 15px;
    }

    .fake-reviews-title {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .fake-review-item {
        padding: 15px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .fake-review-header {
        gap: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .fake-review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .fake-review-name {
        font-size: 0.92rem;
    }

    .fake-review-stars {
        font-size: 0.95rem;
    }

    .fake-review-time {
        font-size: 0.8rem;
        width: 100%;
        margin-top: 4px;
    }

    .fake-review-text {
        font-size: 0.9rem;
        line-height: 1.6;
        padding-left: 10px;
    }

    .fake-review-text::before {
        font-size: 1.5rem;
        top: -6px;
    }

    .review-divider {
        margin: 30px 0;
    }

    .leave-review-title {
        font-size: 1.05rem;
        margin-bottom: 16px;
    }

    .review-form-group {
        gap: 16px;
    }

    .review-form-label {
        font-size: 0.87rem;
        margin-bottom: 8px;
    }

    .review-form-input,
    .review-form-textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .review-form-textarea {
        min-height: 80px;
    }

    .rating-option {
        padding: 10px 14px;
        gap: 10px;
    }

    .rating-option span {
        font-size: 1.1rem;
    }

    .review-submit-btn {
        padding: 13px 24px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .global-loading-content {
        padding: 20px;
    }

    .global-loading-icon {
        width: 60px;
        height: 60px;
    }

    .global-loading-message {
        font-size: 1.1rem;
    }

    .global-progress-text {
        font-size: 1.5rem;
    }
}

.tool-panel {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 680px;
    margin: 2rem auto;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(139, 92, 246, 0.15);
    border: 1.5px solid rgba(139, 92, 246, 0.25);
}

.tool-panel.active {
    display: block;
}

.tool-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1.5px solid var(--border);
}

.tool-icon-large {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.tool-icon-large svg {
    width: 50px;
    height: 50px;
    color: #ffffff;
    stroke-width: 2.5;
}

.tool-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 15px var(--accent-glow);
}

.tool-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    font-weight: 600;
}

.tool-body {
    padding: 0;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.input-label > span:first-child {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
}

.input-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.file-input {
    width: 100%;
    padding: 1.15rem 1.5rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    resize: vertical;
    line-height: 1.5;
}

.file-input:focus {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 0 3px var(--accent-glow), 0 4px 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.file-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.file-input:read-only {
    background: rgba(139, 92, 246, 0.05);
    cursor: default;
    opacity: 0.7;
}

.copy-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px var(--accent-glow);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--shadow-strong);
    background: linear-gradient(135deg, var(--accent-hover) 0%, #5b21b6 100%);
}

.copy-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.copy-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

.copy-icon-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border-accent);
    border-radius: 8px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.copy-icon-btn:hover {
    background: rgba(139, 92, 246, 0.35);
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.05);
}

.copy-icon-btn:active {
    transform: scale(0.95);
}

.copy-icon-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .tool-panel {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto;
    }

    .tool-icon-large {
        width: 60px;
        height: 60px;
    }

    .tool-title {
        font-size: 1.5rem;
    }

    .tool-description {
        font-size: 0.9rem;
    }

    .copy-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .file-input {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 480px) {
    .tool-panel {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .tool-title {
        font-size: 1.3rem;
        letter-spacing: 0.05em;
    }

    .tool-description {
        font-size: 0.85rem;
    }

    .copy-btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }

    .input-label > span:first-child {
        font-size: 0.95rem;
    }

    .input-hint {
        font-size: 0.8rem;
    }

    .file-input {
        font-size: 14px;
        padding: 0.85rem 0.9rem;
    }

    .copy-icon-btn {
        width: 32px;
        height: 32px;
    }

    .copy-icon-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .main-content {
        padding: 0 1.5rem 2rem;
    }

    .home-tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }

    .tool-card {
        max-width: 220px;
        padding: 1.6rem 1.3rem;
    }

    .tool-card-icon {
        width: 52px;
        height: 52px;
    }

    .reviews-carousel-wrap {
        gap: 1rem;
    }

    .reviews-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }

    .navbar {
        padding: 0.9rem 1.75rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .main-content {
        padding: 0 1.25rem 1.75rem;
    }

    .home-tools-view {
        max-width: 100%;
    }

    .home-tools-title {
        font-size: 1.7rem;
        margin-bottom: 0.75rem;
    }

    .home-tools-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .home-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tool-card {
        max-width: 100%;
        padding: 1.4rem 1.2rem;
    }

    .tool-card-icon {
        width: 48px;
        height: 48px;
    }

    .tool-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .tool-card-label {
        font-size: 1rem;
    }

    .tool-card-desc {
        font-size: 0.83rem;
    }

    .reviews-section {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .reviews-title {
        font-size: 1.6rem;
    }

    .reviews-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.5rem;
    }

    .page-logo-container {
        padding-top: 1.75rem;
        margin-bottom: 1.75rem;
    }

    .page-logo {
        width: auto;
        height: 92px;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .copier-panel {
        width: calc(100% - 2.5rem) !important;
        max-width: calc(100% - 2.5rem) !important;
        min-width: 0 !important;
        padding: 2rem 1.75rem;
    }

    .panel-title {
        font-size: 1.8rem;
    }

    .panel-instructions {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .main-content {
        padding: 0 1rem 1.5rem;
        min-height: calc(100vh - 70px);
    }

    .home-tools-view {
        padding: 0;
    }

    .home-tools-title {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.5rem;
    }

    .home-tools-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }

    .home-tools-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        max-width: 100%;
    }

    .tool-card {
        max-width: 100%;
        width: 100%;
        padding: 1.25rem 1.1rem;
        border-radius: 16px;
    }

    .tool-card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.85rem;
        border-radius: 12px;
    }

    .tool-card-icon svg {
        width: 26px;
        height: 26px;
    }

    .tool-card-label {
        font-size: 0.98rem;
        margin-bottom: 0.4rem;
    }

    .tool-card-desc {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .reviews-section {
        margin-top: 2rem;
        padding-top: 1.75rem;
    }

    .reviews-title {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .reviews-subtitle {
        font-size: 0.87rem;
        margin-bottom: 1.25rem;
    }

    .reviews-carousel-wrap {
        gap: 0.5rem;
    }

    .reviews-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .reviews-track {
        gap: 1rem;
        padding: 0.25rem 1rem 0.25rem 0;
    }

    .reviews-track .review-card {
        flex: 0 0 240px;
        min-width: 240px;
    }

    .review-card {
        padding: 1rem;
        gap: 0.85rem;
        border-radius: 14px;
    }

    .review-avatar-wrap {
        width: 60px;
        height: 60px;
    }

    .review-avatar {
        width: 60px;
        height: 60px;
    }

    .review-name {
        font-size: 0.82rem;
        margin-bottom: 0.3rem;
    }

    .review-stars {
        font-size: 0.85rem;
    }

    .review-time {
        font-size: 0.72rem;
    }

    .review-text {
        font-size: 0.84rem;
        line-height: 1.4;
    }

    .page-logo-container {
        padding-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .page-logo {
        width: auto;
        height: 80px;
    }

    .navbar {
        padding: 0.65rem 0.85rem;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .copier-panel {
        width: calc(100% - 1.5rem) !important;
        max-width: calc(100% - 1.5rem) !important;
        min-width: 0 !important;
        padding: 1.75rem 1.25rem;
        margin: 0.75rem auto;
    }

    .panel-title {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
        margin-bottom: 1rem;
    }

    .panel-instructions {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        min-height: auto;
        line-height: 1.6;
    }

    .input-container {
        margin-bottom: 1.25rem;
    }

    .game-input {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        height: 50px;
    }

    .copy-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .particle {
        width: 2px;
        height: 2px;
        opacity: 0.5;
    }

    .particle:nth-child(n+8) {
        display: none;
    }
}

@media (max-width: 380px) {
    .home-tools-title {
        font-size: 1.25rem;
    }

    .home-tools-subtitle {
        font-size: 0.85rem;
    }

    .tool-card {
        padding: 1.1rem 1rem;
    }

    .tool-card-icon {
        width: 40px;
        height: 40px;
    }

    .tool-card-label {
        font-size: 0.92rem;
    }

    .tool-card-desc {
        font-size: 0.78rem;
    }

    .page-logo {
        width: auto;
        height: 70px;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .reviews-title {
        font-size: 1.25rem;
    }

    .copier-panel {
        padding: 1.5rem 1rem;
    }

    .panel-title {
        font-size: 1.35rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .main-content {
        padding: 0 1.5rem 1.5rem;
        min-height: auto;
    }

    .page-logo-container {
        padding-top: 1rem;
        margin-bottom: 1rem;
    }

    .page-logo {
        width: auto;
        height: 60px;
    }

    .home-tools-title {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }

    .home-tools-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .home-tools-grid {
        gap: 0.75rem;
    }

    .tool-card {
        padding: 0.95rem 0.9rem;
    }

    .tool-card-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 0.6rem;
    }

    .reviews-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .copier-panel {
        padding: 1.5rem;
        margin: 0.5rem auto;
        max-height: 85vh;
        overflow-y: auto;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .particle {
        display: none;
    }
}

@media (max-width: 768px) {
    .global-loading-overlay {
        padding: 1rem;
    }

    .global-loading-content {
        padding: 2rem 1.5rem;
        min-width: 280px;
    }

    .global-loading-icon {
        width: 70px;
        height: 70px;
    }

    .global-loading-message {
        font-size: 1.15rem;
    }

    .global-progress-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .global-loading-content {
        padding: 1.75rem 1.25rem;
        min-width: 260px;
        border-radius: 18px;
    }

    .global-loading-icon {
        width: 60px;
        height: 60px;
    }

    .global-loading-message {
        font-size: 1.05rem;
    }

    .global-progress-text {
        font-size: 1.45rem;
    }

    .global-loading-bar {
        height: 6px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .tool-card,
    .review-card,
    .copy-button,
    .fake-review-item,
    .review-submit-btn {
        -webkit-tap-highlight-color: rgba(124, 58, 237, 0.1);
    }

    .nav-link:active,
    .tool-card:active,
    .copy-button:active {
        transform: scale(0.98);
    }

    .review-modal-close,
    .reviews-arrow {
        min-width: 44px;
        min-height: 44px;
    }
}
