/*
Theme Name: Armenia Casino
Author: Adapted for Online Casinos in Armenia (2026)
Description: WordPress тема для рейтинга онлайн-казино в Армении
Version: 1.0.1-am
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1, h2 {
    color: #00cc66; /* основной зелёный акцент */
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

h3, h4 {
    color: #00cc66;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    background: linear-gradient(180deg, #0a1c2b, #1a2b3c);
    font-family: 'Open Sans', sans-serif;
    color: #f0f0f0;
    line-height: 1.6;
}

.label-am { color: #07be66; }

.container-am {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* FAQ блок (если используешь) */
.faq {
    max-width: 900px;
    margin: 50px auto;
}

.faq-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(0,204,102,0.35);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    font-size: 18px;
    background: none;
    border: none;
    color: #00cc66;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover {
    background: rgba(0,204,102,0.10);
}

.faq-answer {
    display: none;
    padding: 14px 18px;
    font-size: 15px;
    color: #f0f0f0;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-aviso {
    margin-top: 25px;
    font-size: 13px;
    color: #bbb;
    text-align: center;
}

/* Шапка */
header {
    background: rgb(14 39 60 / 95%);
    padding: 1px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(to right, transparent, #00cc66, transparent);
    margin-top: 10px;
}

main.site-main-am {
    background: #0f2435;
    padding-top: 20px;
}

.am-branding {
    display: flex;
    justify-content: center;
}

.logo-link-am {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #00cc66;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-part-am {
    display: inline-block;
    opacity: 0;
    visibility: hidden;
    animation: fadeIn 0.6s cubic-bezier(0.6, 0, 0.4, 1) forwards;
    will-change: opacity;
    backface-visibility: hidden;
}

.logo-part-am:nth-child(1) { animation-delay: 0.2s; }
.logo-part-am:nth-child(2) { animation-delay: 0.4s; }
.logo-part-am:nth-child(3) { animation-delay: 0.6s; }
.logo-part-am:nth-child(4) { animation-delay: 0.8s; }
.logo-part-am:nth-child(5) {
    animation: rotateIn 1s cubic-bezier(0.6, 0, 0.4, 1) 1.0s forwards;
    transform: scale(0.9);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

@keyframes fadeIn {
    0% { opacity: 0; visibility: hidden; }
    100% { opacity: 1; visibility: visible; }
}

@keyframes rotateIn {
    0% { opacity: 0; visibility: hidden; transform: rotate(-360deg) scale(0.9); }
    100% { opacity: 1; visibility: visible; transform: rotate(0deg) scale(1); }
}

/* Навигация */
.am-main-navigation {
    position: relative;
}

.am-main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.am-main-navigation .menu-item-am {
    margin: 0 20px;
    position: relative;
}

.am-main-navigation .menu-item-am a {
    color: #f0f0f0;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s;
}

.am-main-navigation .menu-item-am a:hover,
.am-main-navigation .menu-item-has-children-am > a:hover {
    color: #00cc66;
    background: rgba(0,204,102,0.08);
}

/* Подменю */
.sub-menu-am {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #112e48;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    min-width: 220px;
    z-index: 100;
    padding: 10px 0;
}

.menu-item-has-children-am:hover .sub-menu-am {
    display: block;
}

.sub-menu-am .menu-item-am a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}

/* Карточки рейтинга */
.rating-list-am {
    list-style: none;
    padding: 0;
}

.rating-item-am {
    position: relative;
    margin-bottom: 40px;
}

.casino-card {
    background: #112e48;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
}

.casino-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,204,102,0.18);
}

.casino-number {
    font-size: 4.5em;
    font-weight: 900;
    color: #00cc66;
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    position: absolute;
    left: 25px;
    top: -30px;
    z-index: 10;
}

.casino-thumbnail {
    flex: 0 0 280px;
    background: #0a1c2b;
}

.casino-thumbnail picture,
.casino-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casino-info-am {
    flex: 1;
    min-width: 280px;
    padding: 25px 20px;
    background: rgba(0,0,0,0.15);
}

