/* styles.css */
@import url('css2.css');

:root {
    --primary: #1976D2;
    --secondary: #1565C0;
    --accent: #42A5F5;
    --dark: #1A1A1A;
    --light: #F5F6FA;
    --gradient: linear-gradient(135deg, #1976D2, #1565C0);
    --shadow: 0 10px 30px rgba(25, 118, 210, 0.2);
    --social-blue: #1976D2;
    --social-light: #E3F2FD;
    --social-gradient: linear-gradient(135deg, #1976D2, #42A5F5);
    --game-green: #2E7D32;
    --game-light: #E8F5E9;
    --game-gradient: linear-gradient(135deg, #2E7D32, #4CAF50);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F6FA;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(25, 118, 210, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Быстрые ссылки */
.quick-links {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.quick-links-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-link {
    padding: 0.5rem 1rem;
    background: rgba(25, 118, 210, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Шапка с градиентом и анимацией текста */
header {
    background: var(--gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 15s infinite linear;
    z-index: 0;
}

header .container {
    position: relative;
    z-index: 1;
}

.animated-volume {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { 
        text-shadow: 0 5px 0 rgba(0, 0, 0, 0.3); 
    }
    50% { 
        text-shadow: 0 15px 0 rgba(0, 0, 0, 0.3), 0 20px 5px rgba(0,0,0,0.2); 
    }
}

.social-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    animation: floating 3s ease-in-out infinite;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
}

/* Основной контент */
.main-content {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.content-section {
    flex: 1;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.proxy-service {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.proxy-service.social-service {
    border-left: 4px solid var(--social-blue);
    background: linear-gradient(to right, var(--social-light) 0%, white 5%);
}

.proxy-service.game-service {
    border-left: 4px solid var(--game-green);
    background: linear-gradient(to right, var(--game-light) 0%, white 5%);
}

.proxy-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.3);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.service-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.social-service .service-logo {
    background: var(--social-gradient);
}

.game-service .service-logo {
    background: var(--game-gradient);
}

.service-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.social-service .service-info h2 {
    color: var(--social-blue);
}

.game-service .service-info h2 {
    color: var(--game-green);
}

.service-features {
    margin-bottom: 2rem;
}

.service-features h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.social-service .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--social-blue);
    font-weight: bold;
}

.game-service .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--game-green);
    font-weight: bold;
}

/* Специальные ссылки для соцсетей и игр */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.vk-icon {
    background: #4C75A3;
}

.ok-icon {
    background: #EE8208;
}

.tg-icon {
    background: #2AABEE;
}

.wa-icon {
    background: #25D366;
}

.ig-icon {
    background: #E1306C;
}

.fb-icon {
    background: #1877F2;
}

.tt-icon {
    background: #000000;
}

.clash-icon {
    background: #FF8800;
}

.brawl-icon {
    background: #FFD700;
}

.minecraft-icon {
    background: #5D8C3E;
}

.roblox-icon {
    background: #E3242B;
}

.social-link-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.social-link-text p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Главная ссылка */
.main-cta {
    text-align: center;
    margin: 3rem 0;
}

.main-cta-link {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--social-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-cta-link.game-cta {
    background: var(--game-gradient);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.main-cta-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(25, 118, 210, 0.6);
}

.main-cta-link.game-cta:hover {
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.6);
}

.main-cta-link::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.7s ease;
}

.main-cta-link:hover::before {
    left: 100%;
}

/* Боковая панель */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    color: var(--social-blue);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(25, 118, 210, 0.1);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.8rem;
}

.sidebar-links a {
    display: block;
    padding: 0.7rem 1rem;
    background: rgba(25, 118, 210, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    background: rgba(25, 118, 210, 0.15);
    color: var(--social-blue);
    transform: translateX(5px);
}

/* SEO-текст */
.seo-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: var(--shadow);
}

.seo-section h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.seo-section h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.seo-section p {
    margin-bottom: 1rem;
}

.seo-section ul {
    margin: 1rem 0 1rem 2rem;
}

.seo-section li {
    margin-bottom: 0.5rem;
}

/* Подвал */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Анимация появления блоков */
.proxy-service {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.6s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .quick-links-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
}