/* style.css для сайта @rbxxw */

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

body {
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Видео фон */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Затемнение фона для лучшей читаемости */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ff3366;
    margin: 0 auto 20px;
    overflow: hidden;
    background-color: rgba(255, 51, 102, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.avatar i {
    font-size: 60px;
    color: #ff3366;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.5rem;
    color: #ffcc00;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.link-card {
    background: rgba(20, 20, 30, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.link-card:hover {
    transform: translateY(-5px);
    background: rgba(40, 40, 60, 0.9);
    border-color: #ff3366;
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.4);
}

.icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #ff3366, #ff0066);
    border: 2px solid #ffcc00;
}

.link-info {
    flex-grow: 1;
}

.link-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffcc00;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.link-desc {
    font-size: 1rem;
    color: #ccccff;
    opacity: 0.9;
}

.arrow {
    font-size: 24px;
    color: #ffcc00;
    opacity: 0.8;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #ffcc00;
    font-size: 1.2rem;
    padding: 20px;
    border-top: 1px solid rgba(255, 204, 0, 0.3);
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    font-weight: bold;
}

/* Стили для кнопки включения музыки */
.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background: #ff3366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.music-button:hover {
    background: #ff0066;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .link-card {
        padding: 15px;
        gap: 15px;
    }
    
    .icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .link-title {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    footer {
        font-size: 1rem;
        padding: 15px;
    }
    
    .music-button {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}