/**
 * PrimeBet - Football Prediction Platform
 * Dark Theme Styles
 */

/* Root Variables */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --primary-color: #22c55e;
    --primary-hover: #16a34a;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --success-color: #22c55e;
    --border-color: #334155;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-primary);
    min-height: 60vh;
    padding: 40px 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-hover);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Styles */
.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
}

.card-header {
    background-color: var(--bg-tertiary);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
}

.card-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #16a34a;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.125rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table thead {
    background-color: var(--bg-tertiary);
}

.table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.table tbody tr:hover {
    background-color: var(--bg-tertiary);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(51, 65, 85, 0.5);
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: transparent;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
}

.badge-info {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--info-color);
}

.badge-primary {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1055;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-dialog {
    max-width: 500px;
    width: 90%;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 90vh;
    overflow-y: auto;
    pointer-events: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-tertiary);
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Bootstrap btn-close override */
.btn-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.btn-close:hover {
    color: var(--text-primary);
    opacity: 1;
}

.modal-body {
    padding: 20px;
    background-color: var(--bg-secondary);
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background-color: var(--bg-tertiary);
    border-radius: 0 0 12px 12px;
}

/* Alert */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--info-color);
    color: var(--info-color);
}

/* Navigation */
.navbar {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    z-index: 100;
    box-shadow: var(--card-shadow);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--bg-tertiary);
}

