@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

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

body {
    font-family: 'Audiowide', cursive;
    background-color: #151619;
    background-image: url('https://ext.same-assets.com/1265352497/3608580014.jpeg');
    background-attachment: fixed;
    background-size: cover;
    color: #c9c8ce;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sidebar Menu */
.meniu {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: rgba(21, 22, 25, 0.95);
    border-right: 2px solid #35445c;
    overflow-y: auto;
    z-index: 1000;
}

.meniu .logo {
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #35445c;
}

.meniu .logo h2 {
    color: #fff;
    font-size: 24px;
    letter-spacing: 2px;
}

.meniu .logo a {
    text-decoration: none;
}

.meniu ul {
    list-style: none;
    padding: 0;
}

.meniu ul a {
    text-decoration: none;
    color: #c9c8ce;
    display: block;
}

.meniu ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #2e3e4b;
    transition: all 0.3s ease;
}

.meniu ul li:hover {
    background: #35445c;
    padding-left: 30px;
}

.meniu ul li i {
    margin-right: 10px;
}

/* Userbar */
.userbar {
    position: fixed;
    right: 0;
    top: 0;
    padding: 15px 30px;
    background: rgba(21, 22, 25, 0.95);
    border-bottom: 2px solid #35445c;
    z-index: 999;
}

.userbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.userbar ul a {
    text-decoration: none;
    color: #c9c8ce;
}

.userbar ul li {
    cursor: pointer;
    transition: color 0.3s ease;
}

.userbar ul li:hover {
    color: #fff;
}

.userbar ul li i {
    margin-right: 5px;
}

/* Content */
.content {
    margin-left: 250px;
    margin-top: 80px;
    padding: 30px;
    flex: 1;
}

/* Tables */
.tabel {
    width: 100%;
    border-collapse: collapse;
    background: rgba(21, 22, 25, 0.9);
    border: 2px solid #35445c;
    margin-bottom: 20px;
}

.tabel thead th {
    background: #35445c;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-size: 16px;
}

.tabel tbody th {
    background: #2e3e4b;
    color: #c9c8ce;
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    width: 25%;
}

.tabel tbody td {
    background: rgba(21, 22, 25, 0.8);
    color: #c9c8ce;
    padding: 12px 15px;
    border-top: 1px solid #2e3e4b;
}

/* Footer */
footer {
    margin-left: 250px;
    margin-top: auto;
}

.footer {
    background: rgba(21, 22, 25, 0.95);
    border-top: 2px solid #35445c;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    color: #c9c8ce;
}

.footer .blue {
    color: #4a90e2;
}

.footer .red {
    color: #e74c3c;
}

/* Modal Styles */
.modal-content {
    background: #2e3e4b;
    border: 2px solid #35445c;
    color: #c9c8ce;
}

.modal-header {
    border-bottom: 1px solid #35445c;
    background: #35445c;
}

.modal-title {
    color: #fff;
}

.modal-footer {
    border-top: 1px solid #35445c;
}

.close {
    color: #fff;
    opacity: 0.8;
}

.close:hover {
    color: #fff;
    opacity: 1;
}

/* Form Controls */
.form-control {
    background: rgba(21, 22, 25, 0.8);
    border: 1px solid #35445c;
    color: #c9c8ce;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}

.form-control:focus {
    background: rgba(21, 22, 25, 0.9);
    border-color: #4a90e2;
    color: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #6f666e;
}

.input-m {
    width: 80%;
    max-width: 400px;
}

.input-xxl {
    width: 80%;
    max-width: 500px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Audiowide', cursive;
    transition: all 0.3s ease;
}

.btn-success {
    background: #27ae60;
    color: #fff;
}

.btn-success:hover {
    background: #2ecc71;
}

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

.btn-danger:hover {
    background: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
    .meniu {
        width: 100%;
        height: auto;
        position: relative;
    }

    .content {
        margin-left: 0;
        margin-top: 20px;
    }

    footer {
        margin-left: 0;
    }

    .userbar {
        position: relative;
        text-align: center;
    }
}

/* Countdown */
#countdown {
    color: #4a90e2;
    font-weight: bold;
}

/* Center text */
center {
    margin: 20px 0;
}

center p {
    color: #c9c8ce;
    font-size: 14px;
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.2);
    border-color: #27ae60;
    color: #2ecc71;
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #e74c3c;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.2);
    border-color: #f39c12;
    color: #f39c12;
}

.alert-info {
    background-color: rgba(74, 144, 226, 0.2);
    border-color: #4a90e2;
    color: #4a90e2;
}

/* Mini-Jocuri Section Styles */
.meniu ul li.games-header {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: #fff !important;
    font-weight: bold;
    border-bottom: 2px solid #ff6b00;
    cursor: default;
}

.meniu ul li.games-header:hover {
    padding-left: 20px !important;
}

/* Game Container Styles */
.page-content {
    width: 100%;
}

.game-container {
    background: rgba(21, 22, 25, 0.95);
    border: 2px solid #35445c;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.3);
}

.game-container iframe {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* Game Menu Items Highlight */
.meniu ul a[href*="blackjack"] li,
.meniu ul a[href*="casino"] li,
.meniu ul a[href*="roata"] li,
.meniu ul a[href*="ruleta"] li,
.meniu ul a[href*="ghiceste"] li {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.meniu ul a[href*="blackjack"] li:hover,
.meniu ul a[href*="casino"] li:hover,
.meniu ul a[href*="roata"] li:hover,
.meniu ul a[href*="ruleta"] li:hover,
.meniu ul a[href*="ghiceste"] li:hover {
    border-left: 3px solid #ff6b00;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1) 0%, #35445c 100%);
}

/* Support/Ticket Menu Items Highlight */
.meniu ul a[href*="tichet"] li,
.meniu ul a[href*="deschide-tichet"] li {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.meniu ul a[href*="tichet"] li:hover,
.meniu ul a[href*="deschide-tichet"] li:hover {
    border-left: 3px solid #3498db;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, #35445c 100%);
}
