
/*
|--------------------------------------------------------------------------
| RUPIVOX - Main Website Design System
| File: /assets/css/style.css
| Version: 1.0.0
| Theme: Premium Dark Gaming / Battle Royale
|--------------------------------------------------------------------------
*/

/* 1. ROOT VARIABLES
------------------------------------------ */

:root {
    color-scheme: dark;

    --bg: #080a13;
    --bg-secondary: #0d1020;
    --bg-tertiary: #13182b;
    --surface: #171d32;
    --surface-light: #202943;

    --primary: #8b5cf6;
    --primary-dark: #7041df;
    --secondary: #21d4fd;
    --accent: #b8ff5c;

    --text: #f5f7ff;
    --text-secondary: #a9b2ca;
    --text-muted: #737f9d;

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);

    --success: #39d98a;
    --danger: #ff5575;
    --warning: #ffc857;

    --gradient-primary: linear-gradient(135deg, #8b5cf6, #21d4fd);
    --gradient-dark: linear-gradient(135deg, #171d32, #0d1020);
    --gradient-glow: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(33, 212, 253, .12));

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, .2);
    --shadow-md: 0 10px 35px rgba(0, 0, 0, .3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .45);
    --shadow-glow: 0 0 35px rgba(139, 92, 246, .22);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    --container: 1240px;
    --header-height: 76px;

    --transition: 250ms ease;
}


/* 2. RESET
------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button {
    cursor: pointer;
}

button,
input,
textarea,
select {
    color: inherit;
}

button:disabled {
    cursor: not-allowed;
    opacity: .6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--secondary);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

ul,
ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

::selection {
    background: var(--primary);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}


/* 3. SCROLLBAR
------------------------------------------ */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #353c59;
    border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


/* 4. COMMON LAYOUT
------------------------------------------ */

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 90px 0;
}

.section-sm {
    padding: 55px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 38px;
}

.section-heading {
    max-width: 680px;
}

.section-tag,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-tag::before,
.eyebrow::before {
    width: 22px;
    height: 2px;
    background: var(--gradient-primary);
    content: "";
}

.section-title {
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.section-description {
    max-width: 650px;
    margin-top: 13px;
    color: var(--text-secondary);
    font-size: 15px;
}

.gradient-text {
    color: var(--primary);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }


/* 5. ANNOUNCEMENT BAR
------------------------------------------ */

.announcement-bar {
    position: relative;
    z-index: 101;
    padding: 8px 15px;
    background: linear-gradient(90deg, #6c35d7, #3159d9);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.announcement-bar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* 6. HEADER & NAVIGATION
------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(8, 10, 19, .9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    color: var(--text);
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -1px;
}

.brand:hover {
    color: var(--text);
}

.brand-logo {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 21px;
    font-weight: 950;
    box-shadow: var(--shadow-glow);
}

.brand span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
}

.nav-links a {
    position: relative;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    border-radius: 5px;
    background: var(--gradient-primary);
    content: "";
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: #fff;
    font-size: 22px;
}


/* 7. BUTTONS
------------------------------------------ */

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    transition: transform var(--transition),
                box-shadow var(--transition),
                background var(--transition),
                border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, .2);
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 12px 32px rgba(139, 92, 246, .35);
}

.btn-secondary {
    border-color: var(--border-light);
    background: rgba(255, 255, 255, .04);
    color: #fff;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, .12);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #10131b;
}

.btn-accent:hover {
    background: #c9ff82;
    color: #10131b;
}

.btn-sm {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 12px;
}

.btn-lg {
    min-height: 54px;
    padding: 15px 30px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

.btn:disabled:hover {
    transform: none;
}


/* 8. HERO SECTION
------------------------------------------ */

.hero {
    position: relative;
    display: flex;
    min-height: 650px;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 75% 40%, rgba(112, 65, 223, .2), transparent 40%),
        radial-gradient(ellipse at 10% 90%, rgba(33, 212, 253, .08), transparent 40%),
        var(--bg);
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg), transparent 50%);
    content: "";
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 54%;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: var(--radius-pill);
    background: rgba(139, 92, 246, .1);
    color: #c5a8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.hero-title {
    max-width: 750px;
    margin-top: 25px;
    color: #fff;
    font-size: clamp(45px, 6.3vw, 76px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -3px;
}

.hero-description {
    max-width: 540px;
    margin-top: 23px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 45px;
}

.hero-stat strong {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.hero-stat span {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: 52%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .85;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
    mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(139, 92, 246, .2);
    filter: blur(100px);
}


/* 9. FEATURED GAME PANEL
------------------------------------------ */

.featured-panel {
    position: relative;
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 85% 40%, rgba(139, 92, 246, .22), transparent 35%),
        var(--gradient-dark);
    box-shadow: var(--shadow-md);
}

