/* ==========================================================================
   ProjectLife RP Custom CSS - Glasmopolitan & Liberty City Theme
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
    --bg-dark: #07080a;
    --bg-dark-secondary: #0f1115;
    --orange-primary: #ff6a00;
    --orange-secondary: #ff3c00;
    --orange-hover: #ff8533;
    --orange-glow: rgba(255, 106, 0, 0.25);
    --orange-glow-strong: rgba(255, 106, 0, 0.5);
    --orange-gradient: linear-gradient(135deg, #ff8c00 0%, #e52d27 100%);
    
    --text-primary: #f5f6f8;
    --text-muted: #9ba3af;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-border-hover: rgba(255, 106, 0, 0.3);
    --glass-blur: 16px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* CSS Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Lights */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    mix-blend-mode: screen;
}

.bg-glow-1 {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--orange-primary) 0%, transparent 70%);
    animation: pulse-glow-1 12s infinite alternate;
}

.bg-glow-2 {
    top: 60%;
    left: -200px;
    background: radial-gradient(circle, var(--orange-secondary) 0%, transparent 70%);
    animation: pulse-glow-2 15s infinite alternate;
}

@keyframes pulse-glow-1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.12; }
    100% { transform: translate(-50px, 50px) scale(1.2); opacity: 0.18; }
}

@keyframes pulse-glow-2 {
    0% { transform: translate(0, 0) scale(1.1); opacity: 0.1; }
    100% { transform: translate(80px, -40px) scale(0.9); opacity: 0.15; }
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #252830;
    border-radius: 4px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-primary);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

span.text-orange {
    color: var(--orange-primary);
    text-shadow: 0 0 10px var(--orange-glow);
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--orange-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--orange-glow-strong);
}

.btn-secondary {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(var(--glass-blur));
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-glow);
    transform: translateY(-2px);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-ucp {
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    font-size: 1rem;
    padding: 8px 20px;
    box-shadow: inset 0 0 10px rgba(255, 106, 0, 0.05);
}

.btn-ucp:hover {
    background: var(--orange-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--orange-glow-strong);
}

/* Glassmorphic Card base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    transition: var(--transition-normal);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 8, 10, 0.75);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(7, 8, 10, 0.9);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--orange-primary);
    box-shadow: 0 0 10px var(--orange-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--orange-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange-primary);
    box-shadow: 0 0 8px var(--orange-primary);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(90deg, rgba(7, 8, 10, 0.9) 0%, rgba(7, 8, 10, 0.5) 60%, rgba(7, 8, 10, 0.85) 100%), url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-content {
    background: rgba(7, 8, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.02);
    z-index: 5;
    position: relative;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange-primary);
    letter-spacing: 0.5px;
    box-shadow: inset 0 0 10px rgba(255, 106, 0, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff66;
}

.animate-pulse {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-title span {
    color: var(--orange-primary);
    background: var(--orange-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 106, 0, 0.25));
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-frame {
    width: 320px;
    height: 320px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4),
                inset 0 0 30px rgba(255, 255, 255, 0.02);
    animation: float 6s ease-in-out infinite;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(255, 106, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Section Common Header */
.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 12px;
}

.section-title span {
    color: var(--orange-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* How To Play Section (Epic Steps) */
.how-to-play-section {
    padding: 120px 0;
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    padding: 50px 35px;
    border-radius: 24px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: var(--orange-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 0 12px var(--orange-glow);
}

.step-icon {
    font-size: 3rem;
    color: var(--orange-primary);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 106, 0, 0.05);
    border: 1px solid rgba(255, 106, 0, 0.15);
    transition: var(--transition-fast);
}

.step-card:hover .step-icon {
    background: var(--orange-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--orange-glow-strong);
    transform: scale(1.05);
}

.step-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

.btn-step-action {
    width: 100%;
    font-size: 1rem;
    padding: 10px 20px;
}

/* Highlighted Step (Third step: Connect) */
.highlighted-step {
    border-color: rgba(255, 106, 0, 0.3);
    background: rgba(255, 106, 0, 0.02);
    box-shadow: inset 0 0 25px rgba(255, 106, 0, 0.02),
                0 15px 35px rgba(255, 106, 0, 0.05);
}

.highlighted-step:hover {
    border-color: var(--orange-primary);
    box-shadow: inset 0 0 30px rgba(255, 106, 0, 0.03),
                0 20px 45px rgba(255, 106, 0, 0.15);
}

.step-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 106, 0, 0.05);
}

/* Footer Style */
.footer {
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--orange-primary);
}

.footer-brand-text .logo-text {
    font-size: 1.8rem;
}

.footer-brand-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--orange-primary);
}

.footer-links a.ucp-link {
    color: var(--orange-primary);
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    color: #fff;
    border-color: var(--orange-primary);
    background: var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-glow);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.25);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Web Design (Media Queries) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        max-width: 600px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .logo-frame {
        width: 280px;
        height: 280px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(7, 8, 10, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: left var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-content {
        padding: 24px 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .nav-actions .btn-ucp {
        display: none;
    }
}
