:root {
    --primary: #0061f2;
    --primary-light: #33B5FF;
    --secondary: #6c757d;
    --success: #28a745;
    --dark: #212529;
    --light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0061f2, #33B5FF);
    --gradient-dark: linear-gradient(135deg, #212529, #495057);
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 80px;
    min-height: 100vh;
    background-color: #f8f9fa;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.logo-text {
    font-family: 'Komika Axis', sans-serif;
    font-size: 2.0rem;
    letter-spacing: 1px;
    text-decoration: none !important;
}
.footer a {
    text-decoration: none !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.1);
    color: var(--primary-light);
}

.navbar-brand img {
    max-height: 4rem;
    transition: transform 0.5s ease;
}

.navbar-brand:hover img {
    transform: rotate(15deg);
}

.navbar-nav .nav-link {
    font-size: 1.3rem;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-toggler {
    font-size: 1.6rem;
    padding: 0.75rem 1rem;
}
/* Моб. адаптация hero-section */
.hero-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-section h1 {
    font-size: 2rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1rem;
}

@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p {
        font-size: 1.25rem;
    }
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Адаптация кнопок */
.btn-lg {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

@media (max-width: 576px) {
    .btn-lg {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 0.95rem;
    }
}


.hero-section {
    height: 100vh;
    min-height: 700px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.5s ease;
    border: 5px solid white;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background: var(--gradient-dark);
    color: white;
}

.feature-box {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.timeline {
    position: relative;
    margin: 4rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 2rem;
    z-index: 1;
}

.timeline-item.left .timeline-content::before {
    right: -60px;
}

.timeline-item.right .timeline-content::before {
    left: -60px;
}.timeline {
    position: relative;
    margin: 4rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 50px;
}

.timeline-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 2rem;
    z-index: 1;
}

.timeline-item.left .timeline-content::before {
    right: -60px;
}

.timeline-item.right .timeline-content::before {
    left: -60px;
}

.history {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.typing-text {
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
}

.highlight {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 88%;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background-size: 100% 100%;
}

.doc-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.doc-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    margin-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
    border-color: var(--primary-light);
}

.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer a {
    text-decoration: none !important;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.meme-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.meme-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.meme-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.meme-card:hover .meme-img {
    transform: scale(1.05);
}

.meme-caption {
    padding: 1.5rem;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
}

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1.2rem;
    }
    .section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.6rem;
    }
    .navbar-toggler {
        font-size: 1.4rem;
    }
    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .hero-image {
        transform: none;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: 31px;
        right: auto;
    }
    .timeline-item.left {
        text-align: left;
        padding-right: 25px;
    }
    .footer-logo {
        font-size: 2rem;
    }
    .logo-text {
        font-family: 'Komika Axis', sans-serif;
        font-size: 2.0rem;
        letter-spacing: 1px;
    }
    .feature-box, .doc-card, .team-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    .navbar-toggler {
        font-size: 1.2rem;
    }
}

@font-face {
    font-family: 'Komika Axis';
    src: url('../komikaaxis.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.footer-logo, 
.footer-logo:hover, 
.footer-logo:focus {
    text-decoration: none !important;
}

.logo-text, 
.logo-text a {
    text-decoration: none !important;
    color: inherit;
}

.text-danger {
    color: #dc3545 !important;
}
.font-weight-bold {
    font-weight: 700;
}
.mt-2 {
    margin-top: 0.5rem;
}
.fas.fa-clock {
    color: #888;
}
.social-icon {
    color: #000 !important; 
}
.contests-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.contest-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.contest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contest-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: white;
    border-radius: 0 12px 0 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.contest-badge.bg-success {
    background: var(--success);
}

.contest-content {
    flex: 1;
}

.contest-content h5 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contest-content p {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contest-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    font-size: 1.5rem;
    margin-left: 1rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}
