/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #0a0a0a;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 120, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, #0a0a0a 0%, #1a0a1a 25%, #0a0a1a 50%, #1a0a0a 75%, #0a0a0a 100%);
    animation: backgroundShift 8s ease-in-out infinite;
    z-index: -2;
}

/* Scanlines effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.03) 2px,
        rgba(0, 255, 255, 0.03) 4px
    );
    animation: scanlines 0.1s linear infinite;
    z-index: -1;
    pointer-events: none;
}

/* Background animation */
@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: translateX(-2px) translateY(1px) scale(1.01);
        filter: hue-rotate(90deg);
    }
    50% {
        transform: translateX(1px) translateY(-1px) scale(0.99);
        filter: hue-rotate(180deg);
    }
    75% {
        transform: translateX(-1px) translateY(2px) scale(1.005);
        filter: hue-rotate(270deg);
    }
}

/* Scanlines animation */
@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

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

/* Header styles */
.main-header {
    text-align: center;
    margin-bottom: 60px;
}

.name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.name {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

.name-container .name {
    margin-bottom: 0;
}

.location {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(120, 0, 255, 0.3);
    }
}

/* Content sections */
.content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section {
    text-align: left;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.section-content {
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
}

/* Links */
.link, .email {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.link:hover, .email:hover {
    border-bottom-color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(120, 0, 255, 0.4);
    transform: translateY(-1px);
}

/* Telegram link styles */
.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    margin-top: 10px;
}

.telegram-icon {
    width: 20px;
    height: 20px;
    fill: #0088cc;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(0, 136, 204, 0.5));
}

.telegram-link:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(0, 136, 204, 0.4);
    transform: translateY(-1px);
}

.telegram-link:hover .telegram-icon {
    fill: #00aaff;
    filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.8));
    transform: scale(1.1);
}

/* Big Telegram icon styles */
.big-telegram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.big-telegram-icon {
    width: 40px;
    height: 40px;
    fill: #0088cc;
    transition: all 0.3s ease;
}

.big-telegram-link:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(0, 136, 204, 0.4);
    transform: scale(1.05) translateY(-2px);
}

.big-telegram-link:hover .big-telegram-icon {
    fill: #00aaff;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .location {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .section-content {
        font-size: 0.95rem;
    }
    
    .big-telegram-link {
        width: 60px;
        height: 60px;
    }
    
    .big-telegram-icon {
        width: 30px;
        height: 30px;
    }
    
    .name-container {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .main-header {
        margin-bottom: 40px;
    }
    
    .content {
        gap: 30px;
    }
    
    .big-telegram-link {
        width: 50px;
        height: 50px;
    }
    
    .big-telegram-icon {
        width: 25px;
        height: 25px;
    }
    
    .name-container {
        gap: 10px;
    }
}

/* Print styles */
@media print {
    .container {
        padding: 0;
    }
}
