/* style.css (aktualisiert für profile.php, admin.php, dashboard.php) */
body {
    background: #12121f;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.dash-header {
    background: #1a1a2e;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.header-logo {
    width: 50px;
}
.header-nav {
    display: flex;
    gap: 10px;
}
.profile-pic {
    width: 80px;
    border-radius: 50%;
    margin: 10px auto;
    display: block;
    border: 2px solid #00d4ff;
}
.btn {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn.small {
    padding: 5px 10px;
    font-size: 12px;
}
.profile-btn {
    background: #1a1a2e;
}
.logout-btn, .delete-btn {
    background: #ff6b6b;
}
.admin-btn, .payout-btn, .chat-send, .cta-btn, .play-btn {
    background: #00d4ff;
    color: #000;
}
.cta-btn {
    background: linear-gradient(90deg, #00d4ff, #007bff);
    padding: 12px 24px;
    font-size: 16px;
}
.cta-btn:hover {
    background: linear-gradient(90deg, #007bff, #00d4ff);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}
.copy-btn {
    background: #2a2a3e;
    color: #00d4ff;
    padding: 8px 16px;
    margin-left: 10px;
}
.copy-btn:hover {
    background: #00d4ff;
    color: #000;
}
.profile-tabs, .dash-tabs, .network-tabs, .admin-tabs {
    text-align: center;
    margin: 20px 0;
}
.profile-tabs .tab-btn, .dash-tabs .tab-btn, .network-tabs .tab-btn, .admin-tabs .tab-btn {
    padding: 12px 24px;
    font-size: 16px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}
.profile-tabs .tab-btn.active, .dash-tabs .tab-btn.active, .network-tabs .tab-btn.active, .admin-tabs .tab-btn.active {
    background: #00d4ff;
    color: #000;
}
.tab-content {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}
.profile-container {
    background: #2a2a3e;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ccc;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
}
.form-group input:focus, .form-group select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    outline: none;
}
.form-group input[type="file"] {
    padding: 5px;
}
.success {
    background: #4CAF50;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    animation: slideIn 0.5s ease;
}
.error {
    background: #ff6b6b;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    list-style: none;
}
.error li {
    margin: 5px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}
.stat-card {
    background: #2a2a3e;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.referral-link, .referral-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}
.referral-link code, .referral-section code {
    background: #1a1a2e;
    padding: 8px;
    border-radius: 8px;
    flex-grow: 1;
    text-align: center;
}
.settings-section {
    margin-top: 20px;
}
.notifications-section {
    margin: 20px 0;
}
.notification-list {
    list-style: none;
    padding: 0;
}
.notification-list li {
    background: #2a2a3e;
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
}
.notification-list .date {
    color: #00d4ff;
    font-size: 12px;
    margin-right: 10px;
}
.achievements-section {
    margin: 20px 0;
}
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.achievement-card {
    background: #2a2a3e;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}
.badge-img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.search-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.search-filter input, .search-filter select {
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
}
.search-filter input:focus, .search-filter select:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.network-container {
    background: #2a2a3e;
    padding: 15px;
    border-radius: 8px;
    min-height: 200px;
}
.network-container iframe, .network-container * {
    box-sizing: border-box;
    max-width: 100%;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.game-card {
    background: #2a2a3e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.game-card:hover {
    transform: translateY(-5px);
}
.game-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.game-info {
    padding: 15px;
}
.game-info h3 {
    margin: 0 0 10px;
}
.desc {
    color: #ccc;
    font-size: 14px;
}
.coin {
    color: #00d4ff;
    font-weight: bold;
    display: block;
    margin: 10px 0;
}
.play-btn {
    display: inline-block;
    text-align: center;
    width: 100%;
}
.activity-list {
    list-style: none;
    padding: 0;
}
.activity-list li {
    background: #2a2a3e;
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
}
.activity-list .date {
    color: #00d4ff;
    font-size: 12px;
    margin-right: 10px;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: #2a2a3e;
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background: #1a1a2e;
    color: #00d4ff;
}
tr:nth-child(even) {
    background: #25253a;
}
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.chat-toggle {
    background: #00d4ff;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.chat-box {
    background: #1a1a2e;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}
.chat-header {
    background: #2a2a3e;
    padding: 10px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-close {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 16px;
    cursor: pointer;
}
.chat-messages {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    flex-grow: 1;
}
.chat-message {
    display: flex;
    margin-bottom: 10px;
}
.chat-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
.chat-content {
    flex-grow: 1;
}
.chat-content strong {
    color: #00d4ff;
}
.chat-date {
    font-size: 12px;
    color: #ccc;
}
.chat-actions {
    display: flex;
    gap: 5px;
}
.chat-action-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 14px;
}
.chat-form {
    display: flex;
    padding: 10px;
    background: #2a2a3e;
    border-radius: 0 0 12px 12px;
}
.chat-form input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #1a1a2e;
    color: #fff;
}
.chat-form input:focus {
    border-color: #00d4ff;
}
.footer {
    text-align: center;
    padding: 20px;
    background: #1a1a2e;
    color: #ccc;
    font-size: 14px;
}
.footer a {
    color: #00d4ff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .header-nav { margin-top: 10px; }
    .profile-tabs .tab-btn, .dash-tabs .tab-btn, .network-tabs .tab-btn, .admin-tabs .tab-btn { font-size: 14px; padding: 10px 15px; }
    .profile-container { padding: 15px; }
    .form-group input, .form-group select { font-size: 12px; }
    .stats-grid, .achievements-grid, .grid { grid-template-columns: 1fr; }
    .chat-box { width: 100%; right: 0; bottom: 0; }
    table { font-size: 12px; }
    th, td { padding: 8px; }
}