﻿/* ════════════════════════════════════════════════════
   layout.css — PiratesGaming Base Styles
   Place at: wwwroot/css/layout.css
════════════════════════════════════════════════════ */

/* ════════ VARIABLES ════════ */
:root {
    --bg-0: #080808;
    --bg-1: #0c0c0c;
    --bg-2: #171717;
    --bg-card: #111111;
    --orange: #FFA500;
    --orange-light: #FFB733;
    --orange-dark: #CC8400;
    --orange-dim: #7A4F00;
    --orange-glow: rgba(255,165,0,0.10);
    --orange-glow2: rgba(255,165,0,0.22);
    --text: #F2F2F2;
    --text-2: #9A9A9A;
    --text-3: #4A4A4A;
    --b1: rgba(255,165,0,0.12);
    --b2: rgba(255,165,0,0.28);
    --b3: rgba(255,165,0,0.50);
    --f-logo: 'Condiment', cursive;
    --f-main: 'Manrope', sans-serif;
    --nav-h: 66px;
    --mob-nav-h: 62px;
    --radius: 12px;
}

/* ════════ RESET ════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ════════ BASE BODY ════════ */
body {
    background: var(--bg-0);
    color: var(--text);
    font-family: var(--f-main);
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

    /* ════════ CUSTOM CURSOR ════════ */
    body, body * {
        cursor: url("/images/cursor-wheel.svg") 10 10, auto;
    }

a, button, [role="button"] {
    cursor: url("/images/cursor-wheel.svg") 10 10, pointer;
}

/* ════════ PAGE LAYOUT ════════ */
.page-content {
    padding-top: var(--nav-h);
    min-height: calc(100vh - var(--nav-h));
}

/* ════════ FOOTER ════════ */
footer {
    background: var(--bg-1);
    border-top: 1px solid var(--b1);
    font-family: var(--f-main);
}

.footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-3);
}

/* ════════ SWEETALERT2 PIRATES THEME ════════ */
.swal2-popup.swal-pirates {
    background: var(--bg-card) !important;
    color: var(--text) !important;
    border: 1px solid rgba(255,165,0,0.22) !important;
    border-radius: 14px !important;
    font-family: var(--f-main) !important;
    font-size: 0.85rem !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7) !important;
}

    .swal2-popup.swal-pirates .swal2-title {
        color: var(--text) !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
    }

    .swal2-popup.swal-pirates .swal2-timer-progress-bar {
        background: var(--orange) !important;
    }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1024px) {
    .footer-inner {
        padding: 0 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Hide top nav login/profile on mobile — bottom nav handles it */
    .nav-right {
        display: none !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .footer-inner {
        font-size: 0.7rem;
    }
}
