* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(28, 58, 173, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 30%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Анимированный фон */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
    animation: pulseBackground 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.promo-container {
    width: 100%;
    max-width: 500px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 50px rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(52, 152, 219, 0.3);
}

.promo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(52, 152, 219, 0.1),
        rgba(46, 204, 113, 0.1),
        transparent
    );
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    box-shadow: 
        0 10px 30px rgba(52, 152, 219, 0.3),
        0 0 0 4px rgba(18, 18, 18, 0.9);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(18, 18, 18, 0.9);
    background: linear-gradient(45deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 3rem;
}

.channel-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.channel-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #3498db, #2ecc71, transparent);
    border-radius: 2px;
}

.channel-description {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(52, 152, 219, 0.3),
        0 5px 15px rgba(46, 204, 113, 0.2);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 220px;
}

.join-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.join-button:hover::before {
    left: 100%;
}

.join-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(52, 152, 219, 0.4),
        0 8px 25px rgba(46, 204, 113, 0.3);
}

.join-button:active {
    transform: translateY(-1px);
}

.join-button i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.join-button:hover i {
    transform: scale(1.2);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.6);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.feature i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: 500;
}

/* Анимация появления */
.promo-container > * {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.avatar-container {
    animation-delay: 0.1s;
}

.channel-name {
    animation-delay: 0.2s;
}

.channel-description {
    animation-delay: 0.3s;
}

.join-button {
    animation-delay: 0.4s;
}

.features {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding: 1.5rem;
    }

    .promo-container {
        padding: 2.5rem 2rem;
        max-width: 400px;
    }

    .avatar-container {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .channel-name {
        font-size: 2.2rem;
    }

    .channel-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .join-button {
        padding: 1.1rem 2.2rem;
        font-size: 1.1rem;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .promo-container {
        padding: 2rem 1.5rem;
        max-width: 340px;
    }

    .avatar-container {
        width: 100px;
        height: 100px;
        margin-bottom: 1.2rem;
    }

    .channel-name {
        font-size: 1.8rem;
    }

    .channel-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .join-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .feature {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 360px) {
    .promo-container {
        padding: 1.5rem 1rem;
    }

    .avatar-container {
        width: 90px;
        height: 90px;
    }

    .channel-name {
        font-size: 1.6rem;
    }

    .join-button {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
}

/* Эффект частиц */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}