/* Tabs */
.nav-tabs {
    display: flex;
    list-style: none;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    background-color: var(--bg-secondary);
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.nav-tabs .nav-link:hover {
    color: #22c55e;
    border-bottom-color: #22c55e;
}

.nav-tabs .nav-link.active {
    color: #22c55e;
    background-color: var(--bg-tertiary);
    border-bottom: 2px solid #22c55e;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stat-card-users {
    border-left: 4px solid var(--info-color);
}

.stat-card-matches {
    border-left: 4px solid var(--warning-color);
}

.stat-card-revenue {
    border-left: 4px solid var(--success-color);
}

.stat-card-visits {
    border-left: 4px solid var(--info-color);
}

.stat-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    opacity: 0.15;
    color: var(--text-primary);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    margin-top: 4px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-sub {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-sub .active {
    color: var(--success-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .expired {
    color: var(--danger-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .won {
    color: var(--success-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .lost {
    color: var(--danger-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .pending {
    color: var(--warning-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .visits {
    color: var(--info-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .revenue-today {
    color: var(--success-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-sub .revenue-total {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.revenue-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.revenue-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.revenue-item:last-child {
    border-bottom: none;
}

.revenue-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.revenue-value {
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 600;
}

.revenue-total {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Admin Navigation */
.admin-nav {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.nav-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.nav-btn:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.nav-btn.logout {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
}

.nav-btn.logout:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

/* Table Header Background */
.table-header-bg {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.table-header-bg th {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* User Details Panel */
.user-details-panel {
    background-color: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    margin: 8px 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.detail-item {
    padding: 8px 0;
    border-bottom: none;
    flex: 1 1 auto;
    min-width: 150px;
}

.detail-item strong {
    color: var(--text-secondary);
    margin-right: 8px;
}

.detail-item {
    color: var(--success-color);
}

/* Chart Toggle Buttons */
.chart-toggle-buttons {
    display: flex;
    gap: 8px;
}

.chart-toggle {
    padding: 6px 16px;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.3s;
}

.chart-toggle:hover {
    transform: translateY(-1px);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.action-buttons .btn {
    padding: 4px 8px;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .stat-card {
        padding: 12px;
        min-height: 100px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-sub {
        gap: 8px;
    }

    .stat-sub span {
        font-size: 0.75rem;
    }

    .admin-nav {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.875rem;
    }

    .table {
        font-size: 0.875rem;
    }

    .table th,
    .table td {
        padding: 8px 12px;
    }

    .user-details-panel {
        flex-direction: column;
        gap: 12px;
    }

    .detail-item {
        min-width: 100%;
    }

    .modal-dialog {
        width: 95%;
        margin: 0.5rem auto;
    }

    .modal-dialog-centered {
        min-height: calc(100% - 1rem);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-responsive {
        overflow-x: auto;
    }

    .table th,
    .table td {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 16px;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #16a34a 100%) !important;
}

/* Form Control Large */
.form-control-lg {
    padding: 16px 20px;
    font-size: 1.125rem;
}

.form-select-lg {
    padding: 16px 20px;
    font-size: 1.125rem;
}

/* Border Utilities */
.border-0 {
    border: none !important;
}

.border-2 {
    border-width: 2px !important;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Typography Utilities */
.fw-semibold {
    font-weight: 600 !important;
}

.small {
    font-size: 0.875rem !important;
}

/* White Theme Form Overrides */
.bg-white .form-control,
.bg-white .form-select {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
    color: #212529 !important;
}

.bg-white .form-control:focus,
.bg-white .form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--primary-color) !important;
    color: #212529 !important;
}

.bg-white .form-control::placeholder {
    color: #6c757d !important;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #1a472a 0%, #2d5a3f 30%, #1e3a2f 70%, #0f2a1f 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Field Lines Pattern */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 49%,
            rgba(255, 255, 255, 0.03) 49%,
            rgba(255, 255, 255, 0.03) 51%,
            transparent 51%,
            transparent 100%
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 49%,
            rgba(255, 255, 255, 0.03) 49%,
            rgba(255, 255, 255, 0.03) 51%,
            transparent 51%,
            transparent 100%
        );
    pointer-events: none;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orb-float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    opacity: 0.15;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4ade80 0%, transparent 70%);
    top: 50%;
    right: -100px;
    animation-delay: -5s;
    opacity: 0.2;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #22c55e 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
    opacity: 0.25;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #ffffff 0%, transparent 70%);
    top: 30%;
    left: 20%;
    animation-delay: -15s;
    opacity: 0.1;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 30px) scale(1.1);
    }
    50% {
        transform: translate(30px, -50px) scale(0.9);
    }
    75% {
        transform: translate(-30px, 20px) scale(1.05);
    }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: shape-rotate 30s linear infinite;
}

/* Football pattern overlay */
.floating-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 15%;
    animation-duration: 25s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 10%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 30%;
    animation-duration: 35s;
}

@keyframes shape-rotate {
    0% {
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(90deg) translateX(20px);
    }
    50% {
        transform: rotate(180deg) translateX(0);
    }
    75% {
        transform: rotate(270deg) translateX(-20px);
    }
    100% {
        transform: rotate(360deg) translateX(0);
    }
}

/* Particle Field */
.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: particle-rise 15s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 16s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 13s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 15s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 11s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 18s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 19s; }
.particle:nth-child(10) { left: 15%; animation-delay: 1s; animation-duration: 20s; }
.particle:nth-child(11) { left: 25%; animation-delay: 3s; animation-duration: 21s; }
.particle:nth-child(12) { left: 35%; animation-delay: 5s; animation-duration: 22s; }
.particle:nth-child(13) { left: 45%; animation-delay: 7s; animation-duration: 23s; }
.particle:nth-child(14) { left: 55%; animation-delay: 9s; animation-duration: 24s; }
.particle:nth-child(15) { left: 65%; animation-delay: 11s; animation-duration: 25s; }
.particle:nth-child(16) { left: 75%; animation-delay: 13s; animation-duration: 26s; }
.particle:nth-child(17) { left: 85%; animation-delay: 15s; animation-duration: 27s; }
.particle:nth-child(18) { left: 5%; animation-delay: 17s; animation-duration: 28s; }
.particle:nth-child(19) { left: 95%; animation-delay: 19s; animation-duration: 29s; }
.particle:nth-child(20) { left: 50%; animation-delay: 21s; animation-duration: 30s; }

@keyframes particle-rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.3);
    animation: title-fade-in 1s ease-out;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 400;
    animation: title-fade-in 1s ease-out 0.3s backwards;
}

.hero-button {
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border: 2px solid #22c55e;
    color: #1a472a;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(34, 197, 94, 0.3);
    animation: button-fade-in 1s ease-out 0.6s backwards;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    border-color: #ffffff;
}

@keyframes title-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes button-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-button {
        padding: 8px 24px;
        font-size: 0.95rem;
    }

    .orb-1,
    .orb-2 {
        width: 250px;
        height: 250px;
    }

    .orb-3,
    .orb-4 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 280px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .orb-1,
    .orb-2 {
        width: 200px;
        height: 200px;
    }

    .orb-3,
    .orb-4 {
        width: 140px;
        height: 140px;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }
}
