:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --red: #ff0000;
    --red-dark: #cc0000;
    --white: #ffffff;
    --gray: #888888;
    --gray-dark: #444444;
    --fire-orange: rgba(255, 120, 0, 0.6);
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--bg-primary);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.4), transparent);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: -2px; }
    100% { top: 100%; }
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    animation: float 15s infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 15s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(4) { left: 50%; top: 60%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(5) { left: 70%; top: 30%; animation-delay: 3s; animation-duration: 16s; }
.particle:nth-child(6) { left: 80%; top: 70%; animation-delay: 5s; animation-duration: 14s; }
.particle:nth-child(7) { left: 90%; top: 50%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(8) { left: 15%; top: 90%; animation-delay: 1.5s; animation-duration: 19s; }
.particle:nth-child(9) { left: 60%; top: 15%; animation-delay: 3.5s; animation-duration: 13s; }
.particle:nth-child(10) { left: 85%; top: 85%; animation-delay: 0.5s; animation-duration: 21s; }
.particle:nth-child(11) { left: 5%; top: 55%; animation-delay: 1.2s; animation-duration: 14s; }
.particle:nth-child(12) { left: 25%; top: 25%; animation-delay: 2.8s; animation-duration: 16s; }
.particle:nth-child(13) { left: 45%; top: 75%; animation-delay: 0.8s; animation-duration: 18s; }
.particle:nth-child(14) { left: 65%; top: 45%; animation-delay: 4.2s; animation-duration: 15s; }
.particle:nth-child(15) { left: 75%; top: 15%; animation-delay: 3.2s; animation-duration: 20s; }
.particle:nth-child(16) { left: 95%; top: 35%; animation-delay: 1.8s; animation-duration: 17s; }
.particle:nth-child(17) { left: 35%; top: 95%; animation-delay: 2.2s; animation-duration: 12s; }
.particle:nth-child(18) { left: 55%; top: 5%; animation-delay: 4.8s; animation-duration: 19s; }
.particle:nth-child(19) { left: 40%; top: 30%; animation-delay: 0.3s; animation-duration: 16s; }
.particle:nth-child(20) { left: 12%; top: 65%; animation-delay: 3.8s; animation-duration: 14s; }
.particle:nth-child(21) { left: 78%; top: 58%; animation-delay: 1.4s; animation-duration: 17s; }
.particle:nth-child(22) { left: 33%; top: 12%; animation-delay: 2.9s; animation-duration: 15s; }
.particle:nth-child(23) { left: 58%; top: 88%; animation-delay: 0.7s; animation-duration: 18s; }
.particle:nth-child(24) { left: 82%; top: 42%; animation-delay: 4.1s; animation-duration: 13s; }
.particle:nth-child(25) { left: 18%; top: 35%; animation-delay: 3.3s; animation-duration: 20s; }
.particle:nth-child(26) { left: 62%; top: 22%; animation-delay: 1.9s; animation-duration: 16s; }
.particle:nth-child(27) { left: 28%; top: 68%; animation-delay: 4.5s; animation-duration: 14s; }
.particle:nth-child(28) { left: 92%; top: 78%; animation-delay: 0.2s; animation-duration: 19s; }
.particle:nth-child(29) { left: 7%; top: 48%; animation-delay: 2.6s; animation-duration: 12s; }
.particle:nth-child(30) { left: 52%; top: 52%; animation-delay: 3.1s; animation-duration: 21s; }
.particle:nth-child(31) { left: 38%; top: 72%; animation-delay: 1.1s; animation-duration: 16s; }
.particle:nth-child(32) { left: 88%; top: 28%; animation-delay: 2.3s; animation-duration: 18s; }
.particle:nth-child(33) { left: 22%; top: 48%; animation-delay: 4.4s; animation-duration: 14s; }
.particle:nth-child(34) { left: 68%; top: 62%; animation-delay: 0.9s; animation-duration: 20s; }
.particle:nth-child(35) { left: 4%; top: 32%; animation-delay: 3.7s; animation-duration: 15s; }
.particle:nth-child(36) { left: 72%; top: 8%; animation-delay: 1.6s; animation-duration: 17s; }
.particle:nth-child(37) { left: 48%; top: 38%; animation-delay: 4.9s; animation-duration: 13s; }
.particle:nth-child(38) { left: 16%; top: 82%; animation-delay: 2.1s; animation-duration: 19s; }
.particle:nth-child(39) { left: 82%; top: 52%; animation-delay: 0.4s; animation-duration: 16s; }
.particle:nth-child(40) { left: 34%; top: 18%; animation-delay: 3.4s; animation-duration: 21s; }
.particle:nth-child(41) { left: 56%; top: 78%; animation-delay: 1.7s; animation-duration: 14s; }
.particle:nth-child(42) { left: 24%; top: 58%; animation-delay: 4.2s; animation-duration: 18s; }
.particle:nth-child(43) { left: 92%; top: 68%; animation-delay: 0.6s; animation-duration: 12s; }
.particle:nth-child(44) { left: 6%; top: 22%; animation-delay: 2.8s; animation-duration: 20s; }
.particle:nth-child(45) { left: 76%; top: 42%; animation-delay: 3.9s; animation-duration: 15s; }
.particle:nth-child(46) { left: 42%; top: 88%; animation-delay: 1.3s; animation-duration: 17s; }
.particle:nth-child(47) { left: 14%; top: 12%; animation-delay: 4.6s; animation-duration: 13s; }
.particle:nth-child(48) { left: 66%; top: 32%; animation-delay: 0.8s; animation-duration: 19s; }
.particle:nth-child(49) { left: 96%; top: 92%; animation-delay: 2.5s; animation-duration: 16s; }
.particle:nth-child(50) { left: 26%; top: 44%; animation-delay: 3.2s; animation-duration: 21s; }

.particle.spark {
    width: 3px;
    height: 3px;
    background: rgba(255, 50, 50, 0.9);
    box-shadow: 0 0 6px 2px rgba(255, 0, 0, 0.6);
    animation: spark-float 3s infinite;
}

.particle.spark:nth-child(51) { left: 8%; top: 12%; animation-delay: 0s; }
.particle.spark:nth-child(52) { left: 22%; top: 72%; animation-delay: 0.5s; }
.particle.spark:nth-child(53) { left: 48%; top: 38%; animation-delay: 1s; }
.particle.spark:nth-child(54) { left: 68%; top: 82%; animation-delay: 1.5s; }
.particle.spark:nth-child(55) { left: 88%; top: 22%; animation-delay: 2s; }
.particle.spark:nth-child(56) { left: 15%; top: 55%; animation-delay: 2.5s; }
.particle.spark:nth-child(57) { left: 35%; top: 28%; animation-delay: 0.3s; }
.particle.spark:nth-child(58) { left: 58%; top: 65%; animation-delay: 0.8s; }
.particle.spark:nth-child(59) { left: 72%; top: 48%; animation-delay: 1.3s; }
.particle.spark:nth-child(60) { left: 92%; top: 88%; animation-delay: 1.8s; }
.particle.spark:nth-child(61) { left: 5%; top: 45%; animation-delay: 0.7s; }
.particle.spark:nth-child(62) { left: 42%; top: 15%; animation-delay: 1.2s; }
.particle.spark:nth-child(63) { left: 78%; top: 68%; animation-delay: 1.7s; }
.particle.spark:nth-child(64) { left: 32%; top: 92%; animation-delay: 2.2s; }
.particle.spark:nth-child(65) { left: 62%; top: 25%; animation-delay: 0.4s; }
.particle.spark:nth-child(66) { left: 18%; top: 75%; animation-delay: 0.9s; }
.particle.spark:nth-child(67) { left: 85%; top: 35%; animation-delay: 1.4s; }
.particle.spark:nth-child(68) { left: 55%; top: 58%; animation-delay: 1.9s; }
.particle.spark:nth-child(69) { left: 38%; top: 8%; animation-delay: 2.4s; }
.particle.spark:nth-child(70) { left: 95%; top: 55%; animation-delay: 0.6s; }

@keyframes spark-float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 0.3;
    }
    25% { opacity: 1; }
    50% { 
        transform: translateY(-30px) translateX(15px) scale(1.5); 
    }
    75% { opacity: 1; }
}

