/* ---------------------------
   GLOBAL STYLES
----------------------------*/
body {
    margin: 0;
    font-family: "Arial", sans-serif;
    background: #0d1117;
    color: white;
    transition: background 0.3s, color 0.3s;
}

/* Light Mode */
body.light {
    background: #f5f5f5;
    color: #111;
}

/* ---------------------------
   THEME SWITCH BUTTON
----------------------------*/
.theme-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffa45b;
    border: none;
    color: black;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    z-index: 1000;
    transition: 0.3s;
}

.theme-btn:hover {
    opacity: 0.8;
}

/* ---------------------------
   NAVBAR
----------------------------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: #151b23;
    border-bottom: 1px solid #222;
}

body.light .navbar {
    background: #ffffff;
    border-bottom: 1px solid #ccc;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #ffa45b;
}

.navbar nav a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

body.light .navbar nav a {
    color: #111;
}

.navbar nav a:hover {
    color: #ffa45b;
}

/* ---------------------------
   HERO SECTION
----------------------------*/
.hero {
    height: 90vh;
    background: url('background.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: auto;
    animation: fadeIn 1.5s ease;
}

.badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.hero-title {
    font-size: 60px;
    margin: 10px 0;
    color: #ffa45b;
}

.hero-sub {
    font-size: 22px;
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    margin-right: 10px;
    font-size: 16px;
}

/* Primary (orange) */
.btn.primary {
    background: #ffa45b;
    color: black;
}

.btn.primary:hover {
    opacity: 0.9;
}

/* Secondary (transparent) */
.btn.secondary {
    background: rgba(255,255,255,0.15);
    color: white;
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.25);
}

/* ---------------------------
   HOW TO PLAY
----------------------------*/
.how-to-play {
    padding: 80px 20px;
    text-align: center;
}

.how-to-play h2 {
    font-size: 36px;
}

.subtitle {
    font-size: 17px;
    opacity: 0.8;
    margin-bottom: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.step {
    background: #151b23;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.3s;
}

body.light .step {
    background: #ffffff;
    border-color: #ccc;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background: #ffa45b;
    color: black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ---------------------------
   FEATURED CLUBS
----------------------------*/
.featured-clubs {
    padding: 80px 20px;
    text-align: center;
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
    gap: 40px;
    max-width: 1200px;
    margin: auto;
}

.club-card {
    background: #151b23;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #222;
    transition: 0.3s;
    text-align: center;
}

body.light .club-card {
    background: #ffffff;
    border: 1px solid #ccc;
}

.club-card:hover {
    transform: scale(1.05);
}

.club-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.club-location {
    opacity: 0.8;
    margin-bottom: 10px;
}

.club-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.view-all {
    display: inline-block;
    margin-top: 40px;
}

/* ---------------------------
   MEET THE TEAM
----------------------------*/
.team {
    padding: 80px 20px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.team-member {
    background: #151b23;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #222;
    transition: 0.3s;
}

body.light .team-member {
    background: #ffffff;
    border: 1px solid #ccc;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.role {
    opacity: 0.7;
}

/* ---------------------------
   FOOTER
----------------------------*/
.footer {
    text-align: center;
    padding: 25px;
    background: #151b23;
    border-top: 1px solid #222;
}

body.light .footer {
    background: #ffffff;
    border-color: #ccc;
}

/* ---------------------------
   ANIMATIONS
----------------------------*/
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
