/* ===============================================
   VBET Ukraine - Black & Dark Pink Design
   =============================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-dark: #0a0a0a;
    --color-dark-gray: #1a1a1a;
    --color-gray: #2a2a2a;
    --color-pink: #ff1493;
    --color-pink-dark: #d10077;
    --color-pink-light: #ff69b4;
    --color-white: #ffffff;
    --color-text: #e0e0e0;
    --color-text-gray: #a0a0a0;
    
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark) 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================================
   HEADER STYLES
   =============================================== */

.header {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-gray) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.3);
    border-bottom: 2px solid var(--color-pink);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.5));
}

.logo a {
    display: inline-block;
    line-height: 0;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 20, 147, 0.8));
}

/* Navigation */
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-pink);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu li a:hover {
    color: var(--color-pink);
}

.nav-menu li a:hover::before {
    width: 80%;
}

/* Кнопка регистрации в хедере */
.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35), 0 0 15px rgba(139, 92, 246, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5), 0 0 20px rgba(139, 92, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.register-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Анимация пульсации для кнопки */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.35), 0 0 15px rgba(139, 92, 246, 0.25);
    }
    50% {
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.5), 0 0 20px rgba(139, 92, 246, 0.4);
    }
}

.register-btn {
    animation: pulse-glow 2s ease-in-out infinite;
}

.register-btn:hover {
    animation: none;
}

/* ===============================================
   BANNER STYLES
   =============================================== */

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.banner-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--color-black), transparent);
    pointer-events: none;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.banner-middle {
    margin: 60px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 20, 147, 0.3);
}

/* ===============================================
   BANNER CAROUSEL STYLES
   =============================================== */

.banner-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
    margin: 0;
    padding: 0;
}

.banner-carousel-link {
    display: block;
    width: 100%;
    text-decoration: none;
    position: relative;
    margin: 0;
    padding: 0;
}

.banner-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 26.04%; /* Соотношение сторон 1920x500 (500/1920 * 100) */
    overflow: hidden;
    display: block;
}

.banner-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
    display: block;
}

.banner-carousel-image-active {
    opacity: 1;
}

/* Адаптивность для планшетов */
@media (max-width: 1200px) {
    .banner-carousel-wrapper {
        padding-top: 30%;
    }
}

@media (max-width: 1024px) {
    .banner-carousel-wrapper {
        padding-top: 35%;
    }
}

/* Адаптивность для мобильных устройств (планшеты) */
@media (max-width: 768px) {
   
}

/* Адаптивность для маленьких мобильных */
@media (max-width: 640px) {
 
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {

}

/* Адаптивность для экстра маленьких экранов */
@media (max-width: 360px) {

}

/* Портретная ориентация на мобильных */
@media (max-width: 768px) and (orientation: portrait) {

}

/* Ландшафтная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {

}

/* ===============================================
   MAIN CONTENT STYLES
   =============================================== */

.main-content {
    padding: 60px 0;
    min-height: 60vh;
}

section {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-gray) 100%);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 20, 147, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    scroll-margin-top: 100px;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 20, 147, 0.3);
    border-color: var(--color-pink);
}

.dynamic-cta {
    margin: 20px 0 50px;
    display: flex;
    justify-content: center;
}

.dynamic-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-white);
    background: linear-gradient(120deg, var(--color-pink), var(--color-pink-dark));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.35);
    transition: var(--transition);
}

.dynamic-cta__button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.55);
    background: linear-gradient(120deg, var(--color-pink-light), var(--color-pink));
}

.dynamic-cta__button:active {
    transform: translateY(-1px);
}

h1, h2 {
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-white), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 26px;
    font-weight: 600;
    color: var(--color-pink);
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--color-pink), var(--color-pink-dark));
    border-radius: 3px;
}

p {
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--color-text);
    text-align: justify;
}

ul {
    margin: 20px 0;
    padding-left: 30px;
}

ul li {
    margin-bottom: 12px;
    font-size: 17px;
    color: var(--color-text);
    position: relative;
}

ul li::marker {
    color: var(--color-pink);
    font-size: 1.2em;
}

/* ===============================================
   FOOTER STYLES
   =============================================== */

.footer {
    background: linear-gradient(180deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    border-top: 2px solid var(--color-pink);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.5));
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-pink);
    margin-bottom: 20px;
    display: block;
}

.footer-text {
    color: var(--color-text-gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-pink);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 20, 147, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-gray);
    font-size: 14px;
    margin: 0;
}

/* ===============================================
   404 ERROR PAGE STYLES
   =============================================== */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.error-content {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-gray) 100%);
    border-radius: 20px;
    border: 2px solid var(--color-pink);
    box-shadow: 0 15px 50px rgba(255, 20, 147, 0.3);
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(90deg, var(--color-pink), var(--color-pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.error-text {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-pink-dark));
    color: var(--color-white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.6);
    background: linear-gradient(90deg, var(--color-pink-dark), var(--color-pink));
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu li a {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .register-btn {
        padding: 7px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .register-btn {
        padding: 7px 16px;
        font-size: 0.8rem;
        order: 1;
        box-shadow: 0 3px 12px rgba(236, 72, 153, 0.35), 0 0 10px rgba(139, 92, 246, 0.25);
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-black) 100%);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 2px solid var(--color-pink);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    .banner-image {
        max-height: 300px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    section {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .dynamic-cta {
        margin: 15px 0 40px;
    }

    .dynamic-cta__button {
        width: 100%;
        font-size: 16px;
        padding: 16px 20px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
        padding-left: 15px;
    }
    
    p, ul li {
        font-size: 16px;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-links {
        padding: 0;
        list-style: none;
    }
    
    .footer-links li a {
        padding-left: 0;
    }
    
    .footer-links li a:hover {
        padding-left: 0;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 26px;
    }
    
    .error-text {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .banner-image {
        max-height: 200px;
    }
    
    section {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .dynamic-cta {
        margin: 10px 0 30px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .error-content {
        padding: 40px 20px;
    }
    
    .error-code {
        font-size: 60px;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ===============================================
   SCROLL TO TOP BUTTON
   =============================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-pink-dark));
    border: 2px solid var(--color-pink-light);
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.5);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.7);
    background: linear-gradient(135deg, var(--color-pink-light), var(--color-pink));
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===============================================
   ANIMATIONS & EFFECTS
   =============================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling для всей страницы */
html {
    scroll-behavior: smooth;
}

/* Для браузеров с поддержкой scroll-padding */
html {
    scroll-padding-top: 100px;
}

/* Selection color */
::selection {
    background: var(--color-pink);
    color: var(--color-white);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-pink), var(--color-pink-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-pink-light), var(--color-pink));
}

