/* GDDMaker Gaming Theme - Modern Dark Mode */
/* Gaming-inspired design with neon accents and cyberpunk aesthetics */
/* Updated for Bootstrap 5 compatibility */

:root {
    /* Gaming Color Palette */
    --gaming-primary: #00d4ff;      /* Electric Blue - Primary accent */
    --gaming-secondary: #ff6b35;    /* Neon Orange - Secondary accent */
    --gaming-accent: #8c52ff;       /* Purple - Special highlights */
    --gaming-success: #00ff88;      /* Neon Green - Success/completion */
    --gaming-warning: #ffd700;      /* Gold - Warnings/rarity */
    --gaming-danger: #ff4757;       /* Neon Red - Errors/danger */
    --gaming-info: #3742fa;         /* Blue - Info */
    
    /* Dark Backgrounds */
    --bg-primary: #0a0a0a;          /* Deep black */
    --bg-secondary: #1a1a1a;        /* Dark gray */
    --bg-tertiary: #2a2a2a;         /* Medium gray */
    --bg-card: #1e1e1e;             /* Card background */
    --bg-overlay: rgba(0, 0, 0, 0.8); /* Overlay background */
    
    /* Text Colors */
    --text-primary: #ffffff;        /* Pure white */
    --text-secondary: #b0b0b0;      /* Light gray */
    --text-muted: #808080;          /* Medium gray */
    --text-accent: #00d4ff;         /* Electric blue for links */
    
    /* Borders and Shadows */
    --border-color: #333333;        /* Dark borders */
    --border-accent: #00d4ff;       /* Accent borders */
    --shadow-light: 0 2px 10px rgba(0, 212, 255, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 212, 255, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #8c52ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --gradient-card: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

/* Global Gaming Theme Overrides */
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Orbitron', 'Rajdhani', 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gaming Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

h1 { font-size: 2.5rem; color: var(--gaming-primary); }
h2 { font-size: 2rem; color: var(--gaming-primary); }
h3 { font-size: 1.5rem; color: var(--text-primary); }
h4 { font-size: 1.25rem; color: var(--text-secondary); }

/* Gaming Buttons - Bootstrap 5 Compatible */
.btn {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 5px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border-color: var(--gaming-primary);
    box-shadow: var(--shadow-light);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--gaming-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-secondary {
    background: var(--gradient-secondary);
    border-color: var(--gaming-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--gaming-secondary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-success {
    background: var(--gaming-success);
    border-color: var(--gaming-success);
    color: var(--bg-primary);
}

.btn-warning {
    background: var(--gaming-warning);
    border-color: var(--gaming-warning);
    color: var(--bg-primary);
}

/* Gaming Cards - Bootstrap 5 Compatible */
.card, .single-ticket, .achievement-card, .feature-card, .benefit-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card::before, .single-ticket::before, .achievement-card::before, .feature-card::before, .benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before, .single-ticket:hover::before, .achievement-card:hover::before, .feature-card:hover::before, .benefit-card:hover::before {
    transform: scaleX(1);
}

.card:hover, .single-ticket:hover, .achievement-card:hover, .feature-card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-accent);
}

/* Feature and Benefit Cards Specific Styles */
.feature-card, .benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card::before, .benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before, .benefit-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover, .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--gaming-primary);
}

.feature-icon, .benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon, .benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.feature-title, .benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.feature-description, .benefit-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 1rem;
}

/* Bootstrap 5 Grid Enhancements */
.row-cols-1 > * {
    flex: 0 0 auto;
    width: 100%;
}

.row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
}

.row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.333333%;
}

@media (max-width: 767.98px) {
    .row-cols-md-2 > * {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .row-cols-lg-3 > * {
        width: 50%;
    }
}

/* Equal Height Grid Utilities */
.h-100 {
    height: 100% !important;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-grow-1 {
    flex-grow: 1 !important;
}

/* Gaming Navigation - Bootstrap 5 Compatible */
.navbar {
    background: var(--bg-secondary) !important;
    border-bottom: 2px solid var(--gaming-primary);
    box-shadow: var(--shadow-light);
}

.navbar-brand {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--gaming-primary) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gaming-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--gaming-primary) !important;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Bootstrap 5 Dropdown Styles */
.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 1000 !important;
    background: var(--bg-secondary);
    border: 2px solid var(--gaming-primary);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    padding: 10px 0;
    min-width: 200px;
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--gaming-primary);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    text-decoration: none;
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 10px 0;
}

