/*
Theme Name: BetPortal Landing
Description: WordPress theme for BetPortal landing page
Version: 1.0
Author: Bloc4488
Text Domain: betportal
*/

:root {
    /* Main colors */
    --color-dark-background: #0f1219;
    --color-dark-background-header: linear-gradient(90deg, rgba(13, 23, 31, .95) 0%, rgba(29, 47, 63, .9) 50%, rgba(13, 23, 31, .95) 100%);
    --color-accent-green: #00FF00;
    --color-text-light: #FFFFFF;
    --color-text-secondary: #A0AEC0;
    --color-button-dark: #2D3748;
    --color-search-border: #800080;
    --color-button-hover: #4A5568;
    
    /* Fonts */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font sizes */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 24px;
    --font-size-hero-title: 48px;
    --font-size-h1: 36px;
    --font-size-h2: 28px;
    --font-size-h3: 24px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 100px;
    --spacing-lg: 100px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-dark-background);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* WordPress Admin Bar - remove margins */
#wpadminbar {
    margin: 0 !important;
    padding: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

p {
    margin-bottom: var(--spacing-sm);
}

/* Container */
.container {
    margin: 0;
    padding: 0 var(--spacing-md);
}

/* Header - Fixed */
.site-header {
    background: var(--color-dark-background-header);
    padding: 0; /* Remove all padding */
    border-bottom: 1px solid var(--color-button-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Logo left, button right */
    align-items: center;
    padding: 0; /* Remove all padding */
    margin-left: 0; /* Remove left margin */
    left: 0; /* Force position to left */
    padding-left: var(--spacing-lg); /* Logo offset from left edge 100px */
    padding-right: var(--spacing-lg); /* Button offset from right edge */
    margin: 0; /* Remove all margins */
    min-height: 40px; /* Minimum height */
    padding-bottom: 0; /* Remove bottom padding */
    padding-top: 0; /* Remove top padding */
}

.logo-image {
    height: 5.5rem; /* Logo height */
    width: auto; /* Width adjusts automatically */
    max-width: 400px; /* Maximum width */
    object-fit: contain; /* Preserve proportions */
    margin-bottom: 0; /* Remove bottom margin */
    margin-top: 0; /* Remove top margin */
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-left: 0; /* Remove any left margins */
    padding-left: 0; /* Remove left padding */
    left: 0; /* Force position to left */
    margin: 0; /* Remove all margins */
}

.site-logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--color-dark-background);
}

.logo-text {
    font-size: var(--font-size-large);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-light);
}

/* Base styles for logos */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

