/* Polo9 Casino - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #03193a;
    --secondary-bg: #12294a;
    --border-color: #12294a;
    --accent-color: #2f5bf2;
    --primary-btn-bg: #2f5bf2;
    --secondary-btn-bg: #12294a;
    --secondary-btn-border: #3c5b85;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --hover-color: #4a70f5;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background-color: var(--primary-bg);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Hero Slider Styles */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 4rem auto;
    border-radius: 16px;
    overflow: hidden;
}

.hero-slider .swiper {
    width: 100%;
    min-height: 200px;
    height: auto;
}

.hero-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider .swiper-slide img,
.hero-slider .swiper-slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper Navigation Buttons */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--text-primary);
    background: rgba(3, 25, 58, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
    position: absolute;
    bottom: 20px;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--text-primary);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
    transform: scale(1.2);
}

.header-container {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.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;
}

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.nav-menu li a.active {
    color: var(--accent-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
    line-height: 1;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-btn-bg);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 91, 242, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-btn-bg);
    border: 1px solid var(--secondary-btn-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--border-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 41, 74, 0.4);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-link:hover {
    color: var(--hover-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--border-color) 100%);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--secondary-btn-border);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(47, 91, 242, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: block;
    text-align: center;
}

.feature-card h3 i {
    display: block;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.feature-card ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.feature-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-card ul li::before {
    content: "✓ ";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

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

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-weight: 600;
}

table td {
    color: var(--text-secondary);
}

table tr:hover {
    background-color: var(--border-color);
}

/* Image Container */
.image-container {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    background: var(--secondary-bg);
    padding: 0.8rem;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
}

.image-container img,
.image-container picture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.image-grid .image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--secondary-bg);
    padding: 0.8rem;
    position: relative;
}

.image-grid .image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-color), var(--hover-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-grid .image-wrapper:hover::before {
    opacity: 1;
}

.image-grid .image-wrapper:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 40px rgba(47, 91, 242, 0.6);
}

.image-grid .image-wrapper picture,
.image-grid .image-wrapper img {
    border-radius: 12px;
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.image-grid .image-wrapper:hover img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .image-container {
        max-width: 800px;
        margin: 2rem auto;
    }
}

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

/* Text Content */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.content ul,
.content ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

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

a:not(.btn) {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:not(.btn):hover {
    color: var(--hover-color);
}

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

/* Footer */
.footer {
    background-color: var(--primary-bg);
    border-top: 2px solid var(--border-color);
    padding: 3rem 1rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-methods img {
    max-height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-methods img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* User Reviews */
.reviews {
    margin: 3rem 0;
}

.review-card {
    background: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.review-card .stars {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    gap: 0.3rem;
}

.review-card .stars i {
    transition: transform 0.2s;
}

.review-card .stars i:hover {
    transform: scale(1.2);
}

.review-card p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

.review-card .author {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    margin: 3rem 0;
}

.faq-item {
    background: var(--secondary-bg);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 1rem;
    background: var(--primary-bg);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: var(--border-color);
}

.faq-answer {
    padding: 1rem;
    display: none;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Design */

/* Tablet */
@media (min-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {

    .hero h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .header-container {
        padding: 1rem 2rem;
    }

    .container {
        padding: 3rem 2rem;
    }

    .content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 1280px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-bg);
        border-bottom: 2px solid var(--border-color);
        padding: 1rem;
        display: none;
    }


    .nav-menu {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .nav.active {
        display: block;
    }

    .nav-menu li {
        text-align: center;
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 0.75rem;
    }
}

/* Mobile Only - Burger Menu */
@media (max-width: 767px) {


    .cta-buttons {
        flex-direction: column;
    }

    section .btn {
        width: 100%;
    }
}


@media (max-width: 480px) {
    .nav-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .nav-buttons a {
        width: 100%;
    }

    .header-container {
        flex-wrap: wrap;
    }
}