/* --- Global Reset & Variables (Royal Gold Theme) --- */
:root {
    --color-dark: #000000; /* True Black (New Main Background) */
    --color-background-secondary: #0F1A28; /* Deep Navy Blue / Dark Grey (New Card/Section Background) */
    --color-accent: #FFC300; /* VIBRANT GOLD / Amber (New Accent Color) */
    --color-white: #FFFFFF;
    --color-light-grey: #B0B0B0; /* Slightly darker grey for text */
    --font-primary: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Enables smooth scrolling via CSS (browser support varies, but it's good practice) */
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent);
}

.accent-color {
    color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-accent); /* Gold */
    color: var(--color-dark); 
}

.btn-primary:hover {
    background-color: #ffffff; /* Darker Gold on hover */
    transform: translateY(-2px);color: #000;
}

.btn-cta {
    background-color: var(--color-accent); /* Gold */
    color: var(--color-dark);
    font-size: 1.1em;
    padding: 15px 35px;
    margin: 10px;
}

.btn-cta:hover {
    background-color: #fff; /* Darker Gold on hover */color: #000;
}

.btn-cta-secondary {
    background-color: transparent;
    color: var(--color-accent); /* Gold border */
    border: 2px solid var(--color-accent);
    font-size: 1.1em;
    padding: 15px 35px;
    margin: 10px;
}

.btn-cta-secondary:hover {
    background-color: var(--color-accent); /* Fills with Gold */
    color: var(--color-dark);
}

/* --- Header/Nav --- */
.header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 195, 0, 0.3); /* Gold border */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 900;
    color: var(--color-accent); /* Gold */
}

.logo  img{ max-width: 350px; height: auto; }
.nav a {
    margin-left: 25px;
    font-weight: 700;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/why-banner.png'); 
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-subtext {
    font-size: 1.2em;
    color: var(--color-light-grey);
    margin-bottom: 30px;
}

.scroll-prompt {
    margin-top: 30px;
    color: var(--color-accent); /* Gold */
    font-weight: 700;
}
.section {
    /* Adjust this value based on the exact height of your fixed header (.header) */
    scroll-margin-top: 85px; 
}
/* --- Main Content Sections --- */
.section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1em;
    color: var(--color-light-grey);
    margin-bottom: 40px;
}

/* --- Proposition Section --- */
.callout-bar {
    background-color: var(--color-background-secondary);
    color: var(--color-accent); /* Gold */
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    flex: 1;
    background-color: var(--color-background-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-top: 3px solid var(--color-accent); /* Gold border */
}

.feature-card i {
    font-size: 2em;
    color: var(--color-accent); /* Gold icon */
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

/* --- Dark Section (Events/Tournaments) --- */
.dark-section {
    background-color: var(--color-background-secondary);
}

.competition-flex {
    display: flex;
    gap: 40px;
    text-align: left;
}

.competition-block {
    flex: 1;
    background-color: var(--color-dark);
    padding: 30px;
    border-radius: 8px;
}

.competition-block h3 {
    color: var(--color-accent); /* Gold */
    margin-bottom: 20px;
    font-size: 1.5em;
}

.competition-block ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.competition-block li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.competition-block li i {
    margin-right: 10px;
    color: var(--color-accent); /* Gold checkmark */
}

.block-description {
    font-style: italic;
    color: var(--color-light-grey);
    margin-top: 20px;
}

/* --- Community & Coaching --- */
.community-grid {
display: flex;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.community-card {
    background-color: var(--color-background-secondary);
    padding: 30px;
    border-radius: 8px;
}

.community-card h3 {
    color: var(--color-accent); /* Gold */
    margin-bottom: 15px;
}

/* --- Final CTA --- */
.final-cta-section {
    padding: 60px 0;
}

.cta-buttons-group {
    margin-top: 30px;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-background-secondary);
    padding: 30px 0 15px;
    border-top: 1px solid rgba(255, 195, 0, 0.3); /* Gold border */
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--color-light-grey);
    margin-right: 20px;
    font-size: 0.9em;
}

.social-icons a {
    font-size: 1.5em;
    margin-left: 15px;
}

.social-icons i {
    color: var(--color-light-grey);
}

.social-icons a:hover i {
    color: var(--color-accent); /* Gold social icon hover */
}

.copyright {
    color: var(--color-light-grey);
    font-size: 0.8em;
}

/* ==================================== */
/* POLICY PAGES STYLES (Privacy, Terms, Responsible) */
/* ==================================== */

.privacy-content {
    padding-top: 50px;
    padding-bottom: 100px;
    text-align: left; 
}

.page-title {
    font-size: 3em;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.last-updated {
    font-style: italic;
    color: var(--color-light-grey);
    margin-bottom: 40px;
    display: block;
    border-bottom: 1px solid var(--color-background-secondary);
    padding-bottom: 15px;
}

.section-heading {
    font-size: 1.8em;
    color: var(--color-white);
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid var(--color-accent);
    padding-left: 15px;
}

.privacy-content p {
    margin-bottom: 20px;
    color: var(--color-light-grey);
}

.privacy-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 30px;
}

.privacy-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    color: var(--color-light-grey);
}

.privacy-content li:before {
    content: "•";
    color: var(--color-accent);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: -2px;
}

.cookies-list h4 {
    color: var(--color-accent);
    font-size: 1.2em;
    margin-top: 20px;
}

/* Ensure privacy links are readable */
.privacy-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ==================================== */
/* MOBILE RESPONSIVENESS                */
/* ==================================== */

/* Tablet & Mobile (Max width 1024px) */
@media (max-width: 1024px) {
    .features-grid, 
    .competition-flex, 
    .community-grid {
        gap: 25px;
    }
}

/* Mobile Devices (Max width 768px) */
@media (max-width: 768px) {
   
    .hero-title {
        font-size: 2.5em;
    }
    .section {
        padding: 50px 0; /* Less vertical padding on mobile */
    }
    .section-title {
        font-size: 2em;
    }
    .page-title { /* For policy pages */
        font-size: 2.5em;
    }

    /* Navigation Stack */
    .nav-content {
        flex-direction: column;
        text-align: center;
    }
    .nav {
        margin: 10px 0;
        display: flex;
        flex-wrap: wrap; /* Allows links to wrap on small screens */
        justify-content: center;
    }
    .nav a {
        margin: 5px 10px;
        font-size: 0.9em; display: none;
    }
    .btn-primary {
         
        margin-top: 0;
        padding: 5px 15px;
    
    }

    /* Grid Layouts Stack Vertically */
    .features-grid, 
    .competition-flex, 
    .community-grid {
        flex-direction: column;
    }

    /* Full-width CTA buttons */
    .cta-buttons-group a {
        display: block;
        width: 90%;
        margin: 15px auto;
    }
    
    /* Footer Layout */
    .footer-content {
        flex-direction: column;
    }
    .footer-links {
        margin-bottom: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-links a {
        margin: 5px 10px;
    }
     .logo  img{ max-width: 210px; height: auto; }
    .nav{display: none;}
    .nav-content{flex-direction: row;
        text-align: center;}
        .hero-section {    min-height: 80vh;height: auto;}
}

/* Smaller Phones (Max width 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7em;
    }
    .hero-subtext {
        font-size: 1em;
    }
    .btn-cta {
        font-size: 1em;
        padding: 12px 25px;
    }
    .nav a {
        font-size: 0.8em;
    }
      .logo  img{ max-width: 180px; height: auto; }
        .btn-primary {
        margin-top: -10px;
        padding: 5px 5px;
        font-size: 13px;
    }
    .hero-section {   min-height: 80vh;height: auto;}
}