/* --- Misc Page Styles --- */

.misc-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Grid Layout */
.misc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* Card Base */
.misc-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 140px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.misc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Card Content */
.card-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.misc-card:hover .card-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 10;
}

.card-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
    position: relative;
    z-index: 10;
}

/* --- Card Variants (Gradients & Glows) --- */

/* Admin */
.card-admin {
    background: linear-gradient(145deg, rgba(153, 27, 27, 0.1), rgba(30, 41, 59, 0.4));
    border-color: rgba(248, 113, 113, 0.2);
    grid-column: 1 / -1; /* Full width */
    flex-direction: row;
    align-items: center;
    min-height: auto;
}

.card-admin .card-icon-box {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    margin-bottom: 0;
    margin-right: 1rem;
}

.card-admin:hover {
    background: linear-gradient(145deg, rgba(153, 27, 27, 0.2), rgba(30, 41, 59, 0.6));
    border-color: #ef4444;
}

/* Games / Shop (Gold/Purple) */
.card-game .card-icon-box { background: rgba(234, 179, 8, 0.2); color: #facc15; }
.card-shop .card-icon-box { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

/* Utils (Blue/Cyan) */
.card-status .card-icon-box { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.card-keys .card-icon-box { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }

/* Promo (Green) */
.card-promo .card-icon-box { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* Support (Indigo) */
.card-support .card-icon-box { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.card-news .card-icon-box { background: rgba(255, 255, 255, 0.1); color: #e2e8f0; }
.card-about .card-icon-box { background: rgba(255, 255, 255, 0.1); color: #94a3b8; }

/* Ticket Badge */
.ticket-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1e293b;
    z-index: 20;
}