/* ===========================
   CARVEL ESPORTS - MAIN STYLES
   Diagonal / Tactical Identity
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C9A84C;
    --gold-light: #E8C96B;
    --gold-dim: #8A6E2F;
    --bg: #080808;
    --bg-card: #111111;
    --text: #F0EDE6;
    --text-muted: #888880;
    --border: #1E1E1E;
    --green: #5DC48A;
    --red: #E47A7A;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, 0.97);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.nav-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 0;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: #080808 !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 9px 22px 9px 18px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.nav-cta:hover {
    background: var(--gold-light);
}

.nav-login {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    padding: 9px 18px;
    border: 1px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.nav-login:hover {
    border-color: var(--gold-dim);
    color: var(--gold) !important;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

/* MOBILE DROPDOWN MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    z-index: 99;
    flex-direction: column;
    padding: 0.5rem 0;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 14px 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a.active {
    color: var(--gold);
}

.mobile-menu a.mobile-cta {
    color: var(--gold) !important;
}

/* ===== BUTTONS ===== */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #080808;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 34px 15px 28px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
    position: relative;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateX(2px);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 33px 14px 27px;
    border: 1px solid var(--gold-dim);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateX(2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a1200 0%, #080808 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 48%, rgba(201,168,76,0.08) 49%, rgba(201,168,76,0.08) 51%, transparent 52%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
    clip-path: polygon(0 100%, 8% 0, 92% 0, 100% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.eyebrow::before,
.eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--gold);
    opacity: 0.5;
    transform: skewX(-20deg);
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(42px, 9vw, 88px);
    line-height: 0.95;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 .gold {
    color: var(--gold);
    display: block;
    position: relative;
}

.hero-sub {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    flex-wrap: wrap;
    position: relative;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--gold);
    line-height: 1;
    display: block;
    position: relative;
}

.stat-num::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 24px;
    height: 3px;
    background: var(--gold);
    opacity: 0.5;
    transform: translateX(-50%) skewX(-25deg);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 12px;
    display: block;
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.section-number {
    position: absolute;
    top: 0;
    right: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 140px;
    line-height: 1;
    color: var(--bg-card);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.section-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.section-tag::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    opacity: 0.4;
    transform: skewX(-25deg);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(30px, 5vw, 48px);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.section-title span {
    color: var(--gold);
}

.section-intro {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

/* ===== CARDS / GRIDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--border);
    position: relative;
    z-index: 1;
}

.card {
    background: var(--bg-card);
    padding: 1.75rem;
    position: relative;
    transition: background 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.card:hover {
    background: #161616;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.25s;
}

.card:hover::before {
    height: 100%;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
}

/* ===== CONTACT CARDS (clickable, icon-based) ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--bg-card);
    padding: 1.5rem 1.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    transition: background 0.2s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    cursor: pointer;
}

.contact-card:hover {
    background: #161616;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.25s;
}

.contact-card:hover::before {
    height: 100%;
}

.contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-dim);
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
    transition: border-color 0.2s, background 0.2s;
}

.contact-card:hover .contact-icon {
    border-color: var(--gold);
    background: rgba(201,168,76,0.08);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.contact-info p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
}

/* ===== FORMS ===== */
.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    max-width: 500px;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    padding: 11px 14px;
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 300;
    outline: none;
    transition: border-color 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--gold-dim);
}

.field textarea {
    resize: vertical;
    min-height: 90px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-full {
    width: 100%;
    background: var(--gold);
    color: #080808;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}

.btn-full:hover {
    background: var(--gold-light);
}

/* ===== ALERTS / MESSAGES ===== */
.alert {
    padding: 12px 16px;
    margin-bottom: 1.25rem;
    font-size: 14px;
    font-weight: 300;
    border-left: 3px solid;
    position: relative;
    z-index: 1;
}

.alert-success {
    background: #0a1f10;
    border-color: var(--green);
    color: var(--green);
}

.alert-error {
    background: #1f0a0a;
    border-color: var(--red);
    color: var(--red);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px 4px 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}

.badge-pending {
    background: #1a1500;
    color: var(--gold-light);
    border: 1px solid #3a2e00;
}

.badge-approved {
    background: #0a1f10;
    color: var(--green);
    border: 1px solid #0f3a1a;
}

.badge-rejected {
    background: #1f0a0a;
    color: var(--red);
    border: 1px solid #3a0f0f;
}

.badge-suspended {
    background: #2a1a00;
    color: #E89B3E;
    border: 1px solid #4a2e00;
}

.badge-terminated {
    background: #1a1a1a;
    color: #777770;
    border: 1px solid #333;
}

/* ===== TABLES ===== */
table.data-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 1;
}

table.data-table th {
    text-align: left;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

table.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    font-weight: 300;
    vertical-align: middle;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
}

.footer-logo span {
    color: var(--gold);
}

.footer-copy {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-login {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .field-row {
        grid-template-columns: 1fr;
    }
    .site-footer {
        flex-direction: column;
        text-align: center;
    }
    .section-number {
        font-size: 90px;
    }
}