* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #292929 50%, #000000 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.8s ease;
}

/* Background Theme Variants */
body.bg-theme-default {
    background: linear-gradient(135deg, #000000 0%, #292929 50%, #000000 100%);
}

body.bg-theme-dark {
    background: linear-gradient(135deg, #4a0e26 0%, #0f1d4a 50%, #07404a 100%);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #831843 0%, #1e3a8a 50%, #0e7490 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

/* Loading Screen Theme Variants */
body.bg-theme-default .loading-screen {
    background: linear-gradient(135deg, #831843 0%, #1e3a8a 50%, #0e7490 100%);
}

body.bg-theme-dark .loading-screen {
    background: linear-gradient(135deg, #4a0e26 0%, #0f1d4a 50%, #07404a 100%);
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-circle {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #64ffda;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading {
    overflow: hidden;
}

.container.loading {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.container.loaded {
    opacity: 1;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat i {
    color: #64ffda;
    font-size: 1.2rem;
}

.stat strong {
    color: #64ffda;
}



.npc-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.npc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.npc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.npc-header h4 {
    font-size: 1.5rem;
    color: #64ffda;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.npc-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.npc-info p {
    margin-bottom: 0.5rem;
    color: #8892b0;
}

.npc-info strong {
    color: #64ffda;
}

.npc-actions {
    margin-top: 1.5rem;
}

/* Quick Navigation */
.quick-nav h3 {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.nav-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-card:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
}

.nav-card i {
    font-size: 2.5rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.nav-card h4 {
    font-size: 1.3rem;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.nav-card p {
    color: #8892b0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0f0f23;
}

.btn-secondary {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    border: 1px solid #64ffda;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.3);
}

/* View Variants Button - Semi-transparent with gradient border */
.btn-variants {
    background: linear-gradient(135deg, rgba(131, 24, 67, 0.15), rgba(30, 58, 138, 0.15), rgba(14, 116, 144, 0.15));
    color: #64ffda;
    border: 2px solid #64ffda;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    position: relative;
}

.btn-variants::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 212, 170, 0.1));
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-variants:hover::before {
    opacity: 1;
}

.btn-variants:hover {
    background: linear-gradient(135deg, rgba(131, 24, 67, 0.25), rgba(30, 58, 138, 0.25), rgba(14, 116, 144, 0.25));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

/* Codes Page Styles */
.codes-section {
    margin-bottom: 3rem;
}

.codes-section h3 {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    color: #8892b0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.code-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.code-card:hover::before {
    transform: scaleX(1);
}

.code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.code-card.featured {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 212, 170, 0.1));
    border: 2px solid rgba(100, 255, 218, 0.3);
}

.code-card.featured::before {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.code-text {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.code-reward {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.code-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8892b0;
}

.code-info i {
    color: #64ffda;
    font-size: 1.1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1rem;
}

.info-content h4 {
    color: #64ffda;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-content ol {
    color: #8892b0;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.info-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffc107;
}

.warning i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .codes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .code-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .code-text {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .code-reward {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Footer */
.footer {
    background: rgba(14, 116, 144, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 4rem 1rem 0 1rem;
    padding: 2rem 0 1rem;
    border-radius: 16px 16px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 20px;
}

.footer-section h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: #8892b0;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-section a:hover {
    color: #64ffda;
}

/* Footer Link Styles */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #64ffda;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00d4aa;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8892b0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.7rem;
        padding: 0 8px;
    }
    
    .nav ul {
        justify-content: center;
        gap: 0.22rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(30, 58, 138, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0.75rem;
        min-width: auto;
        width: auto;
        padding: 0.28rem;
        border-radius: 10px;
    }
    
    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }
    
    .dropdown-menu a:last-child {
        margin-bottom: 0;
    }
    
    .dropdown-menu a::before {
        display: none;
    }
    
    .dropdown-toggle .fa-chevron-down {
        display: none;
    }
    
    .nav a {
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .npcs-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .skill-name {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Squads Page Mobile Styles */
    .upgrades-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .upgrades-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .upgrade-card {
        padding: 1.25rem;
    }
    
    .upgrade-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .time-coins-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.featured-npc,
.quick-nav {
    animation: fadeInUp 0.6s ease-out;
}

/* NPCs Page Styles */
.npcs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.npc-listing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.npc-listing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.npc-listing-card:hover::before {
    transform: scaleX(1);
}

.npc-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.npc-listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.npc-listing-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.npc-listing-title h3 {
    color: #64ffda;
    font-size: 1.4rem;
    margin: 0;
}

.npc-listing-icon {
    font-size: 2rem;
    color: #64ffda;
}

.npc-listing-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.npc-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.npc-badge.featured {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0f0f23;
}

.npc-listing-info {
    margin-bottom: 1.5rem;
}

.npc-listing-info p {
    margin-bottom: 0.5rem;
    color: #8892b0;
}

.npc-listing-info strong {
    color: #64ffda;
}

.npc-listing-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.npc-stat {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.npc-stat-value {
    color: #64ffda;
    font-weight: 600;
    font-size: 1.1rem;
}

.npc-stat-label {
    color: #8892b0;
    font-size: 0.9rem;
}

.npc-listing-actions {
    display: flex;
    gap: 1rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #8892b0;
}

.search-section {
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), rgba(0, 212, 170, 0.05));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-box:focus-within {
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 24px rgba(100, 255, 218, 0.15);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
}

.search-box:focus-within::before {
    opacity: 1;
}

.search-box input {
    flex: 1;
    padding: 1.25rem 1.75rem;
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
    outline: none;
    width: 100%;
}

.search-box input::placeholder {
    color: #8892b0;
    font-weight: 400;
    opacity: 0.7;
}

/* Quest Styles */
.quests-section {
    margin-top: 2rem;
}

.quest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.quest-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.quest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.quest-number {
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    color: #0f0f23;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.quest-reward {
    color: #64ffda;
    font-weight: 600;
    font-size: 1.1rem;
}

.quest-requirements {
    margin-top: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.requirement-item i {
    color: #64ffda;
}

.quest-reward-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
}

.quest-reward-info p {
    margin-bottom: 0.5rem;
    color: #8892b0;
}

.quest-reward-info strong {
    color: #64ffda;
}

/* Skills Section */
.skills-section {
    margin-top: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Skill Cards */
.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.skill-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #64ffda;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.skill-keybind {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}



.skill-card p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #b8c5d6;
}

.skill-card strong {
    color: #64ffda;
    font-weight: 600;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #8892b0;
}

.breadcrumb a {
    color: #64ffda;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}



/* Coming Soon Styles */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin: 2rem 0;
}

.coming-soon i {
    font-size: 4rem;
    color: #64ffda;
    margin-bottom: 2rem;
}

.coming-soon h2 {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 1rem;
}

.coming-soon p {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 2rem;
}

/* Squads Page Styles */
.squads-section {
    margin-bottom: 3rem;
}

.squads-section h3 {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-coins-info {
    margin-top: 1.5rem;
}

.time-coins-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.time-coins-card i {
    font-size: 2rem;
    color: #64ffda;
}

.time-coins-card h5 {
    color: #64ffda;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.time-coins-card p {
    color: #8892b0;
    margin: 0;
}

.upgrades-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.upgrade-type-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upgrade-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.upgrade-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.upgrade-icon i {
    font-size: 1.5rem;
    color: #0f0f23;
}

.upgrade-type-card h4 {
    color: #64ffda;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.upgrade-type-card p {
    color: #8892b0;
    margin-bottom: 1rem;
}

.upgrade-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.upgrade-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upgrade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.upgrade-card:hover::before {
    transform: scaleX(1);
}

.upgrade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.upgrade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.upgrade-level {
    color: #64ffda;
    font-weight: 600;
    font-size: 1.1rem;
}

.upgrade-cost {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.upgrade-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8892b0;
}

.stat-item i {
    color: #64ffda;
    font-size: 0.9rem;
}

.stat-item span {
    font-weight: 500;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #64ffda;
    border: 1px solid #64ffda;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00d4aa;
}

/* Calculator Styles */
.calculator-section {
    margin: 1rem 0 0rem 0;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-header h3 {
    font-size: 2rem;
    color: #64ffda;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calculator-header p {
    color: #8892b0;
    font-size: 1.1rem;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.results-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 400px;
}

.results-box h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.results-placeholder {
    color: #8892b0;
    text-align: center;
    font-style: italic;
}

.calculator-main {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    color: #64ffda;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.form-group input::placeholder {
    color: #8892b0;
}

.skill-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.75rem;
}

.skill-button {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem 0.75rem;
    color: #8892b0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.skill-button:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: #64ffda;
    color: #64ffda;
}

.skill-button.active {
    background: rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
    color: #64ffda;
}

.skill-emoji {
    font-size: 1.75rem;
}

.skill-name {
    font-weight: 600;
    font-size: 1rem;
}

.calculate-btn {
    background: linear-gradient(135deg, rgba(131, 24, 67, 0.08), rgba(30, 58, 138, 0.08), rgba(14, 116, 144, 0.08));
    color: #64ffda;
    border: 2px solid rgba(100, 255, 218, 0.6);
    border-radius: 12px;
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(0, 212, 170, 0.1));
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculate-btn:hover::before {
    opacity: 1;
}

.calculate-btn:hover {
    background: linear-gradient(135deg, rgba(131, 24, 67, 0.15), rgba(30, 58, 138, 0.15), rgba(14, 116, 144, 0.15));
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.4);
}

.calculator-note {
    margin-top: 0.5rem;
    color: #e57373;
    font-size: 0.9rem;
    text-align: center;
}

.prefix-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.prefix-table h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.prefix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.5rem;
    max-height: 700px;
    overflow-y: auto;
}

.prefix-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 0.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #8892b0;
}

.prefix-item:hover {
    border-color: #64ffda;
    color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.stat-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.stat-label {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-detail {
    color: #8892b0;
    font-size: 0.8rem;
}

.progress-bar-container {
    margin-top: 1rem;
}

.progress-text {
    text-align: center;
    color: #8892b0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar {
    background: rgba(0, 0, 0, 0.3);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #64ffda, #00d4aa);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #64ffda;
    color: #0f0f23;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

/* Calculator Responsive Design */
@media (max-width: 1024px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .calculator-header h3 {
        font-size: 1.5rem;
    }
    
    .skill-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .prefix-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    }
    
    .calculator-main {
        padding: 1.5rem;
    }
    
    .results-box {
        padding: 1rem;
    }
    
    .prefix-table {
        padding: 1rem;
    }
} 

/* Rune Calculator Styles */
.rune-calculator-section {
    margin: 3rem 0;
}

.rune-calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.rune-results-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    min-height: 300px;
}

.rune-results-box h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.rune-results-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rune-calculator-main {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.rune-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rune-calculator-form .form-group input:disabled {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
    color: #64ffda;
    cursor: not-allowed;
    opacity: 0.6;
}

.rune-calculator-form .form-group input:disabled::placeholder {
    color: #64ffda;
    opacity: 0.7;
}

.rune-odds-table {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
}

.rune-odds-table h4 {
    color: #64ffda;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.rune-odds-grid {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: none;
    overflow-y: visible;
}

.odds-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.4rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    transition: all 0.3s ease;
}

.odds-item:hover {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.odds-tier {
    font-weight: 600;
    font-size: 0.8rem;
}

.odds-tier.common { color: #8c7853; }
.odds-tier.uncommon { color: #56d364; }
.odds-tier.rare { color: #2ea6ff; }
.odds-tier.epic { color: #a855f7; }
.odds-tier.legendary { color: #ff8c00; }
.odds-tier.mythical { color: #ff1744; }
.odds-tier.ancient { color: #e91e63; }
.odds-tier.divine { color: #fff5b9; }
.odds-tier.arcanith { color: #00ffff; }
.odds-tier.cosmic { color: #ff69b4; }
.odds-tier.angelic { color: #ffe448; }
.odds-tier.demonic { color: #ff0000; }

.odds-multi {
    color: #64ffda;
    font-weight: 600;
    font-size: 0.8rem;
}

.odds-chance {
    color: #8892b0;
    font-size: 0.75rem;
    text-align: right;
}

.rune-stat-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.rune-stat-label {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.rune-stat-value {
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.rune-stat-detail {
    color: #8892b0;
    font-size: 0.8rem;
}

/* Rune Calculator Responsive Design */
@media (max-width: 1024px) {
    .rune-calculator-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .rune-calculator-main {
        padding: 1.5rem;
    }
    
    .rune-results-box {
        padding: 1rem;
    }
    
    .rune-odds-table {
        padding: 1rem;
    }
    
    .odds-item {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
} 