.featured-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.featured-title {
    margin-bottom: 12px;
    font-size: clamp(25px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.2;
}

.featured-description {
    color: var(--text-secondary);
    font-size: 14px;
}

.featured-image {
    width: 40%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}


/* 10. GAME CARDS
------------------------------------------ */

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.game-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: rgba(139, 92, 246, .6);
    box-shadow: var(--shadow-glow);
}

.game-card-image {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.07);
}

.game-card-body {
    padding: 23px;
}

.game-card-title {
    color: #fff;
    font-size: 19px;
    font-weight: 850;
}

.game-card-description {
    margin-top: 9px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.game-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}


/* 11. GAME TAGS & STATUS
------------------------------------------ */

.game-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .05);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.game-tag-purple {
    border-color: rgba(139, 92, 246, .3);
    background: rgba(139, 92, 246, .12);
    color: #c5a8ff;
}

.game-tag-blue {
    border-color: rgba(33, 212, 253, .3);
    background: rgba(33, 212, 253, .1);
    color: var(--secondary);
}

.game-tag-green {
    border-color: rgba(57, 217, 138, .3);
    background: rgba(57, 217, 138, .1);
    color: var(--success);
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px rgba(57, 217, 138, .7);
}


/* 12. CHARACTER SECTION
------------------------------------------ */

.character-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.character-card {
    position: relative;
    display: flex;
    min-height: 350px;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.character-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.character-card:hover > img {
    transform: scale(1.05);
}

.character-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 10, 19, .98), transparent 75%);
    content: "";
}

.character-info {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 28px;
}

.character-name {
    font-size: 26px;
    font-weight: 900;
}

.character-description {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 13px;
}


/* 13. GAME FEATURES
------------------------------------------ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, .5);
}

.feature-icon {
    display: grid;
    width: 53px;
    height: 53px;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(139, 92, 246, .25);
    border-radius: 15px;
    background: rgba(139, 92, 246, .12);
    color: #c5a8ff;
    font-size: 23px;
}

.feature-title {
    margin-bottom: 9px;
    color: #fff;
    font-size: 17px;
    font-weight: 850;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}


/* 14. INDIA MAP / LOCATION CARDS
------------------------------------------ */

.map-section {
    overflow: hidden;
    background: var(--bg-secondary);
}

.map-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.map-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    opacity: .85;
}

.map-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
    background: linear-gradient(0deg, rgba(8, 10, 19, .98), transparent);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.location-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: border-color var(--transition);
}

.location-card:hover {
    border-color: var(--primary);
}

.location-card h3 {
    margin-bottom: 7px;
    font-size: 16px;
}

.location-card p {
    color: var(--text-secondary);
    font-size: 12px;
}


/* 15. STATISTICS
------------------------------------------ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    padding: 26px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.stat-number {
    display: block;
    color: #fff;
    font-size: 34px;
    font-weight: 950;
    line-height: 1.2;
}

.stat-label {
    display: block;
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* 16. CTA SECTION
------------------------------------------ */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 65px 30px;
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, .25), transparent 60%),
        var(--surface);
    text-align: center;
}

.cta-title {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 950;
    line-height: 1.15;
}

.cta-description {
    max-width: 580px;
    margin: 16px auto 25px;
    color: var(--text-secondary);
    font-size: 14px;
}


/* 17. FORMS
------------------------------------------ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 750;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    outline: none;
    background: var(--bg-secondary);
    color: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .13);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    margin-top: 7px;
    color: var(--danger);
    font-size: 12px;
}

.form-help {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}


/* 18. ALERTS & NOTIFICATIONS
------------------------------------------ */

.alert {
    padding: 14px 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
}

.alert-success {
    border-color: rgba(57, 217, 138, .25);
    background: rgba(57, 217, 138, .09);
    color: var(--success);
}

.alert-danger {
    border-color: rgba(255, 85, 117, .25);
    background: rgba(255, 85, 117, .09);
    color: #ff8299;
}

.alert-warning {
    border-color: rgba(255, 200, 87, .25);
    background: rgba(255, 200, 87, .09);
    color: var(--warning);
}


/* 19. FOOTER
------------------------------------------ */

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--border);
    background: #070910;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding: 65px 0 50px;
}

.footer-brand-description {
    max-width: 300px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 850;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    width: fit-content;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 11px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text-secondary);
}

.footer-socials a:hover {
    border-color: var(--primary);
    color: #fff;
}


/* 20. TABLES
------------------------------------------ */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.data-table {
    min-width: 600px;
    background: var(--surface);
}

.data-table th,
.data-table td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 13px;
}

