:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: rgba(30, 30, 30, 0.6);
    --color-primary: #6366f1;
    --color-primary-light: #8b5cf6;
    --color-accent: #fb923c;
    --color-pink: #f472b6;
    --text-primary: #e5e5e5;
    --text-secondary: #a3a3a3;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

.game-photo {
    width: 100%;
    height: 100%;
}

/* 背景動畫效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    animation: float 20s infinite ease;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-100px) translateX(50px);
    }

    50% {
        transform: translateY(-50px) translateX(-50px);
    }

    75% {
        transform: translateY(-150px) translateX(100px);
    }
}

/* 光球效果 */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    background: #ef4444;
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
    animation: orbMove 25s infinite ease-in-out;
}

.orb-2 {
    background: #06b6d4;
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -150px;
    animation: orbMove 25s infinite ease-in-out;
    animation-delay: -10s;
}

.orb-3 {
    background: #6366f1;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbMove 25s infinite ease-in-out;
    animation-delay: -5s;
}

@keyframes orbMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100px, -100px);
    }

    50% {
        transform: translate(-50px, 50px);
    }

    75% {
        transform: translate(50px, 100px);
    }
}

/* 導航欄 */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

/* ============================= */
/* 手機漢堡選單 (不影響原本樣式) */
/* ============================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s ease;
}

/* 768px 以下 */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);

        flex-direction: column;
        align-items: center;
        gap: 1.5rem;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding: 0;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1.5rem 0;
    }
}

/* 主內容區 */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 120px;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 頁面標題 */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 遊戲清單網格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

/* 遊戲卡片 */
.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.game-card.reveal {
    animation: revealCard 0.6s ease forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 遊戲圖片 */
.game-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.vpn-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
}

.game-image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image-inner {
    transform: scale(1.05);
}

/* 遊戲標題 */
.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* 遊戲簡介 */
.game-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 按鈕組 */
.game-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.game-button {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.game-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.game-button:hover::before {
    left: 100%;
}

.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-play {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.btn-admin {
    background: linear-gradient(135deg, #fb923c, #f472b6);
}

.btn-vpn {
    background: linear-gradient(135deg, #06b6d4, #8b5cf6);
}

/* Footer */
footer {
    position: relative;
    z-index: 10;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Kuse Branding */
.kuse-branding {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.kuse-branding:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.kuse-branding svg {
    height: 1.2em;
    transition: color 0.3s ease;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .game-buttons {
        flex-direction: column;
    }

    .game-button {
        min-width: 100%;
    }

    .kuse-branding {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .vpn-image {
        height: 200px;
    }
}

.web-logo {
    width: 50px;
    height: 50px;
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
}

.btn-cyan {
    background: linear-gradient(135deg, cyan, #8b5cf6);
}

.btn-red {
    background: linear-gradient(135deg, red, cyan);
}

.btn-blue {
    background: linear-gradient(135deg, blue, cyan);
}

.btn-orange {
    background: linear-gradient(135deg, orange, #8b5cf6);
}

.game-button {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.game-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.game-button:hover::before {
    left: 100%;
}

.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 10px var(--color-primary), 0 0 20px var(--color-primary);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    25% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.9;
    }

    50% {
        transform: translate(-50px, -200px) scale(1);
        opacity: 0.8;
    }

    75% {
        transform: translate(150px, -150px) scale(1.2);
        opacity: 0.85;
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: orbMove 25s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ef4444, transparent);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #06b6d4, transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-primary), transparent);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
}

@keyframes orbMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, -50px) scale(0.9);
    }
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideDown 0.8s ease-out;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.4s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite, fadeInUp 1s ease-out;
    text-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge {
    animation: fadeInUp 1s ease-out 0.5s both, pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Service Cards */
.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
}

.service-card.reveal {
    animation: revealCard 0.8s ease-out forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
    animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    border-color: var(--color-primary);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    animation: iconBounce 0.6s ease;
    transform: scale(1.1);
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1.1) translateY(0);
    }

    50% {
        transform: scale(1.2) translateY(-10px);
    }
}

.service-title {
    background: linear-gradient(135deg, var(--text-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.about-card.reveal {
    animation: scaleIn 0.8s ease-out forwards;
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-item {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.feature-item.reveal {
    animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    transform: translateX(10px);
    color: var(--color-primary);
}

.feature-item i {
    transition: all 0.3s ease;
}

.feature-item:hover i {
    animation: spin 0.6s ease;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Contact Section */
.contact-link {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.contact-link.reveal {
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-link:hover::after {
    width: 300px;
    height: 300px;
}

.contact-link:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.contact-link:hover .contact-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.kuse-branding {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.kuse-branding:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.kuse-branding svg {
    height: 1.2em;
    transition: all 0.3s ease;
}

.kuse-branding:hover svg {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-follower {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

/* Number Counter Animation */
.counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1s ease 2s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
    to {
        transform: rotate(360deg);
    }
}

/* Glowing Text Effect */
.glow-text {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
    }

    50% {
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.6);
    }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}