:root {
    --primary-blue: #007bff;
    --secondary-dark: #343a40;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --background-dark: #1a1e21;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 18px;
    position: relative;
    background-color: white;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    position: relative;
    z-index: 2;
}

.header__warning {
    background-color: #cc0000;
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 3;
}

.header__nav {
    background-color: transparent;
    padding: 15px 0;
    position: absolute;
    width: 100%;
    z-index: 2;
    margin-bottom: 20px;
}

.nav__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    height: 40px;
}

.logo__link {
    display: block;
    height: 100%;
    transition: opacity 0.3s ease;
}

.logo__link:hover {
    opacity: 0.8;
}

.nav__logo img {
    height: 40px;
    width: auto;
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 15px;
}

/* Hero Section */
.hero {
    padding: 20px 0;
    background-color: transparent;
    position: relative;
    z-index: 1;
   /* margin-top: 40px;*/
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   /* background: rgba(0, 0, 0, 0.7);*/
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 30px;
}

.hero h1 {
    color: white;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.2;
}

.hero p {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left;
    max-width: 800px;
}

.hero__badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.badge img {
    width: 24px;
    height: 24px;
  /*  filter: brightness(0) invert(1);*/
}

/* Top Section with Background */
.top-section {
    background-image: url('../img/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 20px;
    padding-top: 20px;
}

.top-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.top-section > * {
    position: relative;
    z-index: 2;
}

/* Casino Cards */
.casino-list {
    padding: 0;
    background-color: white;
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
    border-top: 3px solid #006bb3;
}

.casino-cards {
    background-color: white;
}

.casino-card {
    background: white;
    padding: 15px;
    margin-bottom: 1px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    display: grid;
    grid-template-columns: 150px 110px 1fr 100px 140px;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-left: 0;
    border-left: 5px solid #006bb3;
}

.casino-card__rank {
    background-color: #006bb3;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 15px;
    position: relative;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    margin-left: -5px;
    min-width: 120px;
    text-align: center;
}

.casino-card__rank::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 5px;
    height: 5px;
    background-color: #004d80;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.casino-card__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.casino-card__logo img {
    width: 90px;
    height: 45px;
    object-fit: contain;
}

.casino-card__content {
    text-align: left;
    padding-right: 20px;
}

.casino-card__bonus {
    font-size: 18px;
    font-weight: bold;
    color: #006bb3;
    margin-bottom: 2px;
}

.casino-card__spins {
    font-size: 14px;
    color: #666;
}

