/* ===== EPIC MODERN DESIGN ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    user-select: none;
}

.nav-login-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 16px !important;
    background: rgba(45, 156, 219, 0.1);
    border: 1px solid rgba(45, 156, 219, 0.3) !important;
    border-radius: 6px !important;
    color: #2d9cdb !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

/* ===== EPIC BACKGROUND ===== */
.epic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}

/* Stars Animation */
/* .stars,
.stars2,
.stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} */

/* .stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><circle cx="1" cy="1" r="1" fill="white" opacity="0.8"/></svg>') repeat;
    animation: stars-move 100s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="3"><circle cx="1.5" cy="1.5" r="1" fill="white" opacity="0.6"/></svg>') repeat;
    animation: stars-move 150s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="2" cy="2" r="1" fill="white" opacity="0.4"/></svg>') repeat;
    animation: stars-move 200s linear infinite;
} */

/* @keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-2000px); }
} */

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3b82f6, transparent);
    bottom: -10%;
    right: -10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50px);
    }
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Main Container */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* ===== EPIC HERO SECTION ===== */
.epic-hero-section {
    text-align: center;
    padding: 2rem 0;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-content {
    width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Epic Logo Container */
.epic-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: logo-entrance 1.5s ease;
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateY(180deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

/* Rotating Ring */
.rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border: 2px solid transparent;
    border-top-color: #8b5cf6;
    border-right-color: #8b5cf6;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Pulse Ring */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 115px;
    height: 115px;
    margin: -57.5px 0 0 -57.5px;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

/* Epic Logo */
.epic-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #8b5cf6;
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        inset 0 0 15px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {

    0%,
    100% {
        box-shadow:
            0 0 30px rgba(139, 92, 246, 0.5),
            0 0 60px rgba(139, 92, 246, 0.3),
            inset 0 0 20px rgba(139, 92, 246, 0.2);
    }

    50% {
        box-shadow:
            0 0 40px rgba(139, 92, 246, 0.8),
            0 0 80px rgba(139, 92, 246, 0.5),
            inset 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

.epic-logo:hover {
    transform: scale(1.1) rotate(360deg);
    transition: transform 0.8s ease;
}

.epic-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.5),
        0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.epic-subtitle {
    font-size: 1.2rem;
    color: #a78bfa;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem auto 2rem;
    max-width: 700px;
}

.stat-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(139, 92, 246, 0.1),
            transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.stat-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== EPIC CTA BUTTON ===== */
.epic-cta {
    margin: 2.5rem 0;
}

.epic-discord-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5865f2, #8b5cf6, #ec4899);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    z-index: 1;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899, #3b82f6, #8b5cf6);
    background-size: 400% 400%;
    border-radius: 50px;
    animation: border-rotate 4s linear infinite;
    z-index: 0;
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    margin: 2px;
    border-radius: 48px;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
}

.epic-discord-btn i {
    font-size: 1.5rem;
    color: #5865f2;
}

.btn-arrow {
    transition: transform 0.3s ease;
    color: #8b5cf6 !important;
}

.epic-discord-btn:hover .btn-arrow {
    transform: translateX(10px);
}

.epic-discord-btn:hover .btn-content {
    background: rgba(0, 0, 0, 0.6);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 3;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 100%;
    }
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.feature-card p {
    color: #a78bfa;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== EPIC FOOTER ===== */
.epic-footer {
    margin-top: auto;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(139, 92, 246, 0.1),
            transparent);
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

.footer-text {
    position: relative;
    z-index: 1;
    color: #a78bfa;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pulse-heart {
    color: #ec4899;
    animation: pulse-heart 1.5s ease infinite;
}

@keyframes pulse-heart {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .epic-title {
        font-size: 2.5rem;
    }

    .stats-container,
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .epic-title {
        font-size: 2rem;
    }

    .epic-subtitle {
        font-size: 1rem;
    }

    .epic-logo {
        width: 80px;
        height: 80px;
    }

    .rotating-ring {
        width: 110px;
        height: 110px;
        margin: -55px 0 0 -55px;
    }

    .pulse-ring {
        width: 92px;
        height: 92px;
        margin: -46px 0 0 -46px;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .btn-text {
        font-size: 1rem;
    }

    .btn-content {
        padding: 1.2rem 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .epic-hero-section {
        padding: 1rem 0;
    }

    .epic-title {
        font-size: 1.8rem;
    }

    .epic-subtitle {
        font-size: 0.9rem;
    }

    .epic-logo {
        width: 70px;
        height: 70px;
    }

    .rotating-ring {
        width: 95px;
        height: 95px;
        margin: -47.5px 0 0 -47.5px;
    }

    .pulse-ring {
        width: 80px;
        height: 80px;
        margin: -40px 0 0 -40px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .btn-content {
        padding: 1rem 1.5rem;
        gap: 0.75rem;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .feature-icon {
        font-size: 3rem;
    }
}

/* ===== Global Page Containers (Other pages) ===== */
.invitations-container,
.history-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.invitations-header h1,
.history-header h1 {
    font-size: 36px;
}

@media (max-width: 768px) {

    .invitations-header h1,
    .history-header h1 {
        font-size: 28px;
    }
}

/* ===== Navbar Responsive (Shared across pages) ===== */
.navbar {
    padding: 0;
}

.nav-container {
    min-height: 56px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-mobile-btn {
    display: none;
}

@media (max-width: 560px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: inline-flex;
    }
}

/* Mobile dropdown panel */

/* ===== PAGE TRANSITIONS ===== */
body {
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
}

body.page-loaded {
    opacity: 1;
}

body.page-transitioning {
    opacity: 0;
    pointer-events: none;
}

/* Loading Bar */
#nprogress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #00f3ff;
    z-index: 9999;
    transition: width 0.2s ease;
    width: 0%;
    box-shadow: 0 0 10px #00f3ff;
}

visibility: hidden;
transform: translateY(-6px);
transition: all .25s;
}

.mobile-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* User dropdown in navbar */
.nav-user-dropdown {
    position: relative;
}

.nav-user-dropdown .dropdown-menu {
    right: 0;
}

@media (max-width: 560px) {
    .nav-user-dropdown {
        position: static;
    }

    .nav-user-dropdown .dropdown-menu {
        left: 12px;
        right: auto;
    }
}

/* Lists grid fallback */
.invitation-details,
.transaction-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {

    .invitation-details,
    .transaction-details {
        grid-template-columns: 1fr;
    }
}

/* Legacy Styles (Keep for other pages) */

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.cta-section p {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
}

.cta-section code {
    background: #f7fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #e53e3e;
    font-weight: 500;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(88, 101, 242, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.discord-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.discord-btn:hover::before {
    left: 100%;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3b4cc4);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(88, 101, 242, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.discord-btn i,
.admin-btn i {
    font-size: 1.2rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Single button centering */
.cta-buttons:has(.discord-btn:only-child) {
    justify-content: center;
}

/* Modern Hero Section - Black Theme */
.hero-section {
    text-align: center;
    padding: 8rem 0 6rem;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.logo {
    width: 140px;
    height: auto;
    border-radius: 50%;
    /* border: 3px solid #333; */
    /* box-shadow: 0 0 0 1px #444, 0 20px 40px rgba(0, 0, 0, 0.3); */
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.logo:hover {
    transform: scale(1.05);
    border-color: #555;
    box-shadow: 0 0 0 1px #666, 0 25px 50px rgba(0, 0, 0, 0.4);
}

.logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #333, #555, #333);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Modern CTA Section - Black Theme */
.cta-section {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 4rem 3rem;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.cta-description {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.cta-description code {
    background: #2a2a2a;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: #ffffff;
    border: 1px solid #444;
}

/* Modern Discord Button - Black Theme */
.discord-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #2c2c2c;
    color: #ffffff;
    text-decoration: none;
    padding: 1.4rem 3.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.discord-btn:hover {
    transform: translateY(-2px);
    background: #3a3a3a;
    border-color: #555;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.discord-btn i {
    font-size: 1.4rem;
    color: #5865f2;
}

.btn-glow {
    display: none;
}

/* Modern Footer - Black Theme */
.modern-footer {
    background: #0a0a0a;
    border-top: 1px solid #222;
    padding: 3rem 0;
    margin-top: 6rem;
    text-align: center;
}

.footer-content p {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive Design - Black Theme */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-section {
        padding: 3rem 2rem;
        margin: 2rem 0;
    }

    .discord-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    .discord-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .cta-description {
        font-size: 1rem;
    }
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.admin-btn:hover::before {
    left: 100%;
}

.admin-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Discord Instructions Section */
.discord-instructions-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 3rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.discord-instructions-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    animation: rotate 15s linear infinite;
    z-index: -1;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instruction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    transition: left 0.5s;
}

.instruction-card:hover::before {
    left: 100%;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    /* margin: 0 auto 1.5rem; */
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content p {
    color: #718096;
    line-height: 1.6;
    font-size: 0.95rem;
}

.step-content code {
    background: #f7fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
    color: #e53e3e;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-header h2 i {
    color: #667eea;
    font-size: 1.8rem;
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}


/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    padding: 2.5rem;
    animation: modalSlideIn 0.3s ease;
}

.modal-content {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

#itemDetailsModal .modal-content,
#purchaseModal .modal-content,
.modal-content[style*="overflow"] {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#itemDetailsModal .modal-content::-webkit-scrollbar,
#purchaseModal .modal-content::-webkit-scrollbar,
.modal-content[style*="overflow"]::-webkit-scrollbar {
    display: none;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.success-icon {
    color: #38a169;
}

.error-icon {
    color: #e53e3e;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Whitelist Page Styles */
.whitelist-page {
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.whitelist-container {
    width: 100%;
    max-width: 500px;
}

.whitelist-modal {
    background: #2c2c2c;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #404040;
}

.modal-header {
    background: linear-gradient(135deg, #363636, #2a2a2a);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
    position: relative;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #5865f2;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.header-text h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text p {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #a0a0a0;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.warning-banner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #92400e;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.warning-icon {
    font-size: 1.25rem;
    color: #92400e;
}

.whitelist-form {
    padding: 2rem;
}

.form-description {
    margin-bottom: 2rem;
}

.form-description p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: #f3f4f6;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1f1f1f;
    border: 1px solid #404040;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input[type="number"] {
    -moz-appearance: textfield;
}

.form-input[type="number"]::-webkit-outer-spin-button,
.form-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #404040, #525252);
    color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #525252, #636363);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #4752c4, #3b4cc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

.btn-loading {
    display: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #2c2c2c;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid #404040;
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-content h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-content p {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .discord-btn,
    .admin-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .discord-instructions-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .instruction-card {
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .whitelist-modal {
        margin: 0.5rem;
    }

    .whitelist-form {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem;
    }

    .modal-header h1 {
        font-size: 1.25rem;
    }

    .whitelist-form {
        padding: 1rem;
    }

    .warning-banner {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}