/* ===== INTERNATIONAL DART FEDERATION - BURGER MENU WITH SQUARE BUTTONS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f2f6fb;
    color: #1a2a3a;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 16px 24px;
    position: relative;
}

/* ===== HEADER ===== */
.idf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(155deg, #0a1c2c 0%, #0f2a3b 100%);
    padding: 16px 20px;
    border-radius: 28px;
    box-shadow: 0 12px 24px rgba(0,20,30,0.18);
    margin-bottom: 24px;
    color: white;
    gap: 12px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 auto;
}

.logo-icon {
    background: #e3b23c;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,215,0,0.5);
    overflow: hidden;
    flex-shrink: 0;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.logo-text h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    word-break: break-word;
}

/* ===== BURGER MENU BUTTON ===== */
.burger-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.burger-btn:hover,
.burger-btn:active {
    background: #e3b23c;
    color: #0a1c2c;
    border-color: #e3b23c;
}

/* ===== DESKTOP ONLY ===== */
.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
    .burger-btn {
        display: none;
    }
}

.org-badge {
    background: rgba(255,255,255,0.12);
    padding: 8px 18px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(255,215,0,0.3);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.org-badge i {
    color: #ffd966;
    margin-right: 6px;
}

/* ===== MOBILE MENU - SQUARE BUTTONS ONLY ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-radius: 28px 0 0 28px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px;
    background: linear-gradient(155deg, #0a1c2c 0%, #0f2a3b 100%);
    color: white;
    border-radius: 0 0 0 28px;
}

.mobile-menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.mobile-menu-close {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 32px 24px;
    flex: 1;
}

/* ===== SQUARE BUTTONS GRID - 2 COLUMNS ===== */
.mobile-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mobile-square-btn {
    background: #f0f7fc;
    border: 2px solid #d4e2ed;
    padding: 24px 12px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.mobile-square-btn i {
    font-size: 2.2rem;
    color: #e3b23c;
}

.mobile-square-btn span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a1c2c;
}

.mobile-square-btn:active {
    background: #e3b23c;
    border-color: #e3b23c;
}

.mobile-square-btn:active i,
.mobile-square-btn:active span {
    color: white;
}

.mobile-menu-footer {
    padding: 24px;
    background: #f2f6fb;
    color: #1e506a;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid #d8e2ed;
}

/* ===== MENU OVERLAY ===== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* ===== DESKTOP TABS ===== */
.desktop-tabs-container {
    margin-bottom: 24px;
}

.tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef2f6;
}

.tabs::-webkit-scrollbar {
    height: 4px;
}
.tabs::-webkit-scrollbar-thumb {
    background: #b0c8d4;
    border-radius: 6px;
}

.tab-link {
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #4e637b;
    border-radius: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-link.active {
    background: #0a1c2f;
    color: white;
    box-shadow: 0 6px 14px rgba(10,28,47,0.25);
}

/* ===== DASHBOARD ===== */
.dashboard {
    background: white;
    border-radius: 32px;
    padding: 20px 18px;
    box-shadow: 0 12px 28px rgba(0,32,48,0.08);
    margin-bottom: 32px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.25s ease;
    min-height: 200px;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    0% { opacity: 0.6; transform: translateY(4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ===== EMPTY STATE ===== */
.empty-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #fafdff;
    border-radius: 32px;
    border: 1px dashed #b8d1dc;
    color: #3b5e70;
    text-align: center;
}
.empty-section i {
    font-size: 42px;
    color: #e3b23c;
    margin-bottom: 16px;
}
.empty-section p {
    font-size: 1.1rem;
    font-weight: 500;
}
.empty-section small {
    display: block;
    margin-top: 10px;
    color: #6a8898;
}

/* ===== CONTACT ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 700px) {
    .contact-wrapper { grid-template-columns: 1fr 1fr; }
}

.contact-info {
    background: #0f2636;
    padding: 32px 28px;
    border-radius: 32px;
    color: white;
}
.contact-info i { 
    color: #e3b23c; 
    width: 28px; 
}
.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.btn {
    background: #e3b23c;
    border: none;
    padding: 16px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    color: #0b1c2f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
}
.btn:active { 
    background: #f3c958; 
    transform: scale(0.98); 
}

/* ===== FOOTER ===== */
footer {
    margin-top: 30px;
    text-align: center;
    color: #4c657a;
    font-size: 0.85rem;
    border-top: 1px solid #d2dee8;
    padding-top: 28px;
}
.footer-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
@media (min-width: 600px) {
    .footer-flex { flex-direction: row; justify-content: space-between; }
}
.status-pill {
    background: #e3b23c20;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .mobile-menu,
    .burger-btn,
    .menu-overlay {
        display: none;
    }
    .desktop-tabs-container {
        display: block;
    }
}

@media (max-width: 767px) {
    .desktop-tabs-container,
    .org-badge.desktop-only {
        display: none;
    }
}

.calendar-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    border: 1px solid #edf2f7;
}

.calendar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
    border-color: #e3b23c40;
}

.calendar-card ul {
    padding-left: 0;
}

.calendar-card li {
    list-style: none;
}

.fa-calendar-circle:before {
    content: "\f133";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.fa-location-dot:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

@media (max-width: 768px) {
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    div[style*="display: flex"][style*="align-items: center"][style*="gap: 24px"] {
        flex-direction: column;
        align-items: flex-start !important;
    }
}