/* Gojackpot CFD Layout CSS */
:root {
    --s7fd-primary: #FFD700;
    --s7fd-secondary: #FF8C00;
    --s7fd-accent: #DAA520;
    --s7fd-dark: #2E4057;
    --s7fd-light: #F8F9FA;
    --s7fd-text: #212529;
    --s7fd-text-light: #6C757D;
    --s7fd-success: #28A745;
    --s7fd-warning: #FFC107;
    --s7fd-danger: #DC3545;
    --s7fd-shadow: 0 2px 10px rgba(0,0,0,0.1);
    --s7fd-shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --s7fd-gradient: linear-gradient(135deg, var(--s7fd-primary), var(--s7fd-secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--s7fd-text);
    background-color: var(--s7fd-light);
    overflow-x: hidden;
}

body.s7fd-no-scroll {
    overflow: hidden;
}

.s7fd-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.s7fd-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.s7fd-btn-primary {
    background: var(--s7fd-gradient);
    color: white;
    box-shadow: var(--s7fd-shadow);
}

.s7fd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--s7fd-shadow-lg);
}

.s7fd-btn-secondary {
    background: var(--s7fd-dark);
    color: white;
}

.s7fd-btn-secondary:hover {
    background: #1E2A3A;
}

.s7fd-btn-outline {
    background: transparent;
    border: 2px solid var(--s7fd-primary);
    color: var(--s7fd-primary);
}

.s7fd-btn-outline:hover {
    background: var(--s7fd-primary);
    color: white;
}

/* Header */
.s7fd-header {
    background: white;
    box-shadow: var(--s7fd-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.s7fd-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.s7fd-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--s7fd-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s7fd-logo::before {
    content: "🎰";
    font-size: 28px;
}

.s7fd-desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.s7fd-nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.s7fd-nav-links a {
    text-decoration: none;
    color: var(--s7fd-text);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.s7fd-nav-links a:hover {
    color: var(--s7fd-primary);
}

.s7fd-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.s7fd-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--s7fd-text);
    min-height: 44px;
    min-width: 44px;
}

/* Mobile Menu */
.s7fd-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

.s7fd-mobile-menu.s7fd-active {
    right: 0;
}

.s7fd-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s7fd-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--s7fd-text);
    min-height: 44px;
    min-width: 44px;
}

.s7fd-mobile-nav {
    padding: 20px 0;
}

.s7fd-mobile-nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--s7fd-text);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.s7fd-mobile-nav a:hover {
    background-color: #f8f9fa;
}

.s7fd-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.s7fd-menu-overlay.s7fd-active {
    opacity: 1;
    visibility: visible;
}

/* Bottom Navigation */
.s7fd-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
}

.s7fd-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.s7fd-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--s7fd-text-light);
    font-size: 10px;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.s7fd-bottom-nav-item:hover,
.s7fd-bottom-nav-item.s7fd-active {
    color: var(--s7fd-primary);
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.s7fd-bottom-nav-item i,
.s7fd-bottom-nav-item span {
    font-size: 20px;
    margin-bottom: 2px;
}

/* Hero Section */
.s7fd-hero {
    background: var(--s7fd-gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.s7fd-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.s7fd-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Carousel */
.s7fd-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--s7fd-shadow-lg);
}

.s7fd-slide {
    display: none;
    position: relative;
}

.s7fd-slide.s7fd-active {
    display: block;
}

.s7fd-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.s7fd-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 20px 20px;
}

.s7fd-slide h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.s7fd-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.s7fd-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.s7fd-dot.s7fd-active {
    background: white;
}

/* Game Grid */
.s7fd-games-section {
    padding: 60px 0;
    background: white;
}

.s7fd-section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--s7fd-dark);
}

.s7fd-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.s7fd-game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--s7fd-shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.s7fd-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--s7fd-shadow-lg);
}

.s7fd-game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.s7fd-game-info {
    padding: 20px;
}

.s7fd-game-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--s7fd-dark);
}

.s7fd-game-description {
    color: var(--s7fd-text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.s7fd-game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--s7fd-text-light);
}

.s7fd-game-rtp {
    background: var(--s7fd-success);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Tab System */
.s7fd-tab-container {
    margin: 40px 0;
}

.s7fd-tab-header {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.s7fd-tab {
    padding: 15px 25px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--s7fd-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.s7fd-tab.s7fd-active {
    color: var(--s7fd-primary);
    border-bottom-color: var(--s7fd-primary);
}

.s7fd-tab-content {
    display: none;
}

.s7fd-tab-content.s7fd-active {
    display: block;
}

/* Footer */
.s7fd-footer {
    background: var(--s7fd-dark);
    color: white;
    padding: 40px 0 20px;
}

.s7fd-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.s7fd-footer-section h3 {
    color: var(--s7fd-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.s7fd-footer-links {
    list-style: none;
}

.s7fd-footer-links li {
    margin-bottom: 8px;
}

.s7fd-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.s7fd-footer-links a:hover {
    color: var(--s7fd-primary);
}

.s7fd-footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.s7fd-partner-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.s7fd-partner-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s7fd-partner-logo:hover {
    opacity: 1;
}

/* Back to Top */
.s7fd-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--s7fd-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--s7fd-shadow);
}

.s7fd-back-to-top.s7fd-visible {
    opacity: 1;
    visibility: visible;
}

.s7fd-back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: var(--s7fd-shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .s7fd-desktop-nav {
        display: none;
    }

    .s7fd-menu-toggle {
        display: block;
    }

    .s7fd-bottom-nav {
        display: block;
    }

    main {
        padding-bottom: 80px;
    }

    .s7fd-hero h1 {
        font-size: 2rem;
    }

    .s7fd-hero p {
        font-size: 1rem;
    }

    .s7fd-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .s7fd-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .s7fd-tab-header {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .s7fd-tab {
        white-space: nowrap;
        min-width: 120px;
    }
}

@media (max-width: 430px) {
    .s7fd-container {
        padding: 0 10px;
    }

    .s7fd-hero {
        padding: 40px 0;
    }

    .s7fd-hero h1 {
        font-size: 1.8rem;
    }

    .s7fd-games-grid {
        grid-template-columns: 1fr;
    }

    .s7fd-slide img {
        height: 200px;
    }

    .s7fd-slide-content {
        padding: 30px 15px 15px;
    }

    .s7fd-slide h3 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes s7fd-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.s7fd-fade-in {
    animation: s7fd-fadeIn 0.6s ease-out;
}

/* Utility Classes */
.s7fd-text-center {
    text-align: center;
}

.s7fd-text-primary {
    color: var(--s7fd-primary);
}

.s7fd-bg-primary {
    background-color: var(--s7fd-primary);
}

.s7fd-mb-1 { margin-bottom: 0.5rem; }
.s7fd-mb-2 { margin-bottom: 1rem; }
.s7fd-mb-3 { margin-bottom: 1.5rem; }
.s7fd-mb-4 { margin-bottom: 2rem; }

.s7fd-mt-1 { margin-top: 0.5rem; }
.s7fd-mt-2 { margin-top: 1rem; }
.s7fd-mt-3 { margin-top: 1.5rem; }
.s7fd-mt-4 { margin-top: 2rem; }