/* Nine Casino CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #060E2A;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-dark: #161D37;
    --secondary-dark: #060E2A;
    --gray: #444A5F;
    --orange: #E45809;
    --blue: #355BE2;
    --white: #ffffff;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    color: var(--white);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

/* Container and Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5rem;
}

.col {
    padding: 0.5rem;
    flex: 1;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 50px ;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), #ff6b2b);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b2b, var(--orange));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(228, 88, 9, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--blue), #4169e1);
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.btn-secondary-outline {
    border: 2px solid var(--gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4169e1, var(--blue));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(53, 91, 226, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--orange);
}

.btn-outline:hover {
    background: var(--orange);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Header */
.header {
    background: rgba(22, 29, 55, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

ol, ul {
    list-style: none;
}

ol li, ul li {
    padding-bottom: 5px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: unset;
}

.logo {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.form-control {
        width: 100%;
        padding: 12px;
        margin-bottom: 8px;
        border: 1px solid #444A5F;
        border-radius: 8px;
        background: rgba(22, 29, 55, 0.8);
        color: #ffffff;
        font-size: 1rem;
    }
    
    .form-control:focus {
        outline: none;
        border-color: #E45809;
        box-shadow: 0 0 0 2px rgba(228, 88, 9, 0.2);
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #ffffff;
    }
    
    .form-group small {
        display: block;
        color: #888;
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }
    
    .w-100 {
        width: 100%;
    }
    
    input[type="checkbox"] {
        margin-right: 0.5rem;
    }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(22, 29, 55, 0.9) 0%,
        rgba(6, 14, 42, 0.8) 50%,
        rgba(53, 91, 226, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--primary-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--primary-dark);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--primary-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table th {
    background: var(--gray);
    font-weight: 600;
    color: var(--orange);
}

.table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Tabs */
.tabs {
    margin: 2rem 0;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: var(--white);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.tab-button.active,
.tab-button:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--orange);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.payment-icon {
    height: 30px;
    width: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-icon:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-orange {
    color: var(--orange);
}

.text-blue {
    color: var(--blue);
}

.bg-primary {
    background: var(--primary-dark);
}

.bg-secondary {
    background: var(--secondary-dark);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

/* Responsive Design - Mobile First */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width:1124px) {
    .nav {
        position: fixed;
        top: 141px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        gap: 1rem;
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions {
        gap: 0.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .logo{
        height: 30px;
    }

    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: 3px solid transparent;
    }

    .tab-button.active,
    .tab-button:hover {
        border-bottom-color: rgba(255, 255, 255, 0.1);
        border-right-color: var(--orange);
    }

    .table {
        font-size: 0.9rem;
    }

    .table th,
    .table td {
        padding: 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .payment-methods {
        justify-content: center;
    }
}

.mobile-menu-toggle {
    order: 3;
}

.header-actions {
    order: 2;
}

@media (max-width:475px) {
    .header .container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .mobile-menu-toggle {
        order: 2;
    }

    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    .hero {
        min-height: 90vh;
    }

    .section {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimizations for high DPI displays */
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-video {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.tab-button:focus,
a:focus {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--orange);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 