@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #ffffffef;
    --main-color: #ce2eff;
    --second-main-color: #7651ff;
}

html {
    font-size: 100%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

/* Top header bar */
.header1 {
    background-color: rgb(0, 0, 0);
    top: 0;
    width: 100%;
    height: 34px;
    border-bottom: 1px solid #ffffff5b;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 9%;
}

.header1 ul {
    margin: 0;
    padding: 0;
}

.header1 a {
    color: var(--text-color);
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    transition: .4s ease;
}

.header1 a:link {
    text-decoration: none;
}

.header1 a:hover {
    color: var(--main-color);
}

.brand {
    font-size: 12px;
}

.first-row {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffffd7;
}

.first-row li {
    color: var(--text-color);
    font-size: 12px;
    white-space: nowrap;
    list-style: none;
    cursor: pointer;
    float: left;
    border-left: 0.5px solid #ffffff5b;
}

.first-row li a {
    display: block;
    padding: 20px;
}

.first-row li:last-child {
    border-right: none;
}

.first-row li:first-child {
    border-left: none;
}

.first-row li:hover {
    color: var(--main-color);
}

/* Main header - iOS 26 style */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background: rgba(245,249,255,0.92); /* Blue-tinted white glass for contrast */
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid rgba(200,200,200,0.25);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2000;
    transition: transform .3s ease;
    gap: 1rem;
}

/* Separate navigation section below header */
.navbar {
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200,200,200,0.15);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 1rem 0;
    margin-bottom: 2rem;
    z-index: 1000;
}

/* Ensure navigation is above container */
.navbar {
    position: sticky;
    top: 120px; /* Position below the header */
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.club-name-container {
    display: flex;
    align-items: center;
    background: transparent !important;
}

.club-name-container .logo-img {
    height: 38px;
}

.logo {
    font-size: 2.5rem;
    color: #222 !important;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    color: #222 !important;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Navbar styling - iOS 26 style */
.navbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar a {
    font-size: 1.1rem;
    color: #222 !important;
    margin-left: 0;
    align-items: center;
    text-decoration: none;
    user-select: none;
    transition: .4s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.navbar a:hover,
.navbar a.active {
    color: #007aff !important; /* iOS blue accent */
}

/* Menu icon for mobile */
#menu-icon {
    font-size: 3.6rem;
    color: #007aff !important; /* iOS blue accent */
    display: none;
    cursor: pointer;
    z-index: 1101;
    position: relative;
}

/* Nav logo container */
.nav-logo-container {
    display: flex;
    align-items: center;
    margin-right: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-logo-container a {
    margin-left: 0;
    font-weight: 600;
}

/* Nav icon */
.nav-icon {
    display: none;
}

/* Mobile responsive styles */
@media (max-width: 1300px) {
    .header1 {
        padding: 10px 3%;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 100%;
    }
    
    .header1 {
        padding: 10px 3%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 1rem 3%;
    }
    
    .header1 {
        padding: 10px 3%;
    }
    
    .header1 ul {
        gap: 1rem;
    }
    
    .first-row li a {
        font-size: 0.8rem;
    }
}

@media (max-width: 1068px) {
    html {
        font-size: 100%;
    }
    
    #menu-icon {
        display: block;
        z-index: 102;
        height: -20px;
        font-size: 1.8rem;
    }
    
    .header1 {
        height: 28px;
    }
    
    .header {
        position: sticky;
        height: auto;
        padding: 1rem 2%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .header-content {
        display: flex;
        align-items: center;
        gap: 15px;
        width: auto;
    }
    
    .club-name-container {
        flex: 1;
        justify-content: center;
    }
    
    .navbar {
        position: absolute;
        display: block;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        padding: 1rem 5%;
        background: #f4f6fa !important; /* iOS 16/17/18+ style light blue/gray */
        border: 1px solid #e0e6ef;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        backdrop-filter: blur(18px) saturate(180%);
        -webkit-backdrop-filter: blur(18px) saturate(180%);
        transition: all .40s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 122, 255, 0.3) transparent;
        flex-direction: column;
        gap: 1rem;
        z-index: 101;
        max-width: none;
        margin: 0;
        top: 120px; /* Override sticky positioning on mobile */
    }
    
    .navbar::-webkit-scrollbar {
        width: 6px;
    }
    
    .navbar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .navbar::-webkit-scrollbar-thumb {
        background: rgba(0, 122, 255, 0.3);
        border-radius: 3px;
    }
    
    .navbar::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 122, 255, 0.5);
    }
    
    .navbar.open {
        left: 0;
    }
    
    .nav-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.5rem 0;
    }
    
    .navbar a {
        margin-left: 0;
        padding: 1rem;
        font-size: 1.2rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 122, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navbar a:hover,
    .navbar a.active {
        background: rgba(0, 122, 255, 0.1);
        border-color: rgba(0, 122, 255, 0.3);
        transform: translateX(8px);
    }
    
    .nav-icon {
        display: inline-block !important;
        font-size: 1.2rem;
        color: #007aff;
        margin-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .header1 {
        padding: 10px 2%;
    }
    
    .header {
        padding: 1rem 2%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .first-row li a {
        padding: 15px 10px;
        font-size: 0.7rem;
    }
    
    .navbar {
        padding: 1rem 3%;
    }
    
    .navbar a {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header1 {
        padding: 10px 1%;
    }
    
    .header {
        padding: 1rem 1%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .first-row li a {
        padding: 12px 10px;
        font-size: 0.65rem;
    }
    
    .navbar {
        padding: 1rem 2%;
    }
    
    .navbar a {
        font-size: 1rem;
        padding: 0.7rem;
    }
    
    .club-name-container .logo-img {
        height: 32px;
    }
    
    .nav-logo img {
        height: 32px;
    }
}