@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #0d0d12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.5);
    --glass-blur: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

/* Background Decoration */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    bottom: -250px;
    left: -250px;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 18, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    padding: 0.8rem 2rem;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 40px;
}

.nav-logo img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--accent-glow));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px var(--accent));
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 1rem;
    z-index: 10;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 2rem;
    z-index: 10;
}

.filters-container select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%238b5cf6%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.70rem auto;
    padding-right: 2.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filters-container select:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.filters-container select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.filters-container select option {
    background: #1a1b1e;
    color: white;
    padding: 10px;
}

#search-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    padding-left: 3.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    color: white;
    font-size: 1.1rem;
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

#search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.pokedex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Type Colors */
.type-normal {
    background-color: #A8A77A;
}

.type-fire {
    background-color: #EE8130;
}

.type-water {
    background-color: #6390F0;
}

.type-electric {
    background-color: #F7D02C;
    color: #000;
}

.type-grass {
    background-color: #7AC74C;
}

.type-ice {
    background-color: #96D9D6;
    color: #000;
}

.type-fighting {
    background-color: #C22E28;
}

.type-poison {
    background-color: #A33EA1;
}

.type-ground {
    background-color: #E2BF65;
    color: #000;
}

.type-flying {
    background-color: #A98FF3;
}

.type-psychic {
    background-color: #F95587;
}

.type-bug {
    background-color: #A6B91A;
}

.type-rock {
    background-color: #B6A136;
}

.type-ghost {
    background-color: #735797;
}

.type-dragon {
    background-color: #6F35FC;
}

.type-steel {
    background-color: #B7B7CE;
    color: #000;
}

.type-fairy {
    background-color: #D685AD;
}

.types-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
    justify-content: center;
}

.abilities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1rem;
    justify-content: center;
    min-height: 1.5rem;
}

.ability-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 40px;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}

.ability-badge:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent);
    color: var(--text-primary);
}

.hidden-ability {
    border-color: rgba(124, 58, 237, 0.3);
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.1);
    font-style: italic;
}

.type-badge {
    padding: 0.2rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stats-container {
    width: 100%;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 16px;
}

.stats-header {
    display: grid;
    grid-template-columns: 35px 1fr 30px 65px;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-header span {
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.stat-header-range {
    display: flex;
    justify-content: space-between;
    width: 65px;
}

.stat-row {
    display: grid;
    grid-template-columns: 35px 1fr 30px 65px;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-secondary);
}

.stat-range {
    font-size: 0.6rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', Courier, monospace;
    width: 65px;
}

.stat-range span {
    width: 30px;
    text-align: right;
}

.stat-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 10px;
    transition: width 1s ease-out;
}

.stat-value {
    flex: 0 0 25px;
    text-align: right;
    font-weight: 600;
}

.total-stat {
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--card-border);
    justify-content: space-between;
    display: flex;
    font-weight: 800;
    color: var(--accent);
}

/* Evolutions & Moves Section - Card Buttons */
.evolution-section {
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.card-btn {
    flex: 1;
    color: white;
    border: none;
    padding: 0.8rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.evo-button {
    background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.moves-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.card-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Modal GUI Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover {
    color: var(--accent);
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.evolution-chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.evo-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    padding: 1.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.evo-member:hover {
    background: rgba(255, 255, 255, 0.08);
}

.evo-member.current {
    border: 2px solid var(--accent);
    background: rgba(139, 92, 246, 0.1);
}

.evo-member img {
    width: 80px;
    height: 80px;
}

.evo-member span {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

.evo-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
}

.evo-arrow i {
    font-size: 2rem;
    font-style: normal;
}

.pokemon-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.pokemon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--card-border), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.pokemon-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px var(--accent-glow);
}

.pokemon-card:hover::before {
    transform: translateX(100%);
}

.pokemon-img-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 20px;
    margin-bottom: 1rem;
}

.pokemon-card img {
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.pokemon-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.pokemon-info {
    margin-top: 1rem;
    text-align: center;
}

.pokemon-id {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pokemon-name {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .pokedex-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .pokemon-card img {
        width: 120px;
        height: 120px;
    }
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Moves Modal Specifics */
.moves-modal-content {
    max-width: 900px !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.moves-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.moves-table-container {
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0;
    flex: 1;
    position: relative;
}

#moves-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    position: relative;
}

#moves-table th {
    text-align: left;
    padding: 1rem 0.8rem;
    color: var(--accent);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: #1a1b1e;
    z-index: 100;
}

#moves-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#moves-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.move-type-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.cat-physical {
    background: #d94119;
    color: white;
}

.cat-special {
    background: #3c5aa6;
    color: white;
}

.cat-status {
    background: #8e8e8e;
    color: white;
}

/* Spawning Details Styles */
.spawning-container {
    padding: 1rem;
    color: var(--text-primary);
}

.spawn-block {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spawn-title {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spawn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spawn-info-item {
    display: flex;
    flex-direction: column;
}

.spawn-info-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.spawn-info-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.spawn-requirements,
.spawn-biomes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.biome-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.biome-tag {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.requirement-item {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: #ffdcb0;
}

/* Abilities Info Tab Styles */
.abilities-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.ability-info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.ability-info-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.ability-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
}

.ability-info-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.ability-info-hidden {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #a78bfa;
    border-radius: 4px;
    font-weight: 600;
}

.ability-info-description {
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Servers Page */
#servers-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.servers-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.servers-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.servers-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.servers-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.server-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(124, 58, 237, 0.2);
}

.server-card.sponsored {
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.05), rgba(0, 0, 0, 0.2));
}

.sponsored-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.server-icon-container {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
}

.server-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.server-info-main {
    flex-grow: 1;
}

.server-title-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.server-name {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.status-badge {
    font-weight: 700;
    font-size: 1.1rem;
}

.status-badge.unavailable {
    color: #ef4444;
}

.status-badge.available {
    color: #22c55e;
}

.vote-info {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.server-banner {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-size: 1.15rem;
}

.server-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-server {
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    border: none;
    cursor: pointer;
}

.btn-copy {
    background: #7c3aed;
    color: white;
}

.btn-copy:hover {
    background: #6d28d9;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
    transform: scale(1.05);
}

.btn-copy.copied {
    background: #10b981 !important;
}

.btn-discord {
    background: #5865f2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
    transform: scale(1.05);
}

.btn-install {
    background: #22c55e;
    color: white;
}

.btn-install:hover {
    background: #16a34a;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
    transform: scale(1.05);
}

.btn-server span:first-child {
    font-size: 1.1rem;
    margin-bottom: 4px;
    text-align: center;
    line-height: 1.2;
}

.btn-server span:last-child {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    text-align: center;
}

.copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.copy-tooltip.show {
    opacity: 1;
    bottom: 140%;
}

@media (max-width: 1000px) {
    .server-card {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
    }

    .server-icon-container {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .server-title-row {
        flex-direction: column;
        text-align: center;
    }

    .server-name {
        font-size: 2rem;
    }

    .server-description,
    .vote-info {
        text-align: center;
    }

    .server-actions {
        justify-content: center;
    }
}