/* Gaming Forms - Bootstrap 5 Compatible */
.form-control {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Rajdhani', 'Arial', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--bg-tertiary);
    border-color: var(--gaming-primary);
    box-shadow: var(--shadow-light);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Gaming Tables - Bootstrap 5 Compatible */
.table {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: var(--bg-tertiary);
    color: var(--gaming-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gaming-primary);
}

.table td {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Gaming Badges - Bootstrap 5 Compatible */
.badge {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 15px;
    padding: 5px 12px;
    font-size: 0.75rem;
}

.badge-info {
    background: var(--gaming-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

.badge-success {
    background: var(--gaming-success);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

.badge-warning {
    background: var(--gaming-warning);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

.badge-danger {
    background: var(--gaming-danger);
    color: var(--bg-primary);
    box-shadow: var(--shadow-light);
}

/* Gaming Alerts - Bootstrap 5 Compatible */
.alert {
    border-radius: 10px;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert-primary {
    background: var(--bg-secondary);
    color: var(--gaming-primary);
    border-left: 4px solid var(--gaming-primary);
}

.alert-success {
    background: var(--bg-secondary);
    color: var(--gaming-success);
    border-left: 4px solid var(--gaming-success);
}

.alert-warning {
    background: var(--bg-secondary);
    color: var(--gaming-warning);
    border-left: 4px solid var(--gaming-warning);
}

.alert-danger {
    background: var(--bg-secondary);
    color: var(--gaming-danger);
    border-left: 4px solid var(--gaming-danger);
}

/* Gaming Modals - Bootstrap 5 Compatible */
.modal-content {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 2px solid var(--gaming-primary);
    background: var(--bg-tertiary);
}

.modal-title {
    color: var(--gaming-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-footer {
    border-top: 2px solid var(--border-color);
    background: var(--bg-tertiary);
}

/* Gaming Footer */
.footer-area {
    background: var(--bg-secondary);
    border-top: 2px solid var(--gaming-primary);
}

.footer-text {
    color: var(--text-secondary);
}

.footer-text a {
    color: var(--gaming-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-text a:hover {
    color: var(--gaming-secondary);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Gaming Animations */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.8); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

/* Gaming Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gaming-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gaming-secondary);
}

/* Gaming Loading Spinner */
.spinner {
    border: 3px solid var(--bg-secondary);
    border-top: 3px solid var(--gaming-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gaming Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card, .single-ticket, .achievement-card {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Gaming Utility Classes */
.text-gaming-primary { color: var(--gaming-primary) !important; }
.text-gaming-secondary { color: var(--gaming-secondary) !important; }
.text-gaming-success { color: var(--gaming-success) !important; }
.text-gaming-warning { color: var(--gaming-warning) !important; }
.text-gaming-danger { color: var(--gaming-danger) !important; }

.bg-gaming-primary { background: var(--gaming-primary) !important; }
.bg-gaming-secondary { background: var(--gaming-secondary) !important; }
.bg-gaming-success { background: var(--gaming-success) !important; }
.bg-gaming-warning { background: var(--gaming-warning) !important; }
.bg-gaming-danger { background: var(--gaming-danger) !important; }

.border-gaming-primary { border-color: var(--gaming-primary) !important; }
.border-gaming-secondary { border-color: var(--gaming-secondary) !important; }
.border-gaming-success { border-color: var(--gaming-success) !important; }
.border-gaming-warning { border-color: var(--gaming-warning) !important; }
.border-gaming-danger { border-color: var(--gaming-danger) !important; }

/* Gaming Overlay Effects */
.gaming-overlay {
    position: relative;
}

.gaming-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gaming-overlay:hover::after {
    opacity: 1;
}

/* Bootstrap 5 Specific Fixes */
.navbar-toggler {
    border: 2px solid var(--gaming-primary);
    color: var(--gaming-primary);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 212, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Container and Grid Fixes */
.container {
    max-width: 1200px;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
    padding-left: 15px;
    padding-right: 15px;
}
