a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

/* Header компоненты */
.header_conatiner {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 90px;
}

.header_logo img {
    height: 41px;
    width: 100%;
    object-fit: contain;
}

.header_button {
    display: flex;
    gap: 20px;
}

/* Навигационные ссылки */
.nav-link {
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fe284a;
}

.nav-link.active {
    background-color: #fe284a;
    border-color: #fe284a;
}

/* Анимации */
@keyframes glow {
    0% { box-shadow: 0 0 5px #fe284a; }
    50% { box-shadow: 0 0 20px #fe284a; }
    100% { box-shadow: 0 0 5px #fe284a; }
}

.glowing {
    animation: glow 1.5s infinite alternate;
}

/* Варианты кнопок */
.button_1 {
    background-color: #fe284a;
}

.button_2 {
    background-color: transparent;
}

.button_2:hover {
    background-color: #fe284a;
}

.btn-secondary {
    border: 1px solid #ffffff;
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #fe284a;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.3s ease-in-out;
    width: 100%;
    text-align: center;
}

/* Типографика */
h1 {
    font-size: 50px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.4;
}

h2 {
    font-size: 30px;
    font-weight: bold;
}

h3 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* Основной контент */
.main_conteiner {
    position: relative;
    margin-top: 40px;
    max-width: 1300px !important;
    padding: 15px 20px;
}

.main {
    width: 100% !important;
    max-width: none !important;
    margin-top: 26px;
}

.main_text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main p {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
}

.main h1 {
    margin-bottom: 50px;
}

/* Изображения */
.photo {
    margin: 0 auto;
    width: 70%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 40px;
}

/* Hero Section */
.hero-section {
    background-image: url('img/i.webp');
    background-size: cover;
    background-position: center;
    margin: 20px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    height: 350px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    display: none;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    display: none;
}

.hero-text .highlight {
    color: #ff6b35;
    font-size: 64px;
    display: block;
    margin-bottom: 10px;
}

.hero-text .bonus-text {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-text .game-info {
    color: #ff6b35;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-image {
    text-align: center;
}

/* Анимированный персонаж */
.dog-character {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #D2691E, #8B4513);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 14px 0;
}

.action-card {
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.action-card1 {
    background-image: url('img/most1.webp');
}

.action-card2 {
    background-image: linear-gradient(135deg, #c32c00, #fe4004);
}

.action-card:hover {
    transform: translateY(-5px);
}

.action-card h3 {
    color: #ffffff;
    text-transform: uppercase;
}

.action-card .subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    text-transform: lowercase;
}

/* Games Section */
.games-section {
    margin: 30px 0;
    width: 100%;
}

.games-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Каталог игр */
.game-catalog_list {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    align-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    justify-content: flex-start;
    max-width: 1200px;
    gap: 15px;
}

.game-catalog_list-item {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

/* Размеры карточек игр */
@media (min-width: 0px) {
    .game-catalog_list-item {
        width: calc(50% - 7.5px);
        height: 180px;
    }
}

@media (min-width: 480px) {
    .game-catalog_list-item {
        width: calc(33.333% - 10px);
        height: 160px;
    }
}

@media (min-width: 768px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 200px;
    }
}

@media (min-width: 1200px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 220px;
    }
}

/* Карточки игр */
.gamecard {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform .2s ease;
    width: 100%;
    overflow: hidden;
}

.gamecard a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.gamecard_window {
    border: 1px solid #393a51;
    border-bottom: none;
    flex: 1;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}

.gamecard_img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.gamecard_title {
    background-color: #161626;
    border: 1px solid #393a51;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    height: 40px;
    overflow: hidden;
    padding: 0 6px;
    text-align: center;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Флаги игр */
.gamecard .gamecard_flags {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

/* Кнопки при наведении */
.gamecard_links {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .2s ease;
    z-index: 3;
    gap: 8px;
}

.btn_approve_small {
    align-items: center;
    background-color: #62c23c;
    border: none;
    border-radius: 18px;
    box-shadow: 0 2px 0 0 #3c7028;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    height: 26px;
    justify-content: center;
    letter-spacing: 0.3px;
    line-height: 1;
    outline: none;
    padding: 0 18px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.gamecard_demo {
    background-color: #313047;
    border-radius: 18px;
    box-sizing: border-box;
    font-size: 9px;
    font-weight: 600;
    height: 22px;
    padding: 0 16px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

/* Hover эффекты для десктопа */
@media (min-width: 769px) {
    .gamecard:hover {
        transform: scale(1.12);
        z-index: 10;
    }
    
    .gamecard:hover .gamecard_links {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Popup */
.popup {
    width: 470px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #212132;
    color: #ffffff;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.popup.show {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.476);
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 6px;
}

.popup_block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block_txt {
    width: 40%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.block_txt span {
    font-size: 35px;
    color: #ffffff;
    font-weight: 700;
}

.block_txt p {
    color: #ffffff;
    font-size: 18px;
}

.block_btn {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

/* Дополнительные элементы для контента */
ul, ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* Мобильные адаптации */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 26px;
        margin-top: 10px;
    }
    
    .photo {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .main h1 {
        margin-bottom: 20px;
    }
    
    .header_button {
        gap: 8px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 6px;
    }
    
    .popup {
        width: 95%;
        padding: 6px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .popup_block {
        display: flex;
        justify-content: space-around;
    }
    
    .popup-close {
        font-size: 16px;
        right: 6px;
        top: 3px;
    }
    
    .block_txt span {
        font-size: 24px;
    }
    
    .block_txt p {
        font-size: 14px;
    }
    
    .block_btn {
        font-size: 14px;
    }
    
    .main_conteiner {
        margin-top: 0;
        padding: 15px 10px;
    }
    
    .action-card {
        padding: 14px;
    }
    
    .hero-section {
        background-image: url('img/mostbet-com-screenshot.avif');
        margin: 0;
        height: 300px;
        margin-top: 50px;
    }
    
    /* Мобильные иконки для action cards */
    .action-card2::before {
        content: '';
        position: absolute;
        bottom: 0;
        z-index: 1;
        background: url(../../img/telegram.png) no-repeat;
        background-size: contain;
        width: 40px;
        height: auto;
        right: 30px;
        top: 35px;
    }
    
    .action-card1::before {
        content: '';
        position: absolute;
        bottom: 0;
        z-index: 1;
        background: url(/img/android.png) no-repeat;
        background-size: contain;
        width: 40px;
        height: auto;
        right: 30px;
        top: 35px;
    }
    
    /* Мобильные эффекты для карточек игр */
    .game-catalog_list {
        gap: 10px;
        max-width: 100%;
    }
    
    .game-catalog_list-item {
        height: 160px;
    }
    
    .gamecard .gamecard_flags {
        top: 4px;
        left: 4px;
        gap: 3px;
    }
    
    .gamecard_title {
        font-size: 10px;
        height: 35px;
        padding: 0 4px;
    }
    
    .gamecard_links {
        padding: 8px;
        gap: 6px;
        bottom: 0;
    }
    
    .btn_approve_small {
        height: 24px;
        font-size: 9px;
        padding: 0 16px;
        border-radius: 16px;
    }
    
    .gamecard_demo {
        height: 20px;
        font-size: 8px;
        padding: 0 14px;
        border-radius: 16px;
    }
    
    /* Мобильная активация карточек */
    .gamecard.mobile-active {
        transform: scale(1.13);
        z-index: 20;
        transition: transform 0.3s ease;
    }
    
    .gamecard.mobile-active .gamecard_links {
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 15;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 480px) {
    .hero-text .highlight {
        font-size: 40px;
    }
    
    .hero-text .bonus-text {
        font-size: 18px;
    }
    
    .action-card {
        padding: 15px;
    }
    
    .action-card h3 {
        font-size: 14px;
    }
    
    .game-catalog_list-item {
        height: 140px;
    }
    
    .gamecard_title {
        font-size: 9px;
        height: 32px;
    }
}