.casino-card__rating {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rating__score {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    line-height: 1;
    text-align: center;
}

.rating__stars {
    font-size: 16px;
    color: #ffc107;
    line-height: 1;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 1px;
}

.rating__votes {
    font-size: 12px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.casino-card__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.casino-card__button {
    background-color: #00a651;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    width: 140px;
    line-height: 1.2;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

.casino-card__button:hover::before {
    left: 100%;
}

.terms {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    text-align: center;
}

/* Info Sections */
.info-sections {
    padding: 50px 0;
    background-color: white;
    margin: 0 auto;
    max-width: 900px;
}

.info-section {
    margin-bottom: 40px;
    padding: 0 20px;
}

.info-section h2 {
    color: var(--secondary-dark);
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.info-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #444;
    font-size: 20px;
    text-align: justify;
}

.info-section p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    background-color: #000;
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
}

.footer__nav {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer__nav a {
    color: #0066ff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: #0052cc;
    text-decoration: underline;
}

.legal__logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 15px;
}

.legal__logos img {
    height: 35px;
    opacity: 0.9;
    margin: 10px;
}

.legal__text {
    font-size: 16px;
    opacity: 0.7;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
    color: #999;
}

.footer__copyright {
    font-size: 17px;
    opacity: 0.5;
    margin-top: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    color: #666;
}

/* Navigation */
.nav__tabs {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.nav__tab {
    padding: 10px 0;
    min-width: fit-content;
    text-align: center;
    color: #666;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
}

/* Специфичные отступы для каждого заголовка */
.nav__tab:nth-child(1) {
    margin-left: 150px;
}

.nav__tab:nth-child(2) {
    margin-left: 30px;
}

.nav__tab:nth-child(3) {
    margin-left: auto;
    margin-right: 20px;
}

.nav__tab:nth-child(4) {
    margin-right: 20px;
}

.nav__tab::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #006bb3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__tab:hover::after,
.nav__tab.active::after {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .info-section h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .info-section p {
        font-size: 16px;
        line-height: 1.6;
    }

    .nav__tabs {
        display: none;
    }

    .casino-card {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        text-align: center;
        border-left: none;
        border-top: 5px solid #006bb3;
    }

    .casino-card__rank {
        margin: 0 auto;
        padding: 6px 15px;
        clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    }

    .casino-card__rank::after {
        display: none;
    }

    .casino-card__content {
        text-align: center;
        padding-right: 0;
    }

    .casino-card__rating {
        margin: 10px auto;
    }

    .casino-card__action {
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero__badges {
        display: none;
    }
    
    .nav__content {
        flex-direction: column;
    }
    
    .navbar-nav {
        margin: 15px 0;
    }

    .legal__logos {
        gap: 20px;
    }

    .legal__logos img {
        height: 30px;
    }

    .legal__text {
        font-size: 14px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .info-section h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .info-section p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .info-section {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .casino-card {
        padding: 12px;
        gap: 8px;
    }

    .casino-card__button {
        padding: 8px 15px;
        font-size: 14px;
        width: 120px;
    }

    .casino-card__logo img {
        width: 90px;
        height: 35px;
    }

    .casino-card__content {
        margin: 3px 0;
    }

    .casino-card__bonus {
        font-size: 16px;
    }

    .casino-card__spins {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .legal__logos {
        gap: 15px;
        justify-content: space-around;
    }

    .legal__logos img {
        height: 25px;
        margin: 8px;
    }

    .legal__text {
        font-size: 12px;
        padding: 0 10px;
    }

    .footer__copyright {
        font-size: 14px;
        padding: 20px 10px 0;
    }
}

/* Page Content Styles */
.page-content {
    padding: 80px 0;
    background-color: #fff;
}

.page-content h1 {
    font-size: 42px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content-section h2 {
    font-size: 32px;
    color: #006bb3;
    margin: 30px 0 15px;
}

.content-section h3 {
    font-size: 24px;
    color: #006bb3;
    margin: 25px 0 15px;
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.content-section li {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.content-section strong {
    color: #006bb3;
    font-weight: 600;
}

.content-section a {
    color: #006bb3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: #004d80;
    text-decoration: underline;
}

.content-section p + ul {
    margin-top: -10px;
}

.content-section ul + h2 {
    margin-top: 40px;
}

/* Уникальные стили для каждой карточки */
/* Unibet - Синий */
.casino-card:nth-child(1) {
    background-color: #fafafa;
}

.casino-card:nth-child(1) .casino-card__rank {
    background-color: #004d99;
}

.casino-card:nth-child(1) .casino-card__bonus {
    color: #004d99;
}

.casino-card:nth-child(1) .casino-card__button {
    background: linear-gradient(to bottom right, #004d99, #0066cc);
}

/* NetBet - Зеленый */
.casino-card:nth-child(2) .casino-card__rank {
    background-color: #008242;
}

.casino-card:nth-child(2) .casino-card__bonus {
    color: #008242;
}

.casino-card:nth-child(2) .casino-card__button {
    background: linear-gradient(to bottom right, #008242, #00a651);
}

/* Pokerstar - Красный */
.casino-card:nth-child(3) .casino-card__rank {
    background-color: #d32f2f;
}

.casino-card:nth-child(3) .casino-card__bonus {
    color: #d32f2f;
}

.casino-card:nth-child(3) .casino-card__button {
    background: linear-gradient(to bottom right, #d32f2f, #f44336);
}

/* Parions - Оранжевый */
.casino-card:nth-child(4) .casino-card__rank {
    background-color: #e65100;
}

.casino-card:nth-child(4) .casino-card__bonus {
    color: #e65100;
}

.casino-card:nth-child(4) .casino-card__button {
    background: linear-gradient(to bottom right, #e65100, #ff6d00);
}

/* Bwin - Фиолетовый */
.casino-card:nth-child(5) .casino-card__rank {
    background-color: #5e35b1;
}

.casino-card:nth-child(5) .casino-card__bonus {
    color: #5e35b1;
}

.casino-card:nth-child(5) .casino-card__button {
    background: linear-gradient(to bottom right, #5e35b1, #7c4dff);
}

@media (max-width: 768px) {
    .content-section h3 {
        font-size: 22px;
        margin: 20px 0 12px;
    }
    
    .content-section li {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .content-section ul + h2 {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .content-section h3 {
        font-size: 20px;
        margin: 15px 0 10px;
    }
    
    .content-section li {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .content-section ul + h2 {
        margin-top: 25px;
    }
}

/* Age Verification Modal */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-verification__content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.age-verification__title {
    color: #cc0000;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.age-verification__text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.age-verification__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn--yes {
    background: #28a745;
    color: white;
}

.age-btn--yes:hover {
    background: #218838;
}

.age-btn--no {
    background: #dc3545;
    color: white;
}

.age-btn--no:hover {
    background: #c82333;
}

@media (max-width: 480px) {
    .age-verification__content {
        padding: 20px;
    }
    
    .age-verification__title {
        font-size: 20px;
    }
    
    .age-verification__text {
        font-size: 14px;
    }
    
    .age-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
} 