/* =============================================================
   shared.css — 4Players Club
   Common styles used across all pages
   ============================================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&family=PT+Sans+Narrow:wght@700&display=swap');

/* ---- CSS Variables ---- */
:root {
    --green-primary: #7ED321;
    --green-dark: #5fb304;
    --navy-blue: #003D5C;
    --yellow-tennis: #D4FF00;
    --white: #FFFFFF;
    --light-gray: #F0F0F0;
    --medium-gray: #E0E0E0;
    --dark-gray: #222222;
}

/* ---- Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---- Base ---- */
body {
    font-family: 'PT Sans', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 1.3rem;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ---- Header ---- */
.header {
    background: rgba(0, 61, 92, 0.60);
    backdrop-filter: blur(6px);
    mix-blend-mode: normal;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* ---- Header right group (lang switcher + burger) ---- */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* ---- Language switcher ---- */
.lang-switcher {
    display: flex;
    gap: 3px;
    background: rgba(0, 61, 92, 0.45);
    border-radius: 10px;
    padding: 8px 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 7px;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.lang-active {
    color: var(--navy-blue);
    background: var(--green-primary);
}

/* ---- Burger menu ---- */
.burger-btn {
    background: rgba(0, 61, 92, 0.45);
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 200;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.burger-btn span {
    display: block;
    width: 23px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
    opacity: 0;
}
.burger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Nav menu ---- */
.nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--navy-blue);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-width: 160px;
}

.nav-menu.open {
    display: block;
}

.nav-menu a {
    display: block;
    padding: 14px 24px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.nav-menu a:hover {
    background: var(--green-primary);
    color: var(--navy-blue);
}

/* ---- Footer ---- */
.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--green-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow-tennis);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--white);
}

.social-link:hover {
    background: var(--green-primary);
    color: var(--navy-blue);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
}

/* ---- Responsive: footer ---- */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
