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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 30%, #16213e 70%, #0f3460 100%);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
    position: relative;
}

/* Screen Shake Container */
.screen-container {
    min-height: 100vh;
    transition: transform 0.05s ease-out;
    position: relative;
}

.screen-shake {
    animation: screenShake 0.3s ease-out;
}

@keyframes screenShake {
    0%, 100% { transform: translateX(0) translateY(0); }
    10% { transform: translateX(-2px) translateY(1px); }
    20% { transform: translateX(2px) translateY(-1px); }
    30% { transform: translateX(-1px) translateY(2px); }
    40% { transform: translateX(1px) translateY(-2px); }
    50% { transform: translateX(-2px) translateY(1px); }
    60% { transform: translateX(2px) translateY(-1px); }
    70% { transform: translateX(-1px) translateY(2px); }
    80% { transform: translateX(1px) translateY(-2px); }
    90% { transform: translateX(-1px) translateY(1px); }
}

/* Floating 3D Morphism Blobs */
.floating-morphs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.morph-blob {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.03), 
        rgba(255, 255, 255, 0.01)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: morphFloat 12s ease-in-out infinite;
}

.blob-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.blob-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}

.blob-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes morphFloat {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-30px) scale(1.1) rotate(120deg);
        opacity: 0.6;
    }
    66% {
        transform: translateY(20px) scale(0.9) rotate(240deg);
        opacity: 0.4;
    }
}

/* Pixel Rain */
.pixel-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.pixel-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation: pixelFall 8s linear infinite;
}

.pixel-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.pixel-particle:nth-child(2) { left: 25%; animation-delay: 1.5s; }
.pixel-particle:nth-child(3) { left: 40%; animation-delay: 3s; }
.pixel-particle:nth-child(4) { left: 60%; animation-delay: 4.5s; }
.pixel-particle:nth-child(5) { left: 75%; animation-delay: 6s; }
.pixel-particle:nth-child(6) { left: 90%; animation-delay: 7.5s; }

@keyframes pixelFall {
    0% {
        transform: translateY(-10px) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
    justify-content: center;
}

/* 3D Morphism Panels */
.morph-panel {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.08), 
        rgba(255, 255, 255, 0.02)
    );
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.morph-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.morph-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.02) 50%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.morph-panel:hover {
    transform: translateY(-8px) perspective(1000px) rotateX(2deg) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.morph-panel:hover::before {
    opacity: 1;
}

.morph-panel:hover::after {
    opacity: 1;
}

/* Header Panel */
.header-panel {
    text-align: center;
    background: linear-gradient(145deg, 
        rgba(0, 255, 136, 0.05), 
        rgba(0, 255, 136, 0.02)
    );
}

.pixel-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.brand-handle {
    font-size: 1.2rem;
    color: #ff6b35;
    font-weight: bold;
    text-shadow: 0 0 15px #ff6b35;
}

.main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
    font-family: 'Courier New', monospace;
}

.main-title .highlight {
    color: #00ff88;
    text-shadow: 
        0 0 10px #00ff88,
        0 0 20px #00ff88,
        0 0 30px #00ff88;
}

.glow-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Content Panel */
.content-panel {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.06), 
        rgba(255, 255, 255, 0.02)
    );
}

.description-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    font-family: 'Courier New', monospace;
}

/* Social Panel */
.social-panel {
    background: linear-gradient(145deg, 
        rgba(255, 107, 53, 0.05), 
        rgba(0, 136, 204, 0.05)
    );
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 150px;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 1;
}

.instagram-link:hover {
    background: linear-gradient(145deg, 
        rgba(225, 48, 108, 0.2), 
        rgba(225, 48, 108, 0.05)
    );
    border-color: rgba(225, 48, 108, 0.5);
    box-shadow: 0 15px 40px rgba(225, 48, 108, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.telegram-link:hover {
    background: linear-gradient(145deg, 
        rgba(0, 136, 204, 0.2), 
        rgba(0, 136, 204, 0.05)
    );
    border-color: rgba(0, 136, 204, 0.5);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.3);
    transform: translateY(-5px) scale(1.05);
}

/* Features Panel */
.features-panel {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.04), 
        rgba(255, 255, 255, 0.01)
    );
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05)
    );
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.3);
}

.feature-card span {
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

/* Pixel Sprites */
.pixel-sprite {
    font-size: 3rem;
    display: inline-block;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 15px currentColor);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.pixel-sprite:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 25px currentColor) brightness(1.2);
}

/* SVG Icons */
.svg-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-icon svg {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px currentColor);
}

.svg-icon:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 25px currentColor) brightness(1.2);
}

.instagram-link .svg-icon svg {
    color: #e1306c;
}

.telegram-link .svg-icon svg {
    color: #0088cc;
}

.bounce-sprite:active {
    animation: pixelBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes pixelBounce {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.3) translateY(-15px); }
    60% { transform: scale(0.9) translateY(-5px); }
    80% { transform: scale(1.1) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}

/* Cursor Canvas */
.cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Custom Cursor */
body::before {
    content: '✦';
    position: fixed;
    font-size: 20px;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    animation: cursorPulse 2s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Link Glow Effects */
.link-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover .link-glow {
    opacity: 1;
    animation: linkSweep 1s ease-in-out;
}

@keyframes linkSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .morph-panel {
        padding: 1.5rem;
    }
    
    .social-links {
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pixel-sprite {
        font-size: 2.5rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .morph-panel {
        padding: 1rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .pixel-brand {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pixel-sprite {
        font-size: 2rem;
    }
}