.play-button {
    height: 3rem;
    background: linear-gradient(135deg, #3aa660 0%, #52ea88 100%);
    color: white;
    font-weight: bold;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(58, 166, 96, 0.25);
    transition: all 300ms;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(58, 166, 96, 0.4);
}

.play-button:active {
    transform: translateY(0);
}

/* Navigation */
.main-navigation {
    background-color: var(--color-button-dark);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 80px; /* Header height */
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu li a {
    color: var(--color-text-light);
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent-green);
}

/* Main Content - Flexbox for sticky footer */
.site-main {
    flex: 1 0 auto;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

/* Footer - Sticky at bottom */
.site-footer {
    background: #030A0D;
    color: var(--color-text-light);
    padding: 2rem 0;
    border-top: 1px solid var(--color-button-dark);
    margin-top: auto;
}

.footer-content {
    padding: 0 100px;
    margin: 0 auto;
}

.responsible-gaming {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.age-warning {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.age-badge {
    width: 2rem;
    height: 2rem;
    border: 2px solid #3aa660;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 166, 96, 0.1);
}

.age-badge span {
    color: #3aa660;
    font-weight: bold;
    font-size: 0.75rem;
}

.responsible-text {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: center;
}

.highlight {
    color: #52ea88;
    font-weight: bold;
}

.licensing-info {
    margin-bottom: 2rem;
}

.licensing-info p {
    color: #525252;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
}

.license-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.license-badge {
    background: rgba(29, 47, 63, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(135deg, #3aa660 0%, #52ea88 100%);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
    font-weight: bold;
}

.license-badge span {
    color: #a3a3a3;
    font-size: 0.75rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.copyright {
    color: #a3a3a3;
    font-size: 0.875rem;
    margin: 0;
}

.disclaimer {
    color: #525252;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 var(--spacing-md);
    }
    
    .site-header {
        padding: var(--spacing-sm) 0;
    }
    
    .header-content {
        padding-left: var(--spacing-sm);
    }
    
    .logo-text {
        font-size: var(--font-size-h2);
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 var(--spacing-sm);
    }
    
    .site-header {
        padding: var(--spacing-sm) 0;
    }
    
    .header-content {
        padding-left: var(--spacing-sm);
        justify-content: center; /* Center logo on mobile */
    }
    
    .logo-text {
        font-size: var(--font-size-h3);
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .main-navigation {
        top: 80px; /* Reduce offset for mobile */
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .site-main {
        padding: var(--spacing-xl) 0;
    }
    
    h1 {
        font-size: var(--font-size-h2);
    }
    
    h2 {
        font-size: var(--font-size-h3);
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .site-header {
        padding: var(--spacing-xs) 0;
    }
    
    .header-content {
        padding-left: var(--spacing-xs);
        justify-content: flex-start; /* Return logo to left */
    }
    
    .logo-text {
        font-size: var(--font-size-large);
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .main-navigation {
        top: 70px;
    }
    
    .site-main {
        padding: var(--spacing-lg) 0;
    }
    
    .site-footer {
        padding: var(--spacing-lg) 0;
    }
    
    h1 {
        font-size: var(--font-size-h3);
    }
    
    h2 {
        font-size: var(--font-size-large);
    }
    
    h3 {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .header-content {
        padding-left: var(--spacing-xs);
    }
    
    .logo-text {
        font-size: var(--font-size-base);
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .main-navigation {
        top: 60px;
    }
    
    .site-main {
        padding: var(--spacing-md) 0;
    }
    
    .site-footer {
        padding: var(--spacing-md) 0;
    }
}

@media (max-width: 360px) {
    .header-content {
        padding-left: var(--spacing-xs);
    }
    
    .logo-text {
        font-size: var(--font-size-small);
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .main-navigation {
        top: 55px;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .site-header {
        padding: var(--spacing-xs) 0;
    }
    
    .main-navigation {
        top: 50px;
    }
    
    .site-main {
        padding: var(--spacing-md) 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Print styles */
@media print {
    .site-header,
    .main-navigation,
    .site-footer {
        position: static;
        box-shadow: none;
    }
    
    .site-main {
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Specifically for first Elementor section */
.elementor-section:first-child {
    margin-top: 0;
    padding-top: 120px;
}

/* Additional styles for Elementor */
.elementor-page .elementor-top-section:first-child {
    padding-top: 120px !important;
}

/* Remove conflicts with Elementor layout */
.elementor-page .elementor {
    min-height: auto;
}

/* Styles for Elementor on mobile devices */
@media (max-width: 768px) {
    .elementor-location-single .elementor,
    .elementor-location-archive .elementor,
    .elementor-page .elementor {
        padding-top: 100px;
    }
    
    .elementor-section:first-child,
    .elementor-page .elementor-top-section:first-child {
        padding-top: 100px !important;
    }
}

/* Responsive footer for mobile devices */
@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0;
        margin-bottom: 3.125rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .responsible-gaming {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .age-warning {
        gap: 0.75rem;
    }
    
    .age-badge {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .responsible-text {
        font-size: 0.75rem;
        line-height: 1.5;
        display: block;
    }
    
    .licensing-info {
        margin-bottom: 1.5rem;
    }
    
    .licensing-info p {
        color: #a3a3a3;
        font-size: 0.75rem;
        line-height: 1.5;
    }
    
    /* Hide license badges on mobile */
    .license-badges {
        display: none;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .copyright {
        color: #737373;
        font-size: 0.75rem;
    }
    
    .disclaimer {
        color: #a3a3a3;
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }
}

/* Responsive header for mobile devices */
@media (max-width: 768px) {
    .header-content {
        padding-left: 1rem;
        padding-right: 1rem;
        min-height: 60px;
        justify-content: space-between !important; /* Fix layout */
        flex-direction: row !important; /* Ensure horizontal layout */
    }
    
    .logo-image {
        height: 60px;
        max-width: 200px;
    }
    
    /* Show mobile logo and hide desktop */
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
    }
    
    /* Fix button position */
    .header-actions {
        display: flex !important;
        align-items: center;
        margin-left: auto; /* Force to right */
    }
}

/* Footer Navigation Buttons */
.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.nav-button {
    background: #030A0D;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 300ms;
    text-decoration: none;
    display: block;
}

.nav-button:hover {
    background: rgba(58, 166, 96, 0.1);
    border-color: rgba(58, 166, 96, 0.3);
    transform: translateY(-2px);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button-content span {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.875rem;
}

/* Responsive Footer Buttons */
@media (max-width: 768px) {
    .footer-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-button {
        width: 100%;
        max-width: 300px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0a1e26;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2e8549, #3aa660, #2e8549);
    border-radius: 10px;
    border: 1px solid #2e8549;
}


