/* ============================================
   7G777 Casino - Main Stylesheet
   Mobile First Approach
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #89DF35;
    --bg-color: #020400;
    --header-bg: #1A1A1A;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #89DF35;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a8f04d;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
header {
    background-color: var(--header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
    max-width: unset;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.header-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    box-shadow: none;
    border: none;
    outline: none;
    gap: 4px;
    padding: 0.5rem;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 3px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    min-height: 44px;
    line-height: 1.5;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-btn:hover {
    background-color: #a8f04d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 223, 53, 0.4);
}

.secondary-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 223, 53, 0.3);
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Swiper Slider Styles */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 4rem auto;
    border-radius: 16px;
}

.hero-slider .swiper {
    width: 100%;
    height: auto;
    min-height: 90px;
    max-width: 100%;
}

.hero-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--primary-color);
    background-color: rgba(26, 26, 26, 0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background-color: rgba(137, 223, 53, 0.2);
    transform: scale(1.1);
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.hero-slider .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 6px;
}

/* Responsive Slider */
@media (min-width: 768px) {
    .hero-slider .swiper {
        min-height: 200px;
    }
}

@media (min-width: 1024px) {
    .hero-slider .swiper {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .hero-slider .swiper-button-next::after,
    .hero-slider .swiper-button-prev::after {
        font-size: 16px;
    }

    .hero-slider .swiper-pagination {
        bottom: 10px;
    }
}

.hero-section {
    text-align: center;
    padding: 4rem 1rem;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, rgba(137, 223, 53, 0.15) 0%, rgba(137, 223, 53, 0.05) 50%, rgba(2, 4, 0, 0.8) 100%);
    border-radius: 16px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(137, 223, 53, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(137, 223, 53, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, #89DF35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(137, 223, 53, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .cta-section {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Sections */
.section {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-content {
    margin-bottom: 2rem;
}

.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background-color: var(--header-bg);
    color: var(--primary-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(137, 223, 53, 0.2);
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background-color: rgba(137, 223, 53, 0.1);
}

/* Lists */
ul.features-list {
    list-style: none;
    padding-left: 0;
}

ul.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

ul.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Buttons */
.cta-section {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    margin: 0.5rem;
}

/* Reviews */
.reviews-section {
    background-color: rgba(26, 26, 26, 0.3);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.review-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(137, 223, 53, 0.2);
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.review-text {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.review-author {
    color: var(--primary-color);
    font-weight: 600;
}

/* FAQ */
.faq-section {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    background-color: rgba(26, 26, 26, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background-color: var(--header-bg);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(137, 223, 53, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(137, 223, 53, 0.1);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.payment-systems {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.payment-systems span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .nav-menu {
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-image {
        max-width: 700px;
    }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-section {
        padding: 6rem 2rem;
        background: linear-gradient(135deg, rgba(137, 223, 53, 0.2) 0%, rgba(137, 223, 53, 0.1) 30%, rgba(137, 223, 53, 0.05) 60%, rgba(2, 4, 0, 0.9) 100%);
    }

    .hero-section::before {
        background: radial-gradient(circle at 20% 40%, rgba(137, 223, 53, 0.25) 0%, transparent 60%),
                    radial-gradient(circle at 80% 60%, rgba(137, 223, 53, 0.2) 0%, transparent 60%);
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .nav-menu {
        gap: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-image {
        max-width: 800px;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 1280px) {
    .burger-menu {
        display: flex;
    }

        
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(137, 223, 53, 0.2);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 1rem;
        display: block;
        text-align: center;
    }

    .nav-menu li a.active {
        background-color: rgba(137, 223, 53, 0.1);
        border-left: 3px solid var(--primary-color);
        padding-left: calc(1rem - 3px);
    }

    .nav-menu li a.active::after {
        display: none;
    }

}

/* Mobile Menu Styles */
@media (max-width: 767px) {

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.highlight {
    color: var(--primary-color);
}


@media (max-width: 480px) {
    .header-content {
        flex-wrap: wrap;
    }

    .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }
    
    p {
        font-size: 1rem !important;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.25rem !important;
    }

    .hero-slider .swiper-button-next, .hero-slider .swiper-button-prev {
        display: none;
    }
    
    .hero-slider .swiper-pagination {
        display: none;
    }
}