@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    z-index: -1;
}

/* Navbar */
.navbar {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.navbar-link:hover {
    color: #10b981;
}

.navbar-user {
    color: #fff;
    font-weight: 700;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.navbar-validity {
    color: #10b981;
    font-size: 12px;
    font-weight: 600;
}

.navbar-logout {
    color: #ef4444;
}

/* Flash Messages */
.flash-messages {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.flash {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.flash-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Auth Container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    font-size: 48px;
    margin-bottom: 12px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6b7280;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-footer a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #0d0d14;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-danger {
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-danger:hover {
    background: #ef4444;
    color: #fff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.inline-form {
    display: inline-block;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 800;
}

.bets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.bet-card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.bet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.bet-id {
    font-size: 18px;
    font-weight: 800;
    color: #8b5cf6;
}

.bet-status {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-completed {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.bet-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.bet-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bet-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bet-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.bet-progress {
    margin-bottom: 20px;
}

.bet-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.bet-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 10px;
    transition: width 1s ease;
}

.bet-actions {
    display: flex;
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 24px;
}

/* Form Container */
.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.form-header p {
    color: #6b7280;
    font-size: 14px;
}

.bet-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.input-wrapper {
    position: relative;
}

.input-wrapper .prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 700;
    color: #10b981;
    pointer-events: none;
}

.input-wrapper .suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    pointer-events: none;
}

.input-wrapper input.has-prefix {
    padding-left: 46px;
}

.input-wrapper input.has-suffix {
    padding-right: 50px;
}

.quick-amounts {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.quick-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.checkbox-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checkbox-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-text small {
    color: #6b7280;
    font-size: 12px;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

/* Admin Dashboard */
.admin-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.admin-header h1 {
    font-size: 32px;
    font-weight: 800;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stat-icon {
    font-size: 40px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #10b981;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.admin-section {
    margin-bottom: 48px;
}

.admin-section h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
}

.users-table,
.bets-table {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(255, 255, 255, 0.02);
}

th {
    padding: 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
}

.badge-admin {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.badge-valid {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-expired {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.badge-unlimited {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.profit-cell {
    font-weight: 700;
    color: #10b981;
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.progress-bar-small {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

/* Container for bet view */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    max-width: 520px;
}

.sidebar {
    width: 320px;
    position: sticky;
    top: 20px;
    display: none;
}

.sidebar.active {
    display: block;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.progress-card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.05);
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-header h3 {
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box {
    margin-bottom: 20px;
}

.stat-box:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: block;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.stat-value.green {
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-reset-progress {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.btn-reset-progress:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* Header */
.header {
    text-align: center;
    padding: 30px 0 10px;
}

.header .logo {
    font-size: 40px;
    margin-bottom: 8px;
}

.header h1 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #10b981, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.header p {
    color: #6b7280;
    font-size: 14px;
    margin-top: 6px;
    font-weight: 400;
}

/* Card */
.card {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px 24px;
    margin-top: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-summary {
    display: grid;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0d0d14;
    border-radius: 10px;
}

.info-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
}

/* Results */
.results-container {
    display: none;
    margin-top: 24px;
    animation: slideUp 0.5s ease;
}

.results-container.visible {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Summary Cards */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-item {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 16px;
    text-align: center;
}

.summary-item.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
    border-color: rgba(16, 185, 129, 0.2);
    grid-column: 1 / -1;
}

.summary-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
}

.summary-item .value {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.summary-item.highlight .value {
    font-size: 28px;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-item .sub {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    margin-top: 4px;
}

/* Rounds Table */
.rounds-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rounds-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.rounds-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.round-item {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 36px 1fr auto;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeIn 0.4s ease both;
}

.round-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: #111118;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.round-number {
    width: 36px;
    height: 36px;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #8b5cf6;
}

.round-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.round-info .round-bet {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.round-info .round-bet span {
    color: #9ca3af;
    font-weight: 700;
}

.round-result {
    text-align: right;
}

.round-result .value {
    font-size: 16px;
    font-weight: 800;
    color: #10b981;
}

.round-result .profit {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 2px;
}

.round-result .profit span {
    color: #10b981;
    font-weight: 700;
}

/* Done status */
.round-item.is-done {
    opacity: 0.45;
    filter: grayscale(0.5);
    border-color: rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.02);
}

.round-item.is-done .round-number {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.round-item.is-done .value,
.round-item.is-done .round-bet span {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Failed status */
.round-item.is-failed {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.round-item.is-failed .round-number {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.round-item.is-failed .round-check {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.round-item.is-failed .value {
    color: #ef4444 !important;
    text-decoration: line-through;
}

.round-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: transparent;
    font-size: 12px;
    margin-right: 4px;
}

.round-item.is-done .round-check {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.round-item:not(.is-done):hover .round-check {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Profit bar */
.profit-bar-container {
    margin-top: 20px;
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 16px;
}

.profit-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.profit-bar-label span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profit-bar-label strong {
    font-size: 14px;
    color: #10b981;
    font-weight: 700;
}

.profit-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.profit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 10px;
    width: 0%;
    transition: width 1s ease;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 16px;
    color: #374151;
    font-size: 11px;
    font-weight: 500;
}

/* Buttons */
.btn-generate {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: #10b981;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-generate:hover {
    background: #10b981;
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: linear-gradient(145deg, #13131a, #1a1a24);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    max-height: 85vh;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    margin-bottom: 24px;
    text-align: center;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.modal-header p {
    font-size: 13px;
    color: #6b7280;
}

/* Scrollable content area */
.modal-body {
    overflow-y: auto;
    flex: 1;
    padding-right: 8px;
    margin-bottom: 20px;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 10px;
}

.modal-footer {
    flex-shrink: 0;
    text-align: center;
    margin-top: 20px;
}

.game-card {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.game-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Combination Cards */
.combo-card {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.combo-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.combo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.combo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-number {
    font-size: 14px;
    font-weight: 800;
    color: #8b5cf6;
}

.combo-odd {
    font-size: 18px;
    font-weight: 800;
    color: #10b981;
}

.combo-confidence {
    font-size: 14px;
}

.combo-games {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.combo-game {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.combo-game-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.combo-game-league {
    font-size: 9px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.combo-game-teams {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.combo-game-tip {
    font-size: 11px;
    color: #a78bfa;
    font-weight: 600;
}

.combo-game-odd {
    font-size: 14px;
    font-weight: 800;
    color: #10b981;
    flex-shrink: 0;
    margin-left: 12px;
}

.combo-select-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: #10b981;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.combo-select-btn:hover {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.combo-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.combo-copy-btn {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #3b82f6;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.combo-copy-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.combo-result-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.result-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #6b7280;
}

.result-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.result-btn.active {
    border-color: transparent;
}

.result-btn-win.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.result-btn-loss.active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.result-btn-reset {
    margin-left: auto;
}

.result-btn-reset:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

/* Admin Results Modal */
.result-game-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    margin-bottom: 12px;
}

.result-game-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.result-game-league {
    font-size: 9px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.result-game-teams {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.result-game-tip {
    font-size: 11px;
    color: #a78bfa;
    font-weight: 600;
}

.result-game-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.result-game-btn {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #6b7280;
}

.result-game-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.result-game-btn.active {
    border-color: transparent;
}

.result-game-btn.result-game-win.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.result-game-btn.result-game-loss.active {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.confidence-muito_alta {
    color: #fbbf24;
}

/* Round Status Actions */
.round-status-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.confidence-alta {
    color: #10b981;
}

.confidence-media {
    color: #f59e0b;
}

.confidence-baixa {
    color: #ef4444;
}

.game-card .league {
    font-size: 10px;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.game-card .teams {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-card .prediction {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.game-card .prediction-type {
    font-size: 12px;
    color: #9ca3af;
}

.game-card .odd {
    font-size: 14px;
    font-weight: 800;
    color: #10b981;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-calculate {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 520px;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        order: -1;
    }

    .bets-grid {
        grid-template-columns: 1fr;
    }

    .stats-overview {
        grid-template-columns: 1fr 1fr;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 10px;
}