.thunder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    animation: thunder-flash 8s infinite;
}

.thunder::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    width: 3px;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 200, 200, 0.6), transparent);
    transform: translateX(-50%) rotate(5deg);
    clip-path: polygon(50% 0%, 65% 25%, 55% 30%, 70% 55%, 60% 60%, 75% 85%, 45% 65%, 55% 60%, 40% 35%, 50% 30%);
    filter: blur(1px);
    box-shadow: 
        0 0 20px 5px rgba(255, 100, 100, 0.5),
        0 0 40px 10px rgba(255, 50, 50, 0.3);
}

.thunder::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 48%;
    width: 2px;
    height: 25%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 200, 200, 0.4), transparent);
    transform: translateX(-50%) rotate(-3deg);
    clip-path: polygon(50% 0%, 60% 20%, 50% 25%, 65% 50%, 55% 55%, 70% 80%, 40% 60%, 45% 55%, 35% 30%, 45% 25%);
    filter: blur(0.5px);
    box-shadow: 0 0 15px 3px rgba(255, 100, 100, 0.4);
}

@keyframes thunder-flash {
    0%, 70%, 100% { opacity: 0; }
    72% { opacity: 0.8; }
    74% { opacity: 0.3; }
    76% { opacity: 0.9; }
    78% { opacity: 0; }
    95% { opacity: 0; }
    97% { opacity: 0.7; }
    99% { opacity: 0; }
}

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

.container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 120px;
    height: 120px;
    max-width: 90vw;
    max-height: 40vh;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--red);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.7),
        0 0 60px rgba(255, 0, 0, 0.4),
        0 0 80px rgba(255, 0, 0, 0.2);
    border-color: var(--white);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.video-frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--red);
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100%) contrast(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        linear-gradient(135deg, rgba(255,0,0,0.1) 0%, transparent 50%),
        linear-gradient(225deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.username {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tagline {
    font-size: 0.85rem;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.link-btn::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 50%;
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, var(--fire-orange), transparent 70%);
    transform: translateX(-50%);
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    pointer-events: none;
}

.link-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--red);
    transform: translateX(5px);
    animation: fire-glow 1.5s ease-in-out infinite;
}

