/* V2 CSS Update - Legacy Hope RP */

:root {
    --primary-color: #ff0000;
    /* Red */
    --primary-glow: rgba(255, 0, 0, 0.6);
    --secondary-color: #8a0000;
    /* Dark Red */
    --bg-dark: #050505;
    --card-bg: rgba(20, 20, 20, 0.8);
    --glass-border: rgba(255, 0, 0, 0.2);
    /* Red tinted border */
    --text-color: #e0e0e0;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-color);
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b59230;
}

/* Text Selection */
::selection {
    background: var(--primary-color);
    color: #000;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 120px;
    animation: pulse 2s infinite;
    margin-bottom: 5px;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: blinkText 1.5s infinite;
}

@keyframes blinkText {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading-bar {
    width: 250px;
    height: 4px;
    background: #111;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), #ff4444);
    box-shadow: 0 0 15px var(--primary-color);
    animation: load 2.5s ease-in-out forwards;
}

@keyframes load {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.loading-percentage {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Snow Effect */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through */
    z-index: 999;
    /* Below Navbar (1000) */
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 45px;
}

/* Server Status Widget */
.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #aaa;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: 0.3s;
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}

.btn-youtube {
    background: #FF0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    margin-right: 15px;
}

.btn-youtube:hover {
    background: #cc0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px) scale(1.1);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section with Flow Effect */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background: url('https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/8d3e93c2-7eac-41fa-93af-8ba56fe6a863/df4r2vb-4063d5d6-196b-4027-81cd-2bd0dba50598.png/v1/fill/w_1280,h_720,q_80,strp/gta_v_roleplay_bennys_photo_by_amarmaruuuf_df4r2vb-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NzIwIiwicGF0aCI6Ii9mLzhkM2U5M2MyLTdlYWMtNDFmYS05M2FmLThiYTU2ZmU2YTg2My9kZjRyMnZiLTQwNjNkNWQ2LTE5NmItNDAyNy04MWNkLTJiZDBkYmE1MDU5OC5wbmciLCJ3aWR0aCI6Ijw9MTI4MCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.LbeZhqG1L1aR1lhtMbGcEa57VzWDkNxXy-h28EFRAKY') no-repeat center center/cover;
    animation: flowEffect 20s ease-in-out infinite alternate;
}

@keyframes flowEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(5, 5, 5, 1) 100%);
    z-index: -1;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.hero-logo {
    width: 160px;
    filter: drop-shadow(0 0 30px var(--primary-glow));
    animation: float 6s ease-in-out infinite;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 0.9;
    margin-bottom: 20px;
    position: relative;
}

/* Glitch Effect on Text */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #f0f;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch 3s infinite linear alternate-reverse;
}

.glitch::after {
    color: #0ff;
    z-index: -2;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    animation: glitch 2.5s infinite linear alternate-reverse;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: #ccc;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #f3e5ab);
    color: #000;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s;
    pointer-events: none;
}

.btn-primary:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 35px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
    color: var(--primary-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--primary-color), #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.line {
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--secondary-color);
}

/* About Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.95));
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s;
    transform-origin: left;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.about-card p {
    color: #aaa;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 300px;
    transition: 0.4s;
    position: relative;
}

.team-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(168, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.team-img img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
}

.role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 10px 0;
    text-transform: uppercase;
}

.role.owner {
    background: rgba(168, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.role.dev {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* Rules */
.rules-container {
    max-width: 800px;
    margin: 0 auto;
}

.rule-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.rule-header {
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.rule-header span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.7;
    margin-right: 20px;
}

.rule-header h4 {
    flex: 1;
    font-size: 1.2rem;
    color: #fff;
}

.rule-header i {
    color: var(--primary-color);
    transition: 0.3s;
}

.rule-item.active .rule-header i {
    transform: rotate(45deg);
}

.rule-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.4);
}

.rules-content {
    padding: 20px;
}

.rules-content ol {
    margin-left: 20px;
    color: #ccc;
    line-height: 1.8;
}

.rules-content ol li {
    margin-bottom: 15px;
}

.rules-content ol li ul {
    margin-top: 10px;
    margin-left: 20px;
    list-style: circle;
    color: #999;
}

.rules-content strong {
    color: var(--primary-color);
}

.rules-note {
    margin-top: 25px;
    background: rgba(20, 100, 20, 0.1);
    border-left: 3px solid #00ff00;
    padding: 15px;
    border-radius: 4px;
}

.rules-note p {
    margin-bottom: 5px;
    color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    padding: 0;
}

.rules-content i {
    color: #00ff00;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 220px;
    position: relative;
    border: 1px solid var(--glass-border);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    filter: grayscale(20%);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    transform: translateY(20px);
    transition: 0.4s ease;
}

.gallery-overlay p {
    color: #ccc;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: 0.4s 0.1s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 30px;
    padding: 60px 0 30px;
    position: relative;
    margin-top: 50px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    opacity: 0.8;
}

.social-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #fff;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.copyright {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

.dev-credit {
    color: var(--primary-color);
}


/* Volume Button */
.volume-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.volume-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 76px;
        height: calc(100vh - 76px);
        flex-direction: column;
        background: #000;
        width: 100%;
        text-align: center;
        padding-top: 50px;
        transition: 0.4s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .nav-cta {
        display: none;
    }
}

/* Whitelist Form Styles */
.whitelist-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

#whitelistForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #000;
    /* Fixed: Solid black background for visibility */
    border: 1px solid var(--glass-border);
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.form-group select option {
    background: #000;
    color: #fff;
}

.hidden-field {
    display: none !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group button {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #whitelistForm {
        grid-template-columns: 1fr;
    }

    .whitelist-form-container {
        padding: 20px;
    }
}

/* Police Form Styles */
#policeForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    #policeForm {
        grid-template-columns: 1fr;
    }
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(5, 5, 5, 1));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(15, 15, 15, 0.95));
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 20px var(--primary-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f3e5ab, var(--primary-color));
}

.scroll-to-top:active {
    transform: translateY(-3px) scale(1.05);
}

/* Enhanced Card Animations */
.about-card,
.team-card,
.gallery-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsiveness for Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}