.data-table th {
    background: var(--bg-tertiary);
    color: #fff;
    font-weight: 800;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:last-child td {
    border-bottom: 0;
}


/* 21. LOADING STATES
------------------------------------------ */

.loading-spinner {
    width: 35px;
    height: 35px;
    border: 3px solid rgba(255, 255, 255, .12);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 19, .8);
    backdrop-filter: blur(5px);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .55;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}


/* 22. EMPTY STATES
------------------------------------------ */

.empty-state {
    padding: 65px 20px;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .02);
    text-align: center;
}

.empty-state-icon {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 42px;
}

.empty-state h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 13px;
}


/* 23. GAME PAGE ELEMENTS
------------------------------------------ */

.game-screen {
    position: relative;
    width: 100%;
    min-height: 550px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #05070c;
}

.game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 550px;
    touch-action: none;
}

.game-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--bg);
    text-align: center;
}

.game-loading p {
    color: var(--text-secondary);
    font-size: 13px;
}

.game-hud {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px;
    pointer-events: none;
}

.game-hud > * {
    pointer-events: auto;
}

.hud-panel {
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    background: rgba(8, 10, 19, .8);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
}

.game-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.game-control-btn {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    background: var(--bg-tertiary);
    color: #fff;
    font-size: 19px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.game-control-btn:active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, .3);
    transform: scale(.95);
}


/* 24. AUTHENTICATION PAGES
------------------------------------------ */

.auth-page {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 30px 18px;
    background:
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, .13), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(33, 212, 253, .08), transparent 35%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

.auth-card .brand {
    justify-content: center;
    margin-bottom: 30px;
}

.auth-title {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 900;
    text-align: center;
}

.auth-description {
    margin-bottom: 28px;
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
}


/* 25. RESPONSIVE - TABLET
------------------------------------------ */

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        min-height: 590px;
    }

    .hero-title {
        font-size: clamp(43px, 6vw, 64px);
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* 26. RESPONSIVE - MOBILE
------------------------------------------ */

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .section {
        padding: 65px 0;
    }

    .section-sm {
        padding: 40px 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 27px;
    }

    .brand {
        font-size: 22px;
    }

    .brand-logo {
        width: 35px;
        height: 35px;
        font-size: 19px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 10px 20px 18px;
        border-bottom: 1px solid var(--border);
        background: #0c0f1c;
        box-shadow: var(--shadow-md);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .nav-links a:last-child {
        border-bottom: 0;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-actions .btn {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .hero {
        min-height: 650px;
        align-items: flex-end;
    }

    .hero-content {
        width: 100%;
        padding: 290px 0 55px;
    }

    .hero-visual {
        top: 0;
        bottom: auto;
        width: 100%;
        height: 390px;
    }

    .hero-visual img {
        object-position: center 25%;
        -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
        mask-image: linear-gradient(180deg, #000 40%, transparent);
    }

    .hero::before {
        width: 100%;
        background: linear-gradient(0deg, var(--bg), transparent 80%);
    }

    .hero-title {
        font-size: clamp(39px, 10vw, 57px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-stats {
        gap: 22px;
        margin-top: 32px;
    }

    .hero-stat strong {
        font-size: 21px;
    }

    .featured-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px;
    }

    .featured-image {
        width: 100%;
        max-width: none;
        max-height: 210px;
    }

    .character-grid {
        grid-template-columns: 1fr;
    }

    .character-card {
        min-height: 340px;
    }

    .location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        gap: 35px 25px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-card {
        padding: 28px 22px;
    }
}


/* 27. RESPONSIVE - SMALL MOBILE
------------------------------------------ */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 26px);
    }

    .section {
        padding: 52px 0;
    }

    .section-title {
        font-size: 29px;
    }

    .nav-actions .btn {
        padding: 8px 10px;
        font-size: 10px;
    }

    .hero {
        min-height: 630px;
    }

    .hero-content {
        padding-top: 270px;
        padding-bottom: 42px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 12px;
    }

    .hero-stat strong {
        font-size: 19px;
    }

    .hero-stat span {
        font-size: 9px;
    }

    .game-grid,
    .features-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .game-card-image {
        height: 190px;
    }

    .character-card {
        min-height: 300px;
    }

    .character-name {
        font-size: 23px;
    }

    .featured-panel {
        padding: 23px;
    }

    .cta-section {
        padding: 45px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 18px;
        padding: 45px 0 35px;
    }

    .footer-main > :first-child {
        grid-column: 1 / -1;
    }

    .footer-brand-description {
        max-width: 100%;
    }

    .game-screen,
    .game-canvas {
        min-height: 420px;
    }

    .game-hud {
        padding: 10px;
    }

    .game-control-btn {
        width: 50px;
        height: 50px;
    }
}


/* 28. ACCESSIBILITY & REDUCED MOTION
------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* RUPIVOX HOMEPAGE ADDITIONS */

.hero-art {
    position: relative;
    display: flex;
    width: min(440px, 85%);
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(139, 92, 246, .23), transparent 65%),
        rgba(13, 16, 32, .4);
    box-shadow: 0 0 100px rgba(139, 92, 246, .15);
}

.hero-art-ring {
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(33, 212, 253, .35);
    border-radius: 50%;
    transform: rotate(-25deg) scaleY(.55);
}

.hero-art-ring-two {
    inset: 18%;
    border-color: rgba(139, 92, 246, .55);
    transform: rotate(35deg) scaleY(.65);
}

.hero-art-symbol {
    display: grid;
    width: 160px;
    height: 160px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 38px;
    background: var(--gradient-primary);
    box-shadow: 0 0 70px rgba(139, 92, 246, .35);
    color: #fff;
    font-size: 105px;
    font-weight: 950;
    transform: rotate(-8deg);
}

.hero-art-caption {
    position: absolute;
    right: 0;
    bottom: 8%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    letter-spacing: 3px;
}

.hero-art-caption span {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
}

.hero-art-caption strong {
    color: #fff;
    font-size: 10px;
}

.featured-image-placeholder {
    display: grid;
    width: 38%;
    max-width: 360px;
    min-height: 210px;
    place-items: center;
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle, rgba(139, 92, 246, .3), transparent 65%),
        var(--bg-tertiary);
}

