/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a2c38;
    color: #efefef;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle,
.section-intro,
.list-intro {
    color: #b0b0b0;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.list-intro {
    text-align: left;
    max-width: 100%;
}

/* === Header === */
.header {
    background-color: #071924;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #efefef;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #079bff;
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #071924;
    list-style: none;
    min-width: 180px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
}

.dropdown-menu a:hover {
    background-color: rgba(7, 155, 255, 0.1);
}

/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #efefef;
    font-size: 0.9rem;
    width: 150px;
    outline: none;
}

.search-input::placeholder {
    color: #888;
}

.search-btn {
    background: #079bff;
    border: none;
    padding: 10px 15px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #017bff;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #efefef;
    border-radius: 2px;
    transition: all 0.3s;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, #071924 0%, #001523 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #b0b0b0;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: 3px solid #f0f3f7;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: #079bff;
    color: #079bff;
}

.social-btn img {
    height: 20px;
}

/* === Search Collection === */
.search-collection {
    padding: 60px 0;
    background-color: #001523;
}

.search-collection h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

/* Main Search Bar */
.main-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.main-search-form {
    display: flex;
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid rgba(7, 155, 255, 0.3);
    transition: border-color 0.3s;
}

.main-search-form:focus-within {
    border-color: #079bff;
}

.main-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 18px 25px;
    color: #efefef;
    font-size: 1rem;
    outline: none;
}

.main-search-input::placeholder {
    color: #888;
}

.main-search-btn {
    background: #079bff;
    border: none;
    padding: 18px 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-search-btn:hover {
    background: #017bff;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.collection-card {
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7, 155, 255, 0.2);
}

.collection-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.collection-card span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* === Casino Showcase === */
.casino-showcase {
    padding: 60px 0;
}

.casino-showcase h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.casino-card {
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 15px;
}

.casino-card h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    min-height: 48px;
}

.casino-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.btn-play {
    background-color: #44be4c;
    color: #fff;
}

.btn-play:hover {
    background-color: #3aa842;
}

.btn-review {
    color: #079bff;
    font-weight: 600;
}

.btn-review:hover {
    text-decoration: underline;
}

.btn-more,
.btn-discover,
.btn-participate,
.btn-earn {
    background: transparent;
    border: 3px solid #f0f3f7;
    color: #efefef;
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.btn-more:hover,
.btn-discover:hover,
.btn-participate:hover,
.btn-earn:hover {
    border-color: #079bff;
    color: #079bff;
}

/* === Section Styling === */
.fiat-section,
.crypto-section,
.csgo-section,
.rust-section,
.money-section {
    padding: 60px 0;
}

.fiat-section {
    background-color: #001523;
}

.crypto-section {
    background-color: #001523;
}

.csgo-section {
    background-color: #071924;
}

.rust-section {
    background-color: #001523;
}

.money-section {
    background-color: #071924;
}

.section-banner {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.section-banner img {
    width: 100%;
    display: block;
}

.section-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.section-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: #079bff;
}

.section-content > p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

/* === Casino Tabs === */
.casino-tabs {
    display: flex;
    gap: 10px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    border: 2px solid rgba(7, 155, 255, 0.3);
    padding: 12px 25px;
    border-radius: 25px;
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: #079bff;
    color: #efefef;
}

.tab-btn.active {
    background: #079bff;
    border-color: #079bff;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* === Casino List === */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.casino-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    padding: 20px;
    border-radius: 15px;
}

.casino-list-item > img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.casino-info {
    flex: 1;
}

.casino-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.stars {
    color: #ffc106;
}

.score {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.casino-info p {
    color: #44be4c;
    font-weight: 500;
}

.casino-list-item .casino-actions {
    flex-shrink: 0;
}

/* === FAQ Accordion === */
.faq-section {
    padding: 60px 0;
    background-color: #071924;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: linear-gradient(135deg, #001523 0%, #0a2535 100%);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: #efefef;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: rgba(7, 155, 255, 0.1);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 20px 20px;
    color: #b0b0b0;
}

/* === Giveaway Section === */
.giveaway-section {
    padding: 60px 0;
    background-color: #001523;
}

.giveaway-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    padding: 40px;
    border-radius: 20px;
}

.giveaway-icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.giveaway-text h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.giveaway-text p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

/* === Features/Tips Grid === */
.features-grid,
.games-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.tips-grid {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.game-card,
.tip-card {
    background: linear-gradient(135deg, #071924 0%, #0a2535 100%);
    padding: 25px;
    border-radius: 15px;
}

.feature-card h4,
.game-card h4,
.tip-card h4 {
    color: #079bff;
    margin-bottom: 10px;
}

.feature-card p,
.game-card p,
.tip-card p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

/* === Money Section === */
.money-content {
    text-align: center;
    margin-top: 30px;
}

.money-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.money-content p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 25px;
}

/* === Footer === */
.footer {
    background-color: #071924;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #079bff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #b0b0b0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a:hover {
    color: #079bff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.responsible-gaming {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.responsible-gaming img {
    height: 40px;
    opacity: 0.7;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #071924;
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-search {
        display: none;
    }

    .nav.active + .header-search,
    .header-search.mobile-show {
        display: flex;
        width: 100%;
        margin: 15px 0 0 0;
        order: 3;
    }

    .main-search-form {
        flex-direction: column;
        border-radius: 15px;
    }

    .main-search-btn {
        justify-content: center;
        border-radius: 0 0 13px 13px;
    }

    .casino-tabs {
        justify-content: center;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
    }

    .casino-grid {
        grid-template-columns: 1fr;
    }

    .casino-list-item {
        flex-direction: column;
        text-align: center;
    }

    .casino-list-item .casino-actions {
        margin-top: 15px;
    }

    .giveaway-content {
        flex-direction: column;
        text-align: center;
    }

    .features-grid,
    .games-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .collection-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
