/* ============================================
   BLACK LION CALENDAR - GLOBAL STYLES
   Jet Black & Gold Theme
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', serif;
}

body {
    background: #0a0a0f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}

/* Phone Frame - Mobile First */
.phone-frame {
    width: 100%;
    max-width: 375px;
    background: #0c0c12;
    border-radius: 48px;
    box-shadow: 
        0 30px 50px -10px rgba(0,0,0,0.8),
        0 0 0 10px #2a2a30,
        0 0 0 14px #4a4a50;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.screen-content {
    background: #0b0b10;
    background-image: radial-gradient(circle at 20% 30%, #1a191f 0.5px, transparent 1px),
                      radial-gradient(circle at 80% 70%, #2a291e 0.5px, transparent 1px);
    background-size: 40px 40px;
    color: #e0d9bf;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 24px 18px;
    border-radius: 40px 40px 32px 32px;
    border: 1px solid #ba9e6b40;
    box-shadow: inset 0 0 30px #00000099, 0 0 20px #f5c54210;
}

/* Lion Header */
.lion-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.lion-emblem {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at 30% 35%, #1e1e1e, #000000);
    border-radius: 50%;
    box-shadow: 0 0 25px #f5b81b50, 0 0 40px #f5b81b30, inset 0 -5px 15px #f5c91a20;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #caa24e;
    position: relative;
    margin-bottom: 8px;
}

.lion-face {
    width: 80px;
    height: 80px;
    position: relative;
    filter: drop-shadow(0 0 6px #f5b626);
}

.lion-face:before,
.lion-face:after {
    content: '';
    position: absolute;
    background: #161616;
    width: 25px;
    height: 40px;
    top: 20px;
    border-radius: 60% 20% 40% 40%;
    box-shadow: inset -2px -4px 0 #3a2f1c;
}
.lion-face:before { left: 5px; transform: rotate(-15deg); }
.lion-face:after { right: 5px; transform: rotate(15deg); }

.lion-muzzle {
    position: absolute;
    width: 30px;
    height: 22px;
    background: #0f0f12;
    border-radius: 40% 40% 30% 30%;
    bottom: 12px;
    left: 25px;
    box-shadow: inset 0 0 0 2px #b58a3a;
}

.lion-eyes {
    display: flex;
    gap: 22px;
    position: absolute;
    top: 26px;
    left: 17px;
}
.eye {
    width: 12px;
    height: 16px;
    background: radial-gradient(circle at 30% 40%, #f5d742, #cf9f1f);
    border-radius: 60% 40% 40% 60%;
    box-shadow: 0 0 20px #f5c542, 0 0 40px #f5b81b;
    border: 1px solid #ebc468;
}

.lion-mane {
    position: absolute;
    top: -20px;
    left: -22px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #0d0d0d 35%, #25221a 80%, #7a601e00 95%);
    z-index: -1;
    box-shadow: 0 0 30px #000, 0 0 15px #997f33 inset;
}

.brand-text {
    text-align: center;
    margin-top: 4px;
}

.brand-line1 {
    font-family: 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(18px, 5vw, 22px);
    letter-spacing: 1.5px;
    color: #dbb771;
    text-shadow: 0 0 10px #f5c91a80, 0 2px 5px black;
    line-height: 1.2;
}

.brand-line2 {
    font-family: 'Times New Roman', serif;
    font-size: clamp(13px, 4vw, 15px);
    letter-spacing: 2px;
    color: #cdad67;
    border-bottom: 1px solid #997f4d;
    display: inline-block;
    padding-bottom: 4px;
    margin-top: 2px;
}

/* Live Now Section */
.live-now {
    background: #1c170e;
    border-left: 4px solid #f5b426;
    padding: 12px 14px;
    border-radius: 8px 4px 4px 8px;
    margin: 8px 0 18px 0;
    box-shadow: 0 0 20px #f5b42620;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f5c81a;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.live-badge span { font-size: 20px; }

.live-event-card {
    background: #13120f;
    padding: 12px 12px;
    border-radius: 10px;
    border: 1px solid #ba9f5d;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.live-event-card:hover {
    border-color: #f5c542;
    box-shadow: 0 0 15px #f5c54240;
}
.live-event-card .emoji-big { font-size: 26px; }
.live-title { font-size: 16px; color: #eedbaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.live-time { color: #d3a748; font-size: 14px; margin-left: auto; }

/* Filters */
.filter-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

.filter-chip {
    background: #1e1c17;
    border: 1px solid #b49458;
    color: #e6cf91;
    padding: 12px 10px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px #00000055;
    flex: 1 0 auto;
    max-width: 48%;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.filter-chip:hover {
    background: #2a251e;
    border-color: #f5c542;
}
.filter-chip span { color: #ebbc6a; margin-left: 4px; font-size: 16px; }
.filter-chip.filter-active {
    background: #b49440;
    color: #000;
    font-weight: bold;
}
.filter-chip.filter-active span { color: #000; }

.filter-row {
    display: flex;
    width: 100%;
    gap: 5px;
}
.filter-row .filter-chip { flex: 1; max-width: 23%; justify-content: space-between; }

/* Calendar */
.month-title {
    color: #eace8d;
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0 8px;
    letter-spacing: 2px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    margin: 10px 0 5px;
}

.weekday {
    color: #bb9f62;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 0;
}

.calendar-cell {
    background: #121212e0;
    border-radius: 8px;
    padding: 6px 2px 2px 2px;
    min-height: 65px;
    border: 1px solid #3d3629;
    box-shadow: inset 0 -2px 5px #000000;
    font-size: 10px;
    line-height: 1.2;
    color: #e2d9c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
.calendar-cell:hover {
    border-color: #dbb771;
    box-shadow: 0 0 15px #f5c54240;
    transform: scale(1.02);
    z-index: 1;
}
.calendar-cell.has-event {
    border-left: 2px solid #f5c542;
}

.cell-day {
    font-weight: bold;
    color: #dbbc6c;
    font-size: 13px;
    background: #1f1d17;
    width: 24px;
    border-radius: 50%;
    margin-bottom: 2px;
}

.event-preview {
    width: 100%;
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    color: #cfc19b;
}
.event-preview .platform-icon { font-size: 10px; }

.featured-gold {
    background: #cfaa4c20;
    border: 1px solid #f5c542;
    color: #fad46c;
    font-weight: bold;
    border-radius: 10px;
    padding: 2px 4px;
    margin: 2px 0;
    font-size: 7px;
}
.more-events {
    color: #af934e;
    font-size: 7px;
    border-top: 1px dashed #b4944b;
    width: 100%;
    margin-top: 2px;
}

/* Featured Creator */
.featured-creator {
    background: #181713;
    border-radius: 28px;
    padding: 16px;
    margin: 20px 0 15px;
    border: 1px solid #f5cd7c;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 35px #000, 0 6px 0 #1a1308;
    cursor: pointer;
    transition: all 0.2s;
}
.featured-creator:hover {
    border-color: #f5c542;
    box-shadow: 0 0 35px #f5c54230, 0 6px 0 #1a1308;
}
.creator-avatar {
    width: 64px;
    height: 64px;
    background: #25221c;
    border-radius: 50%;
    border: 2px solid #d3a052;
    background-image: radial-gradient(circle at 40% 40%, #6a5e48, #231f18);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ab8b4b;
    font-size: 28px;
}
.creator-details h4 { color: #ebc988; font-size: 16px; }
.creator-details p { color: #a69062; font-size: 13px; }

/* Sponsor Banner */
.sponsor-banner {
    background: #2f2a1f;
    padding: 14px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #d3a13b;
    color: #efdbaa;
    margin: 8px 0 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 0 20px #f5d97330;
    font-size: clamp(11px, 3vw, 14px);
}

/* Elite Video */
.elite-video {
    background: #15120d;
    border-radius: 24px;
    padding: 8px;
    border: 2px solid #bd9f55;
    margin: 15px 0;
}
.elite-label {
    color: #f0d890;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 6px;
    margin-left: 6px;
}
.video-placeholder {
    background: #0d0c0a;
    height: 150px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #1e1a12, #050504);
    border: 1px solid #9f884c;
    color: #a38545;
    font-size: 24px;
    cursor: pointer;
}

/* Gold Button */
.gold-button {
    background: linear-gradient(145deg, #dbb46b, #a47d39);
    border: none;
    border-radius: 40px;
    padding: 18px 0;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: bold;
    color: #0a0804;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 0 #6f5324, 0 0 40px #f5c231;
    margin: 15px 0 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.1s ease;
    border: 1px solid #f5e3b0;
}
.gold-button:active {
    transform: translateY(5px);
    box-shadow: 0 5px 0 #6f5324, 0 0 40px #f5c231;
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    justify-content: space-between;
    background: #18140e;
    border: 1px solid #ab8f50;
    padding: 12px 18px;
    border-radius: 40px;
    margin: 12px 0 6px;
    font-size: clamp(14px, 4vw, 16px);
    color: #e6cf96;
}

/* Contact & Footer */
.contact-info {
    text-align: center;
    margin: 12px 0 5px;
    color: #b4975b;
    font-size: clamp(12px, 3.5vw, 14px);
    word-break: break-all;
}
.footer {
    margin-top: 20px;
    border-top: 1px solid #a58547;
    padding-top: 14px;
    text-align: center;
    color: #c9b27e;
    font-size: 13px;
}
.footer a { color: #efd388; text-decoration: none; }

/* Admin Toggle */
.admin-toggle {
    text-align: center;
    margin: 10px 0;
    color: #b49458;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.7;
    padding: 10px;
}
.admin-toggle:hover {
    opacity: 1;
    color: #f5c542;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}
.modal-content {
    background: #1a1712;
    border: 2px solid #f5c542;
    border-radius: 24px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s ease;
}
@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #f5c542;
    font-size: 28px;
    cursor: pointer;
    z-index: 1;
}
.modal-close:hover {
    color: #ffd966;
}

/* Platform Options */
.platform-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}
.platform-option {
    background: #0f0e0b;
    border: 1px solid #b49458;
    border-radius: 30px;
    padding: 12px;
    text-align: center;
    color: #e6cf91;
    cursor: pointer;
    transition: all 0.2s;
}
.platform-option:hover,
.platform-option.selected {
    background: #b49440;
    color: #000;
    border-color: #f5c542;
}

/* Admin Panel */
.admin-panel {
    background: #1a1712;
    border: 2px solid #b49458;
    border-radius: 24px;
    padding: 20px;
    margin: 20px 0;
    display: none;
}
.admin-panel.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.admin-title {
    color: #f5c542;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
}

/* Admin Form */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-input {
    background: #0f0e0b;
    border: 1px solid #8b763e;
    border-radius: 30px;
    padding: 12px 16px;
    color: #e6cf91;
    font-size: 14px;
    width: 100%;
}
.admin-input:focus {
    outline: none;
    border-color: #f5c542;
    box-shadow: 0 0 15px #f5c54240;
}
.admin-input::placeholder {
    color: #5e4f2b;
}
.admin-row {
    display: flex;
    gap: 10px;
}
.admin-row .admin-input {
    flex: 1;
}
.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e6cf91;
    background: #0f0e0b;
    padding: 8px 12px;
    border-radius: 30px;
    border: 1px solid #8b763e;
}
.admin-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.admin-btn {
    flex: 1;
    background: #b49458;
    border: none;
    border-radius: 30px;
    padding: 14px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}
.admin-btn:hover {
    background: #f5c542;
    box-shadow: 0 0 20px #f5c542;
    transform: translateY(-2px);
}
.admin-btn.secondary {
    background: #2f2a1f;
    color: #e6cf91;
    border: 1px solid #b49458;
}
.admin-btn.secondary:hover {
    background: #403a2c;
    color: #f5c542;
}

/* Events List */
.events-list {
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
}
.event-item {
    background: #0f0e0b;
    border: 1px solid #5e4f2b;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.event-item-info {
    color: #e6cf91;
    font-size: 12px;
    flex: 1;
}
.event-item-delete {
    color: #b33;
    cursor: pointer;
    font-size: 18px;
    padding: 0 8px;
}
.event-item-delete:hover {
    color: #f66;
}

/* Admin Portal Specific */
.admin-body {
    background: #0a0a0f;
    padding: 20px;
    justify-content: flex-start;
}
.admin-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}
.admin-header {
    text-align: center;
    margin-bottom: 30px;
}
.admin-header h1 {
    color: #f5c542;
    font-size: 28px;
    letter-spacing: 2px;
}
.admin-header p {
    color: #b49458;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.stat-card {
    background: #1a1712;
    border: 1px solid #b49458;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
}
.stat-value {
    display: block;
    color: #f5c542;
    font-size: 24px;
    font-weight: bold;
}
.stat-label {
    color: #e6cf91;
    font-size: 12px;
}
.admin-section {
    background: #1a1712;
    border: 1px solid #b49458;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}
.admin-section h2 {
    color: #f5c542;
    font-size: 18px;
    margin-bottom: 15px;
}
.admin-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.events-list-admin {
    max-height: 400px;
    overflow-y: auto;
}
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.admin-footer {
    text-align: center;
    color: #b49458;
    margin-top: 30px;
}
.admin-footer a {
    color: #f5c542;
    text-decoration: none;
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #f5c542;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1712;
    border: 2px solid #f5c542;
    border-radius: 30px;
    padding: 12px 24px;
    color: #e6cf91;
    font-size: 14px;
    z-index: 3000;
    animation: slideUp 0.3s ease;
    max-width: 90%;
    text-align: center;
}
@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 380px) {
    .phone-frame {
        border-radius: 30px;
    }
    .screen-content {
        padding: 15px 12px 20px 12px;
    }
    .calendar-cell {
        min-height: 55px;
        padding: 4px 1px 1px 1px;
    }
    .cell-day {
        width: 20px;
        font-size: 11px;
    }
    .filter-chip {
        padding: 8px 6px;
        font-size: 11px;
    }
    .filter-chip span {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .phone-frame {
        margin: 20px auto;
    }
}

/* Print Styles */
@media print {
    .phone-frame {
        box-shadow: none;
        border: 1px solid #000;
    }
    .gold-button,
    .admin-toggle,
    .filter-chip {
        display: none;
    }
}