/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* CSS Variables */
:root {
    --color-text-main: #f2f2f2;
    --color-text-secondary: #e0e0e0;
    --color-accent: #fb545b;
    --color-glass-bg: rgba(255,255,255,0.05);
    --color-scroll-thumb: #fb545b;
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
}

/* Body and Background */
body {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(ellipse at 70% 20%, #ff4b2b 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, #3125ed 0%, transparent 70%),
                radial-gradient(ellipse at 80% 80%, #49fff6 0%, transparent 70%),
                linear-gradient(120deg, #0a0025 0%, #201840 100%);
    background-size: cover;
}
body::before {
    /* ...твой код... */
    background-image:
        radial-gradient(1px 1px at 10% 30%, rgba(255,255,255,0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.07), transparent),
        radial-gradient(1.5px 1.5px at 80% 40%, rgba(255,255,255,0.11), transparent),
        radial-gradient(1px 1px at 55% 50%, rgba(251,84,91,0.08), transparent);
}


@keyframes bgMove {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

/* Particle Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(251,84,91,0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.05), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(251,84,91,0.05), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    100% { transform: translateY(-200px) translateX(-200px); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--color-scroll-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b72;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.nav-trigger {
    width: 60px;
    height: 60px;
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(251,84,91,0.3);
}

.nav-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(251,84,91,0.5);
}

.nav-trigger span {
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    margin: 2px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--color-glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(251,84,91,0.3);
    border-radius: 15px;
    padding: 20px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-nav.active .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item {
    display: block;
    color: var(--color-text-main);
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(251,84,91,0.2);
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Header */
.header {
    padding: 30px 0;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
}

.logo-container {
    display: inline-block;
}

.logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(251,84,91,0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(251,84,91,0.8));
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Blocks */
.content-block {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    border-color: rgba(251,84,91,0.3);
}

/* Typography */
h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--color-accent), #ff8a8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(251,84,91,0.5);
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: justify;
}

/* Mirror Section Specific Styles */
.mirror-section {
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, rgba(251,84,91,0.1), var(--color-glass-bg));
}

.mirror-warning {
    background: rgba(251,84,91,0.2);
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    font-weight: 600;
}

.mirror-list {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.mirror-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px;
    background: rgba(251,84,91,0.1);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'IBM Plex Mono', monospace;
}

.mirror-link:hover {
    background: var(--color-accent);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(251,84,91,0.4);
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

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

.gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-align: center;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: var(--color-accent);
}

.gallery-item img {
    width: 300px;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.gallery-item p {
    color: var(--color-text-main);
    font-weight: 500;
    margin: 0;
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover, .gallery-next:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* Special Content Displays */
.token-display {
    text-align: center;
    margin: 30px 0;
}

.token-display img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(251,84,91,0.3);
}

.product-showcase {
    text-align: center;
    margin: 30px 0;
}

.product-showcase img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}


/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .content-block {
        padding: 20px;
        margin: 20px 0;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    .header {
        padding-left: 15px;
    }
    
    .logo {
        height: 60px;
    }
    
    .floating-nav {
        bottom: 20px;
        right: 20px;
    }
    
    .nav-trigger {
        width: 50px;
        height: 50px;
    }
    
    .nav-menu {
        min-width: 180px;
        bottom: 70px;
    }
    
    .gallery-item img {
        width: 250px;
        height: 220px;
    }
    
    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .content-block {
        padding: 15px;
    }
    
    .gallery-item img {
        width: 200px;
        height: 180px;
    }
    
    .token-display img,
    .product-showcase img {
        max-width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Hover Effects */
.content-block p:hover {
    color: var(--color-text-main);
    transition: color 0.3s ease;
}

/* Focus States for Accessibility */
.nav-item:focus,
.mirror-link:focus,
.gallery-prev:focus,
.gallery-next:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .floating-nav,
    .gallery-prev,
    .gallery-next {
        display: none;
    }
    
    .content-block {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
.footer {
    background: var(--color-darker);
    border-top: 1px solid rgba(251,84,91,0.3);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
    max-width: 800px;      
    margin-left: auto;
    margin-right: auto;
}