@keyframes fire-glow {
    0%, 100% {
        box-shadow: 
            0 0 5px rgba(255, 100, 0, 0.3),
            0 0 10px rgba(255, 50, 0, 0.2),
            0 5px 15px rgba(255, 0, 0, 0.15);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(255, 150, 0, 0.5),
            0 0 30px rgba(255, 80, 0, 0.4),
            0 5px 25px rgba(255, 0, 0, 0.3);
    }
}

.link-btn:hover::before {
    transform: scaleY(1);
}

.link-btn:hover::after {
    bottom: -30%;
    opacity: 0.6;
    animation: flame-flicker 0.8s ease-in-out infinite alternate;
}

@keyframes flame-flicker {
    0% {
        opacity: 0.4;
        transform: translateX(-50%) scaleY(1);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scaleY(1.2);
    }
}

.link-btn .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-btn .icon svg {
    width: 20px;
    height: 20px;
}

.link-btn .text {
    flex: 1;
    text-align: left;
}

.link-btn.youtube:hover {
    border-color: #FF0000;
    animation: fire-glow-red 1.5s ease-in-out infinite;
}

.link-btn.youtube::before {
    background: linear-gradient(180deg, #FF0000, #FF6600);
}

.link-btn.youtube::after {
    background: radial-gradient(ellipse at center bottom, rgba(255, 100, 0, 0.7), transparent 70%);
}

.link-btn.telegram:hover {
    border-color: #0088cc;
    animation: fire-glow-blue 1.5s ease-in-out infinite;
}

.link-btn.telegram::before {
    background: linear-gradient(180deg, #0088cc, #00BFFF);
}

.link-btn.telegram::after {
    background: radial-gradient(ellipse at center bottom, rgba(0, 150, 255, 0.7), transparent 70%);
}

.link-btn.gc:hover {
    border-color: #25D366;
    animation: fire-glow-green 1.5s ease-in-out infinite;
}

.link-btn.gc::before {
    background: linear-gradient(180deg, #25D366, #7CFC00);
}

.link-btn.gc::after {
    background: radial-gradient(ellipse at center bottom, rgba(50, 255, 100, 0.7), transparent 70%);
}

.link-btn.bot:hover {
    border-color: #FF6F00;
    animation: fire-glow-orange 1.5s ease-in-out infinite;
}

.link-btn.bot::before {
    background: linear-gradient(180deg, #FF6F00, #FFD700);
}

.link-btn.bot::after {
    background: radial-gradient(ellipse at center bottom, rgba(255, 180, 0, 0.7), transparent 70%);
}

@keyframes fire-glow-red {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 50, 0, 0.4), 0 0 15px rgba(255, 0, 0, 0.3), 0 5px 20px rgba(255, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 100, 0, 0.6), 0 0 40px rgba(255, 50, 0, 0.5), 0 5px 30px rgba(255, 0, 0, 0.4);
    }
}

@keyframes fire-glow-blue {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 150, 220, 0.4), 0 0 15px rgba(0, 136, 204, 0.3), 0 5px 20px rgba(0, 136, 204, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 200, 255, 0.6), 0 0 40px rgba(0, 150, 255, 0.5), 0 5px 30px rgba(0, 136, 204, 0.4);
    }
}

@keyframes fire-glow-green {
    0%, 100% {
        box-shadow: 0 0 5px rgba(50, 220, 100, 0.4), 0 0 15px rgba(37, 211, 102, 0.3), 0 5px 20px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(100, 255, 150, 0.6), 0 0 40px rgba(50, 255, 100, 0.5), 0 5px 30px rgba(37, 211, 102, 0.4);
    }
}

@keyframes fire-glow-orange {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 150, 0, 0.4), 0 0 15px rgba(255, 111, 0, 0.3), 0 5px 20px rgba(255, 111, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 200, 0, 0.6), 0 0 40px rgba(255, 150, 0, 0.5), 0 5px 30px rgba(255, 111, 0, 0.4);
    }
}

.link-btn.all-channels {
    background: var(--red);
    border-color: var(--red);
    margin-top: 10px;
}

.link-btn.all-channels:hover {
    background: var(--red-dark);
    transform: translateX(5px);
    box-shadow: 0 5px 30px rgba(255, 0, 0, 0.5);
}

.link-btn.all-channels::before {
    background: var(--white);
    transform: scaleY(1);
}

.footer {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-dark);
}

.footer p {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .main-logo {
        width: 100px;
        height: 100px;
        max-width: 80vw;
    }

    .video-frame {
        width: 130px;
        height: 130px;
    }

    .username {
        font-size: 1.3rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(255, 0, 0, 0.4),
            inset 0 0 30px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(255, 0, 0, 0.6),
            inset 0 0 30px rgba(0, 0, 0, 0.5);
    }
}

.video-frame {
    animation: pulse-glow 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .bg-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 85px;
        height: 85px;
        max-width: 70vw;
    }
}