.featured-image-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.featured-image-inner span {
    color: var(--secondary);
    font-size: 100px;
    font-weight: 950;
    line-height: 1;
}

.featured-image-inner small {
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.game-art-one,
.game-art-two,
.game-art-three {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

.game-art-one {
    background:
        radial-gradient(circle at 70% 30%, rgba(139, 92, 246, .5), transparent 35%),
        linear-gradient(135deg, #25204a, #0c1225);
}

.game-art-two {
    background:
        radial-gradient(circle at 70% 30%, rgba(33, 212, 253, .4), transparent 35%),
        linear-gradient(135deg, #123449, #0c1225);
}

.game-art-three {
    background:
        radial-gradient(circle at 70% 30%, rgba(57, 217, 138, .3), transparent 35%),
        linear-gradient(135deg, #173d38, #0c1225);
}

.game-art-number {
    color: rgba(255, 255, 255, .8);
    font-size: 50px;
    font-weight: 950;
}

.game-art-label {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.character-male {
    background:
        radial-gradient(circle at 70% 25%, rgba(33, 212, 253, .22), transparent 40%),
        var(--surface);
}

.character-female {
    background:
        radial-gradient(circle at 70% 25%, rgba(139, 92, 246, .28), transparent 40%),
        var(--surface);
}

.character-silhouette {
    position: absolute;
    top: 25px;
    right: 12%;
    display: grid;
    width: 180px;
    height: 235px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 90px 90px 35px 35px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(139, 92, 246, .12));
    box-shadow: 0 0 60px rgba(139, 92, 246, .12);
}

.character-silhouette span {
    color: rgba(255, 255, 255, .3);
    font-size: 100px;
    font-weight: 950;
}

.character-silhouette-female {
    border-color: rgba(139, 92, 246, .4);
    background: linear-gradient(145deg, rgba(139, 92, 246, .25), rgba(33, 212, 253, .08));
}

.india-map-art {
    position: relative;
    display: grid;
    min-height: 360px;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(33, 212, 253, .15), transparent 45%),
        linear-gradient(135deg, #101b31, #0b1020);
}

.map-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 35px 35px;
}

.map-center-symbol {
    position: relative;
    color: rgba(33, 212, 253, .15);
    font-size: clamp(65px, 13vw, 150px);
    font-weight: 950;
    letter-spacing: 10px;
}

.map-point {
    position: absolute;
    z-index: 2;
    padding: 6px 10px;
    border: 1px solid rgba(33, 212, 253, .4);
    border-radius: 20px;
    background: rgba(8, 10, 19, .85);
    color: var(--secondary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.map-point-one { top: 30%; left: 35%; }
.map-point-two { top: 20%; left: 18%; }
.map-point-three { top: 38%; right: 17%; }
.map-point-four { bottom: 25%; left: 27%; }
.map-point-five { top: 12%; right: 27%; }

@media (max-width: 768px) {
    .hero-art {
        width: 260px;
    }

    .hero-art-symbol {
        width: 110px;
        height: 110px;
        border-radius: 27px;
        font-size: 75px;
    }

    .featured-image-placeholder {
        width: 100%;
        max-width: none;
    }

    .character-silhouette {
        right: 8%;
        width: 145px;
        height: 190px;
    }

    .india-map-art {
        min-height: 290px;
    }

    .map-point {
        padding: 5px 7px;
        font-size: 8px;
    }
}
