/* ========================================
   COMPONENT STYLES
   Matches Vulkan Vegas Design
   ======================================== */

/* ----------------------------------------
   HEADER
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-header-bg);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.header--scrolled {
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header--hidden {
    transform: translateY(-100%);
}

.header__nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .header__nav-container {
        padding: 0.75rem 2rem;
    }
}

.header__logo img {
    height: 36px;
    width: auto;
}

@media (min-width: 768px) {
    .header__logo img {
        height: 40px;
    }
}

/* Header Links */
.header__links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .header__links {
        display: flex;
    }
}

.header__link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.header__link--active {
    color: var(--color-accent);
}

.header__dropdown-icon {
    transition: transform 0.2s ease;
}

/* Header Dropdown */
.header__dropdown {
    position: relative;
}

.header__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 0.5rem 0;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.header__dropdown:hover .header__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__dropdown:hover .header__dropdown-icon {
    transform: rotate(180deg);
}

.header__dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--color-text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.header__dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header Buttons */
.header__buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Selector */
.header__language {
    position: relative;
}

.header__language-current {
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.header__language-current img {
    border-radius: 4px;
}

.header__language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    padding: 0.5rem 0;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.header__language:hover .header__language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__language-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    color: var(--color-text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.header__language-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header__language-dropdown img {
    border-radius: 2px;
}

/* Header Auth */
.header__auth {
    display: none;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .header__auth {
        display: flex;
    }
}

/* Burger Menu */
.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .header__burger {
        display: none;
    }
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.2s ease;
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.header__mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.header__mobile-menu.active {
    display: flex;
}

.header__mobile-menu > a {
    padding: 0.75rem 0;
    color: var(--color-text);
    font-size: 1rem;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
}

.header__mobile-menu > a.active {
    color: var(--color-accent);
}

.header__mobile-auth {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.header__mobile-auth .btn {
    flex: 1;
    justify-content: center;
}

.header__mobile-language {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.header__mobile-language a {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.header__mobile-language a.active,
.header__mobile-language a:hover {
    opacity: 1;
}

/* ----------------------------------------
   BANNER / HERO
   ---------------------------------------- */
.banner {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .banner {
        min-height: 600px;
    }
}

.banner__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.banner__info {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem 1rem;
    margin-left: 5%;
}

@media (min-width: 768px) {
    .banner__info {
        padding: 3rem 2rem;
        margin-left: 10%;
    }
}

.banner__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .banner__title {
        font-size: 2.5rem;
    }
}

.banner__bonus {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .banner__bonus {
        font-size: 1.5rem;
    }
}

.banner__chars {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: none;
}

@media (min-width: 1024px) {
    .banner__chars {
        display: block;
    }
}

.banner__character {
    max-height: 500px;
    width: auto;
}

.banner__features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    padding: 1rem;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

@media (min-width: 768px) {
    .banner__features {
        padding: 1.5rem 2rem;
    }
}

.banner__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .banner__feature {
        font-size: 0.875rem;
    }
}

.banner__feature--hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .banner__feature--hide-mobile {
        display: flex;
    }
}

.banner__feature-icon {
    color: var(--color-accent);
}

/* ----------------------------------------
   GAMES GRID
   ---------------------------------------- */
.games {
    padding: 2rem 0;
}

.games__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 1rem;
    margin: 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 480px) {
    .games__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .games__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .games__list {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
        padding: 0 2rem;
    }
}

.games__item {
    list-style: none;
}

/* Game Card */
.game-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--color-card-bg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.game-card__image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.game-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__image {
    transform: scale(1.05);
}

.game-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card__overlay {
    opacity: 1;
}

.game-card__overlay .btn {
    min-width: 80px;
}

.game-card__demo-wrapper {
    margin-top: 0.25rem;
}

.game-card__title {
    padding: 0.625rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .game-card__title {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }
}

/* ----------------------------------------
   CONTENT SECTION
   ---------------------------------------- */
.content-wrapper {
    background-color: var(--color-bg);
}

.content {
    padding: 2rem 0;
}

.content__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .content__container {
        padding: 0 2rem;
    }
}

.content__container h2 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content__container h2:first-child {
    margin-top: 0;
}

.content__container h3 {
    color: var(--color-text);
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content__container p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content__container ul,
.content__container ol {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.content__container li {
    margin-bottom: 0.5rem;
}

.content__container strong {
    color: var(--color-text);
}

/* Info Table */
.info-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th {
    padding: 1rem;
    text-align: left;
    background-color: var(--color-bg-secondary);
    color: var(--color-text);
    font-weight: 600;
}

.info-table td {
    padding: 0.75rem 1rem;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table__summary td {
    background-color: rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

/* ----------------------------------------
   BONUS BANNER
   ---------------------------------------- */
.bonus-banner {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .bonus-banner {
        padding: 2rem;
    }
}

.bonus-banner__link {
    display: block;
}

.bonus-banner__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bonus-banner__link:hover .bonus-banner__image {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ----------------------------------------
   FAQ
   ---------------------------------------- */
.faq {
    padding: 3rem 0;
    background-color: var(--color-bg);
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .faq__container {
        padding: 0 2rem;
    }
}

.faq__title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq__item {
    background-color: var(--color-card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq__question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform 0.2s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 1000px;
}

.faq__answer-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
    padding: 2rem 0 1.5rem;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__container {
        padding: 0 2rem;
    }
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.footer__links a {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__copyright {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.footer__disclaimer {
    max-width: 600px;
    margin: 0 auto;
}

.footer__disclaimer p {
    color: var(--color-text-muted);
    font-size: 0.6875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

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