/* ===================================================
   SHMAHM FOOTBALL UNIVERSITY - ARENA DESIGN (NEON GREEN)
   =================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #08090c;
    color: #f1f1f1;
    overflow-x: hidden;
}

.university-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Top Navigation */
.univ-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(13, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 102, 0.3);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.univ-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid #00ff66;
    object-fit: cover;
}

.univ-header h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Desktop Navigation Links */
.desktop-nav {
    display: flex;
    gap: 8px;
}

.univ-link {
    color: #a0a5b5;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

.univ-link:hover {
    color: #ffffff;
    background-color: #12151e;
    border-color: #222736;
}

.univ-link.active {
    color: #00ff66;
    background-color: rgba(0, 255, 102, 0.1);
    border-color: rgba(0, 255, 102, 0.5);
    box-shadow: inset 0 0 10px rgba(0, 255, 102, 0.1);
}

/* Main Container */
.univ-container {
    max-width: 900px;
    margin: 32px auto;
    padding: 0 16px;
    width: 100%;
    flex: 1;
}

.block-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Search Bar Styling */
.search-section {
    margin-bottom: 24px;
}

.search-flex {
    display: flex;
    gap: 12px;
}

.univ-search-input {
    width: 100%;
    padding: 14px 20px;
    background-color: #12151e;
    border: 1px solid #222736;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.univ-search-input:focus {
    border-color: #00ff66;
}

.univ-reset-btn {
    background-color: #12151e;
    color: #00ff66;
    border: 1px solid #00ff66;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.univ-reset-btn:hover {
    background-color: rgba(0, 255, 102, 0.15);
    transform: translateY(-2px);
}

/* Dynamic Cards & Blocks */
.table-block, .match-card, .club-card {
    background-color: #12151e;
    border: 1px solid #222736;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s;
}

.table-block:hover, .match-card:hover, .club-card:hover {
    border-color: rgba(0, 255, 102, 0.4);
}

/* Developer-Mode Bereich in Einstellungen */
#devModeSettingsBlock {
    border-color: rgba(0, 255, 102, 0.35);
    background: linear-gradient(180deg, #12151e 0%, #0e1318 100%);
}

#openDevModeBtn {
    background-color: rgba(0, 255, 102, 0.12);
}

#openDevModeBtn:hover {
    background-color: #00ff66;
    color: #08090c;
    box-shadow: 0 0 14px rgba(0, 255, 102, 0.35);
}

.placeholder-text, .backend-info {
    color: #727b93;
    font-style: italic;
    text-align: center;
    padding: 24px;
}

.initial-message {
    text-align: center;
    padding: 40px;
    background-color: #12151e;
    border: 1px dashed #222736;
    border-radius: 12px;
    color: #727b93;
}

/* Tables Styling */
.univ-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.univ-table th, .univ-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #222736;
}

.univ-table th {
    color: #727b93;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Mobile Bottom Bar (Mobile Only) */
.univ-mobile-bar {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .univ-header {
        padding: 16px;
    }

    .univ-container {
        padding-bottom: 90px;
        margin: 16px auto;
    }

    .univ-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background-color: #0d0f14;
        border-top: 1px solid #222736;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #727b93;
        text-decoration: none;
        font-size: 0.75rem;
        gap: 3px;
        transition: color 0.2s;
    }

    .mobile-btn .icon {
        font-size: 1.2rem;
    }

    .mobile-btn.active {
        color: #00ff66;
        font-weight: 700;
    }
}