* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #0f0f12;
    color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 15px 15px 80px 15px;
}

.app-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Header */
header {
    text-align: center;
    padding: 5px 0;
}

.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.logo-box h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
}

.logo-box h1 span {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-box p {
    color: #8a8a93;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Cards & Styling */
.card {
    background: #18181f;
    border: 1px solid #282832;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-gradient {
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 9, 121, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-gradient:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(238, 9, 121, 0.2);
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.ip-card {
    text-align: center;
}

.ip-text {
    font-size: 0.75rem;
    color: #777785;
    margin-top: 8px;
    display: block;
}

/* Tabs Logic */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Status Items */
.status-container h3, .news-card h3, .banner-card h3 {
    font-size: 0.95rem;
    color: #ff6a00;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #22222d;
}

.server-item:last-child {
    border-bottom: none;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.server-players {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #555;
}

.status-dot.online {
    background-color: #00e676;
    box-shadow: 0 0 10px #00e676;
}

.status-dot.offline {
    background-color: #ff3d00;
    box-shadow: 0 0 10px #ff3d00;
}

/* Tutorial & Banner */
.banner-card {
    background: linear-gradient(135deg, rgba(255,106,0,0.1), rgba(238,9,121,0.1));
    border-color: #ff6a00;
    margin-bottom: 15px;
}

.release-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ee0979;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tutorial-step {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.tutorial-step .num {
    background: #ff6a00;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tutorial-step p {
    font-size: 0.85rem;
    color: #ccc;
}

.tutorial-step ul {
    list-style: none;
    margin-top: 5px;
    background: #111116;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.tutorial-step ul li {
    margin: 3px 0;
}

.tutorial-step code {
    background: #1d1d26;
    color: #ff6a00;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Grid Links & News */
.grid-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.news-item {
    background: #111116;
    border-radius: 10px;
    padding: 10px;
    border-left: 3px solid #ff6a00;
}

.news-date {
    font-size: 0.7rem;
    color: #ee0979;
    font-weight: 700;
}

.news-item h4 {
    font-size: 0.9rem;
    margin: 2px 0;
}

.news-item p {
    font-size: 0.78rem;
    color: #999;
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    background: #141419;
    border-top: 1px solid #282832;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 100;
}

.nav-item {
    background: none;
    border: none;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    width: 33%;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item.active {
    color: #ff6a00;
    font-weight: 700;
}

/* Install Overlay (Browser Zwangssperre) */
.install-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 18, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.install-card {
    background: #18181f;
    border: 1px solid #ff6a00;
    border-radius: 20px;
    padding: 22px;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.install-card h2 {
    font-size: 1.15rem;
    color: #ff6a00;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.install-card p {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.4;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.step {
    background: #111116;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #22222d;
}

.step h4 {
    font-size: 0.85rem;
    color: #ee0979;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step ol {
    margin-left: 18px;
    font-size: 0.78rem;
    color: #aaa;
    line-height: 1.5;
}

.notice-box {
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid #ff6a00;
    color: #ffaa55;
    font-size: 0.78rem;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Toast Notification (Ganz oben eingeblendet) */
.toast {
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: top 0.4s ease;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    top: 25px;
}