.casino-info-item-am {
    margin-bottom: 12px;
    font-size: 15px;
}

.value-am {
    color: #e0e0e0;
    font-weight: 500;
}

.casino-right-column {
    flex: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.casino-title-am {
    font-size: 2em;
    margin-bottom: 18px;
}

.casino-title-am a {
    color: #ffffff;
}

.casino-description-am {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.55;
}

.casino-details-left {
    text-align: center;
    margin: 20px 0 15px;
}

.casino-rating-text-am {
    font-size: 1.5em;
    font-weight: bold;
    color: #00cc66;
}

.rating-value-am {
    font-size: 1.8em;
    color: #ffffff;
}

.casino-details-lower {
    margin-top: auto;
}

.casino-buttons-am {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.casino-btn-am {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.goto-am {
    background: #00cc66;
    color: #0a1c2b;
}

.goto-am:hover {
    background: #00e673;
    box-shadow: 0 4px 12px rgba(0,204,102,0.4);
    transform: translateY(-2px);
}

.review-am {
    background: #1e90ff;
    color: white;
}

.review-am:hover {
    background: #3399ff;
    box-shadow: 0 4px 12px rgba(30,144,255,0.4);
    transform: translateY(-2px);
}

/* Блок авторов */
.authors-block-am,
.authors-end-block {
    background: #112e48;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.authors-block-am img,
.authors-end-block img {
    border: 4px solid #00cc66;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.authors-block-am img:hover,
.authors-end-block img:hover {
    transform: scale(1.06);
}

/* Блок обновления / юридический дисклеймер */
.legal-disclaimer-am {
    background: #1a1a1a;
    border: 2px solid #ff4444;
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto;
    max-width: 1100px;
    text-align: center;
}

/* Футер */
.am-footer {
    background: #0a1c2b;
    padding: 50px 0 30px;
    color: #cccccc;
}

.am-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.am-footer-logo h3 {
    color: #00cc66;
    margin-bottom: 10px;
}

.am-footer-column h3 {
    color: #00cc66;
    margin-bottom: 15px;
}

.am-footer-column ul {
    list-style: none;
    padding: 0;
}

.am-footer-column li a {
    color: #cccccc;
    transition: color 0.3s;
}

.am-footer-column li a:hover {
    color: #00cc66;
}

.am-footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,204,102,0.15);
}

.social-links-am a {
    margin: 0 12px;
    color: #1e90ff;
    font-weight: 500;
}

.social-links-am a:hover {
    color: #00cc66;
}

/* Мобильная версия — все ключевые правки */
@media (max-width: 768px) {
    .casino-card {
        flex-direction: column;
        align-items: center;
    }

    .rating-item-am {
        flex-direction: column;
        align-items: center;
    }

    .casino-number {
        position: static;
        text-align: center;
        margin: 0 0 15px;
        font-size: 3.5em;
    }

    .casino-title-am {
        text-align: center;
        margin: 10px 0;
        order: -2;
    }

    .casino-thumbnail {
        margin: 0;
        width: 100%;
        max-width: 320px;
        order: -1;
    }

    .casino-thumbnail img {
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(15,105,130,0.7);
    }

    .casino-info-am {
        padding: 20px;
        width: 100%;
    }

    .casino-description-am {
        text-align: center;
    }

    .casino-details-lower {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .casino-buttons-am {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .casino-btn-am {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .am-main-navigation ul {
        display: none;
        flex-direction: column;
        text-align: center;
    }

    .menu-toggle-checkbox-am:checked ~ ul {
        display: flex;
    }

    .menu-toggle-am {
        display: block;
        font-size: 2em;
        cursor: pointer;
        text-align: center;
        padding: 15px;
    }

    .authors-block-am,
    .authors-end-block {
        padding: 25px 15px;
    }
}

/* Дополнительные уникальные стили для армянского сайта */
.crypto-block-am,
.unique-info-block-am {
    background: #0f2435;
    border: 1px solid #00cc66;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    text-align: center;
}

.crypto-block-am h2,
.unique-info-block-am h2 {
    margin-bottom: 20px;
}