/* Spinz Casino - Main Stylesheet */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F7F5FD;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #333;
}

h2 {
    font-size: 2rem;
    color: #6b48ff;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #ff0d8a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6b48ff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header .container {
    max-width: unset;
}

.hero .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.logo {
    height: 30px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ff0d8a;
}

/* Active nav link */
.nav a.active {
    color: #ff0d8a;
    border-bottom: 2px solid #ff0d8a;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: #ff0d8a;
    color: #fff;
    border: 2px solid #ff0d8a;
}

.btn-primary:hover {
    background: #e00c7a;
    border-color: #e00c7a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 13, 138, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ff0d8a;
    border: 2px solid #ff0d8a;
}

.btn-secondary:hover {
    background: #ff0d8a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 13, 138, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu .header-buttons {
    flex-direction: column;
    margin-top: 1rem;
}

/* Full-width banner under header */
.banner {
    max-width: 1200px;
    margin: 2rem auto;
}

.banner a {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 20px;
}

.banner picture,
.banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Payments strip */
.payments {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 15px;
}

.payments-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 24px;
}

.payments-row img {
    display: block;
    height: 28px;
    width: auto;
    filter: grayscale(0.1);
}

@media (max-width: 768px) {
    .payments-row img { height: 22px; }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6b48ff 0%, #ff0d8a 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: #fff;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Card Styles */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card h3 {
    color: #6b48ff;
    margin-bottom: 1rem;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #6b48ff;
    color: #fff;
    font-weight: 600;
}

.table tr:hover {
    background: #f8f9ff;
}

/* Image Styles */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Feature List */
.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff0d8a;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer p {
    color: #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: #ff0d8a;
    margin-bottom: 1rem;
}

.footer a {
    color: #ccc;
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: #ff0d8a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1340px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu .nav {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    main .btn {
        width: 100%;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    header .header-buttons {
        width: 100%;
        justify-content: center;
        order: 3;
        margin-top: 15px;
    }

    .header-buttons .btn {
        width: 100%;
    }

    .btn i {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Flex group for CTA buttons */
.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Text Center with Buttons - Hero Button Style */
.text-center .btn {
    margin: 0.5rem;
}

.text-center .btn:first-child {
    margin-left: 0;
}

.text-center .btn:last-child {
    margin-right: 0;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #ff0d8a;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border-color: #000;
    }
    
    .btn-secondary {
        border-color: #000;
        color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
