* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cobblemon Dark Theme */
    --cobblemon-black: #0D0D0D;
    --cobblemon-dark: #1A1A1A;
    --cobblemon-darker: #0A0A0A;
    --cobblemon-blue: #1E3A8A;
    --cobblemon-blue-bright: #3B82F6;
    --cobblemon-cyan: #06B6D4;
    --cobblemon-purple: #7C3AED;
    --cobblemon-purple-dark: #5B21B6;
    --cobblemon-gold: #FBBF24;
    --cobblemon-gold-dark: #D97706;
    --cobblemon-red: #DC2626;
    --cobblemon-red-dark: #991B1B;
    --cobblemon-gray: #374151;
    --cobblemon-light-gray: #6B7280;
    --cobblemon-white: #F3F4F6;
    --cobblemon-text: #FFFFFF;
    /* Minecraft colors */
    --minecraft-stone: #808080;
    --minecraft-grass: #7CB342;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--cobblemon-text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background: var(--cobblemon-black);
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 13, 13, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.4) 0%, rgba(220, 38, 38, 0.4) 100%);
    border-radius: 10px;
    border: 1px solid rgba(13, 13, 13, 0.2);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.6) 0%, rgba(220, 38, 38, 0.6) 100%);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(251, 191, 36, 0.4) rgba(13, 13, 13, 0.3);
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, var(--cobblemon-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--cobblemon-purple) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--cobblemon-cyan) 0%, transparent 60%),
        linear-gradient(135deg, var(--cobblemon-black) 0%, var(--cobblemon-darker) 50%, var(--cobblemon-black) 100%);
    background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%;
    animation: gradientShift 20s ease infinite;
}

.background-animation::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 750px;
    background-image: url('site pngs/baixados.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.35;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.4));
    animation: logoMove 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes logoMove {
    0%, 100% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1);
    }
    12.5% {
        transform: translate(-50%, -50%) translateX(3px) translateY(-2px) scale(1.02);
    }
    25% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1.08);
    }
    37.5% {
        transform: translate(-50%, -50%) translateX(-2px) translateY(3px) scale(1.02);
    }
    50% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1);
    }
    62.5% {
        transform: translate(-50%, -50%) translateX(2px) translateY(-3px) scale(1.02);
    }
    75% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1.08);
    }
    87.5% {
        transform: translate(-50%, -50%) translateX(-3px) translateY(2px) scale(1.02);
    }
}

.background-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.03) 2px,
            rgba(59, 130, 246, 0.03) 4px
        ),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(59,130,246,0.1)"/></svg>');
    background-size: 200% 200%, 50px 50px;
    animation: float 25s ease-in-out infinite;
}


@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-30px) translateX(20px); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.03;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.06;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.header {
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    backdrop-filter: blur(15px);
    padding: 40px 0;
    border-bottom: 3px solid var(--cobblemon-gold);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(251, 191, 36, 0.15),
        inset 0 -2px 10px rgba(30, 58, 138, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    min-height: 89px;
}

.header-content {
    max-width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 max(10px, 1vw);
    gap: clamp(10px, 2vw, 20px);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.pokemania-logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(5%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pokemania-logo {
    height: 66px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: all 0.3s ease;
    animation: floatLogo 3s ease-in-out infinite;
    cursor: pointer;
}

.pokemania-logo-center:hover .pokemania-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

.rocket-shop-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: auto;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
}

.rocket-shop-fixed {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 102;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    pointer-events: none;
    user-select: none;
    background: transparent;
}

.rocket-shop-fixed .site-logo-text {
    margin: 0;
    white-space: nowrap;
}

.rocket-shop-fixed .site-logo-subtitle {
    margin: 3px 0 0 0;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    position: relative;
    z-index: 100;
}

.header-btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 50%;
    color: var(--cobblemon-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(251, 191, 36, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.header-btn-circle .btn-text-expand {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.1s, max-width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0;
    margin: 0;
    padding: 0;
}

.header-btn-circle:hover {
    width: auto;
    min-width: 40px;
    padding: 0 12px;
    border-radius: 20px;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(251, 191, 36, 0.4),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-cyan);
    gap: 8px;
}

.header-btn-circle:hover .btn-text-expand {
    opacity: 1;
    max-width: 150px;
    font-size: 9px;
    margin: 0;
    padding: 0;
}

.server-btn {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.8) 0%, rgba(30, 58, 138, 0.8) 100%);
}

.server-btn:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 1) 0%, rgba(30, 58, 138, 1) 100%);
}

.guild-btn {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
}

.guild-btn:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 1) 0%, rgba(139, 0, 0, 1) 100%);
}

.discord-btn {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.8) 0%, rgba(114, 137, 218, 0.8) 100%);
}

.discord-btn:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 1) 0%, rgba(114, 137, 218, 1) 100%);
}

.btn-icon {
    font-size: 18px;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn-circle:hover .btn-icon {
    transform: scale(1.1);
}

.btn-master-ball-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
    transition: transform 0.3s ease;
}

.header-btn-circle:hover .btn-master-ball-icon {
    transform: scale(1.1);
}

.discord-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
    transition: transform 0.3s ease;
}

.header-btn-circle:hover .discord-icon {
    transform: scale(1.1);
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 8px;
    color: var(--cobblemon-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 9px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(251, 191, 36, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(251, 191, 36, 0.4),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-cyan);
}

@media (max-width: 1919px) {
    .header-buttons {
        margin-right: 10px;
        gap: 6px;
    }
    
    .user-logged-card {
        right: 20px !important;
    }
}

@media (max-width: 1440px) {
    .header-btn-circle {
        width: 36px;
        height: 36px;
    }
    
    .header-buttons-fixed .header-btn-circle {
        width: 36px;
        height: 36px;
    }
    
    .btn-icon {
        font-size: 16px;
    }
    
    .header-buttons-fixed .btn-icon {
        font-size: 16px;
    }
    
    .btn-master-ball-icon,
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-buttons-fixed .btn-master-ball-icon,
    .header-buttons-fixed .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-buttons {
        margin-right: 5px;
        gap: 5px;
    }
    
    .header-buttons-fixed {
        gap: 6px;
    }
    
    .user-logged-card {
        right: 15px !important;
    }
}

.btn-icon {
    font-size: 14px;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
}

.btn-master-ball-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
}

.btn-text {
    font-size: 9px;
}

.guild-info-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.guild-info-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.modal-open {
    overflow: hidden;
}

.guild-modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(251, 191, 36, 0.3),
        inset 0 0 40px rgba(220, 38, 38, 0.1);
    position: relative;
    animation: slideDown 0.3s ease;
}

.guild-modal-content::-webkit-scrollbar {
    width: 6px;
}

.guild-modal-content::-webkit-scrollbar-track {
    background: rgba(13, 13, 13, 0.2);
    border-radius: 10px;
}

.guild-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
    border-radius: 10px;
}

.guild-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5) 0%, rgba(220, 38, 38, 0.5) 100%);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(139, 0, 0, 0.9) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 50%;
    color: var(--cobblemon-white);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.7),
        inset 0 0 15px rgba(251, 191, 36, 0.2);
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.close-modal-btn:hover {
    transform: scale(1.1) rotate(90deg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 1) 0%, rgba(139, 0, 0, 1) 100%);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(251, 191, 36, 0.6);
    border-color: var(--cobblemon-cyan);
}

.close-modal-btn span {
    display: block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.guild-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--cobblemon-gold);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.guild-master-ball-left,
.guild-master-ball-right {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
    animation: pokeballShake 2s ease-in-out infinite;
}

.guild-master-ball-left {
    animation-delay: 0s;
}

.guild-master-ball-right {
    animation-delay: 0.5s;
}

.guild-info-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guild-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 15px auto;
    padding: 0;
}

.guild-logo-modal {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(220, 38, 38, 0.6));
    display: block;
    margin: 0 auto;
}

.guild-description {
    text-align: center;
    color: var(--cobblemon-white);
    line-height: 1.8;
}

.guild-description p {
    margin-bottom: 15px;
    font-size: 14px;
}

.guild-description strong {
    color: var(--cobblemon-gold);
    font-size: 16px;
}

.guild-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cobblemon-white);
    font-size: 14px;
}

.feature-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
}

.guild-motto {
    font-style: italic;
    color: var(--cobblemon-cyan);
    margin-top: 20px;
    padding: 15px;
    background: rgba(6, 182, 212, 0.1);
    border-left: 3px solid var(--cobblemon-cyan);
    border-radius: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.logo-link {
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.server-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: all 0.3s ease;
    animation: floatLogo 3s ease-in-out infinite;
}

.server-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.site-logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    max-height: 80px;
    max-width: 400px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
    transition: all 0.3s ease;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.9));
}

.site-logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--cobblemon-gold);
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.6);
    margin: 0;
    letter-spacing: 1px;
    animation: logoGlow 2s ease-in-out infinite alternate;
    text-align: left;
}

.site-logo-subtitle {
    font-size: 9px;
    color: var(--cobblemon-cyan);
    margin: 3px 0 0 0;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
    letter-spacing: 0.5px;
    text-align: left;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6)); }
    to { filter: drop-shadow(0 0 35px rgba(251, 191, 36, 0.9)); }
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    position: relative;
    z-index: 102;
    margin-right: 130px;
}

@media (max-width: 850px) {
    .header-right {
        margin-right: 140px;
    }
}

@media (max-width: 480px) {
    .header-right {
        margin-right: 110px;
    }
}

.header-buttons-fixed {
    position: fixed;
    top: 30px;
    right: 170px;
    z-index: 102;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.back-btn-fixed {
    position: fixed;
    top: 15px;
    right: 170px;
    z-index: 102;
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--cobblemon-gold);
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(251, 191, 36, 0.1);
}

.back-btn-fixed:hover {
    transform: scale(1.05);
    box-shadow: 
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
}

.rocket-shop-right {
    display: none;
}

.header-right {
    display: none;
}

.user-logged-card {
    position: fixed !important;
    top: 6px !important;
    right: 20px !important;
    z-index: 101 !important;
}

@media (max-width: 850px) {
    .rocket-shop-fixed {
        display: none !important;
    }
    
    .header-buttons-fixed {
        top: 24px;
        left: 10px;
        transform: none;
        right: auto;
        gap: 5px;
    }
    
    .back-btn-fixed {
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
    }
    
    .header-buttons-fixed .header-btn-circle {
        width: 28px;
        height: 28px;
    }
    
    .header-buttons-fixed .btn-icon {
        font-size: 14px;
    }
    
    .header-buttons-fixed .btn-master-ball-icon,
    .header-buttons-fixed .discord-icon {
        width: 14px;
        height: 14px;
    }
    
    .header-buttons-fixed .header-btn-circle:hover {
        padding: 0 10px;
        border-radius: 14px;
    }
    
    .header-buttons-fixed .header-btn-circle:hover .btn-text-expand {
        font-size: 7px;
    }
    
    .user-logged-card {
        right: 10px !important;
        top: 10px !important;
        padding: 3px 6px !important;
    }
    
    .user-logged-skin {
        width: 28px !important;
        height: 28px !important;
    }
    
    .user-logged-nick {
        font-size: 7px !important;
        max-width: 90px !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 0;
    }
    
    .pokemania-logo {
        height: 24px;
    }
    
    .rocket-shop-fixed {
        display: none !important;
    }
    
    .header-buttons-fixed {
        top: 22px;
        left: 8px;
        transform: none;
        right: auto;
        gap: 4px;
    }
    
    .back-btn-fixed {
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        padding: 6px 12px !important;
        font-size: 10px !important;
    }
    
    .header-buttons-fixed .header-btn-circle {
        width: 24px;
        height: 24px;
    }
    
    .header-buttons-fixed .btn-icon {
        font-size: 12px;
    }
    
    .header-buttons-fixed .btn-master-ball-icon,
    .header-buttons-fixed .discord-icon {
        width: 12px;
        height: 12px;
    }
    
    .header-buttons-fixed .header-btn-circle:hover {
        padding: 0 8px;
        border-radius: 12px;
    }
    
    .header-buttons-fixed .header-btn-circle:hover .btn-text-expand {
        font-size: 6px;
    }
    
    .user-logged-card {
        right: 5px !important;
        top: 7px !important;
        padding: 2px 5px !important;
        gap: 3px !important;
    }
    
    .user-logged-skin {
        width: 24px !important;
        height: 24px !important;
    }
    
    .user-logged-nick {
        font-size: 7px !important;
        max-width: 80px !important;
    }
}

.master-balls-decoration {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pokeball-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.7));
    animation: pokeballShake 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.master-ball-img {
    animation-delay: 0s;
}

.ultra-ball-img {
    animation-delay: 0.5s;
    width: 42px;
    height: 42px;
}

.pokeball-img:hover {
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 0 25px rgba(251, 191, 36, 1));
}

@keyframes pokeballShake {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    10% { 
        transform: translateX(-3px) translateY(-2px) rotate(-2deg);
    }
    20% { 
        transform: translateX(3px) translateY(-4px) rotate(2deg);
    }
    30% { 
        transform: translateX(-2px) translateY(-2px) rotate(-1deg);
    }
    40% { 
        transform: translateX(2px) translateY(0) rotate(1deg);
    }
    50% { 
        transform: translateX(-1px) translateY(-3px) rotate(-1deg);
    }
    60% { 
        transform: translateX(1px) translateY(-1px) rotate(1deg);
    }
    70% { 
        transform: translateX(-2px) translateY(-2px) rotate(-1deg);
    }
    80% { 
        transform: translateX(2px) translateY(0) rotate(1deg);
    }
    90% { 
        transform: translateX(-1px) translateY(-1px) rotate(0deg);
    }
}

.rocket-logo-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
}

.rocket-pokemon {
    position: absolute;
    width: 350px;
    height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.6));
    opacity: 0.9;
    animation: floatPokemon 3s ease-in-out infinite;
}

.rocket-pokemon.meowth {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.rocket-pokemon.wobbuffet {
    left: 20px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    animation: floatPokemonFlipped 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes floatPokemon {
    0%, 100% {
        transform: translateY(-50%) translateY(0);
    }
    50% {
        transform: translateY(-50%) translateY(-20px);
    }
}

@keyframes floatPokemonFlipped {
    0%, 100% {
        transform: translateY(-50%) scaleX(-1) translateY(0);
    }
    50% {
        transform: translateY(-50%) scaleX(-1) translateY(-20px);
    }
}

@media (max-width: 1200px) {
    .rocket-pokemon {
        width: 250px;
        height: 250px;
    }
    
    .rocket-pokemon.meowth {
        right: 15px;
    }
    
    .rocket-pokemon.wobbuffet {
        left: 15px;
    }
}

@media (max-width: 850px) {
    .rocket-pokemon {
        width: 120px;
        height: 120px;
        opacity: 0.3;
    }
    
    .rocket-pokemon.meowth {
        right: 5px;
    }
    
    .rocket-pokemon.wobbuffet {
        left: 5px;
    }
    
    .background-animation::after {
        width: 400px;
        height: 400px;
        opacity: 0.2;
    }
}

.ball-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    width: 60px;
    height: 60px;
}

.ball-2 {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
    width: 45px;
    height: 45px;
}

.ball-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
    width: 55px;
    height: 55px;
}

.ball-4 {
    top: 30%;
    right: 30%;
    animation-delay: 15s;
    width: 40px;
    height: 40px;
}

@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 30px) rotate(270deg) scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.page-transition {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body {
    transition: opacity 0.5s ease-in-out, transform 0.3s ease;
}

.main-content {
    max-width: min(1200px, 100%);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 40px) clamp(15px, 2vw, 20px);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

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

.hero-section {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.hero-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--cobblemon-gold);
    text-shadow: 
        4px 4px 0 var(--cobblemon-blue),
        0 0 30px rgba(251, 191, 36, 0.6),
        6px 6px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
}


@keyframes glow {
    from { 
        text-shadow: 
            4px 4px 0 var(--cobblemon-blue), 
            0 0 30px rgba(251, 191, 36, 0.6),
            6px 6px 20px rgba(0, 0, 0, 0.9); 
    }
    to { 
        text-shadow: 
            4px 4px 0 var(--cobblemon-blue), 
            0 0 50px rgba(251, 191, 36, 0.9),
            6px 6px 20px rgba(0, 0, 0, 0.9); 
    }
}

.hero-subtitle-small {
    font-size: 12px;
    color: var(--cobblemon-gold);
    text-shadow: 
        1px 1px 5px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(251, 191, 36, 0.5);
    margin-top: -10px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Press Start 2P', cursive;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--cobblemon-cyan);
    text-shadow: 
        2px 2px 10px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(6, 182, 212, 0.6);
    margin-top: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rocket-motto {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 15px;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(30, 58, 138, 0.1);
    position: relative;
    text-align: center;
}

.motto-text {
    font-size: 16px;
    color: var(--cobblemon-white);
    margin: 10px 0;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.motto-text-bold {
    font-size: 20px;
    color: var(--cobblemon-gold);
    margin-top: 20px;
    font-weight: 900;
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--cobblemon-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 20px rgba(251, 191, 36, 0.5);
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '◆';
    color: var(--cobblemon-cyan);
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.section-subtitle {
    text-align: center;
    color: var(--cobblemon-white);
    font-size: 16px;
    margin-bottom: 30px;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

.categories-carousel-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding: 40px 80px;
    overflow: visible !important;
    isolation: isolate;
    z-index: 10;
    clip-path: none;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.categories-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: visible !important;
    scroll-behavior: smooth;
    padding: 40px 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    min-width: calc(3 * 400px + 2 * 30px + 60px);
    position: relative;
    contain: none;
    clip-path: none;
    -webkit-overflow-scrolling: touch;
    transform-style: preserve-3d;
    margin: -20px -30px;
}

.categories-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.category-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(8px);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    min-width: 300px;
    max-width: 400px;
    z-index: 1;
    will-change: transform, z-index;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-color: var(--cobblemon-cyan);
}

.category-card:hover .category-btn {
    pointer-events: auto;
}


.category-icon {
    font-size: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-pokemon-icon {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.category-pokemon-icon[src=""],
.category-pokemon-icon:not([src]) {
    display: none;
}

.category-card h3 {
    font-size: 24px;
    color: var(--cobblemon-gold);
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.4);
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--cobblemon-white);
    margin-bottom: auto;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.category-card > * {
    pointer-events: none;
}

.category-card .category-btn {
    pointer-events: auto;
}

.category-btn {
    background: linear-gradient(135deg, var(--cobblemon-blue) 0%, var(--cobblemon-purple) 100%);
    color: var(--cobblemon-text);
    border: 2px solid var(--cobblemon-gold);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

.category-btn:hover {
    background: linear-gradient(135deg, var(--cobblemon-cyan) 0%, var(--cobblemon-blue) 100%);
    box-shadow: 
        0 5px 20px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(6, 182, 212, 0.4),
        inset 0 0 30px rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-gold);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.95);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--cobblemon-gold);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(251, 191, 36, 0.3);
    box-sizing: border-box;
}

.carousel-arrow:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-cyan);
    color: var(--cobblemon-cyan);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(251, 191, 36, 0.5);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: calc(50% - (3 * 400px + 2 * 30px) / 2 - 60px);
}

.carousel-arrow-right {
    right: calc(50% - (3 * 400px + 2 * 30px) / 2 - 60px);
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    flex-shrink: 0;
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.95);
    border-color: var(--cobblemon-gold);
    color: var(--cobblemon-gold);
}

.wiki-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 3px solid var(--cobblemon-gold);
    border-radius: 20px;
    margin-top: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.7),
        inset 0 0 30px rgba(30, 58, 138, 0.1);
}

.wiki-placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.wiki-placeholder-title {
    color: var(--cobblemon-gold);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 
        2px 2px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.4);
}

.wiki-placeholder-text {
    color: var(--cobblemon-white);
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.6;
}

.featured-section {
    margin-top: 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.featured-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 2px solid var(--cobblemon-gold-dark);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 3px 15px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(30, 58, 138, 0.1);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(251, 191, 36, 0.3);
    border-color: var(--cobblemon-gold);
}

.item-image-placeholder {
    font-size: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.5));
}

.item-name {
    color: var(--cobblemon-gold);
    font-weight: 900;
    font-size: 18px;
    text-shadow: 
        1px 1px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.5);
    margin-bottom: 10px;
}

.item-desc {
    color: var(--cobblemon-white);
    font-size: 14px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
    font-style: italic;
}

.warning-section {
    margin-top: 60px;
    padding: 20px;
}

.warning-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(30, 58, 138, 0.2) 100%);
    border: 3px solid var(--cobblemon-cyan);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(6, 182, 212, 0.3),
        inset 0 0 30px rgba(139, 0, 0, 0.2);
    animation: warningPulse 3s ease-in-out infinite;
}

@keyframes warningPulse {
    0%, 100% {
        box-shadow: 
            0 5px 20px rgba(0, 0, 0, 0.8),
            0 0 30px rgba(6, 182, 212, 0.3),
            inset 0 0 30px rgba(139, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 5px 20px rgba(0, 0, 0, 0.8),
            0 0 50px rgba(6, 182, 212, 0.6),
            inset 0 0 40px rgba(139, 0, 0, 0.3);
    }
}

.warning-box h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--cobblemon-cyan);
    text-shadow: 
        2px 2px 0 var(--cobblemon-black),
        0 0 20px rgba(6, 182, 212, 0.8);
    margin-bottom: 20px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.warning-box p {
    color: var(--cobblemon-white);
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.warning-signature {
    color: var(--cobblemon-gold) !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    margin-top: 20px !important;
    text-shadow: 
        1px 1px 0 var(--cobblemon-blue),
        0 0 15px rgba(251, 191, 36, 0.5) !important;
    font-style: italic;
}

.footer {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 1) 100%);
    border-top: 3px solid var(--cobblemon-gold);
    padding: 23px 15px;
    margin-top: auto;
    box-shadow: 
        0 -5px 20px rgba(0, 0, 0, 0.8),
        inset 0 2px 10px rgba(30, 58, 138, 0.2);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 46px;
    flex-wrap: wrap;
    padding: 0 15px;
    position: relative;
}

.footer-server-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    order: -1;
    margin-left: -115px;
    position: relative;
}

.server-logo-footer {
    height: 27px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: all 0.3s ease;
}

.server-logo-footer:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
}

.server-partnership {
    font-size: 9px;
    color: var(--cobblemon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.footer-info {
    text-align: center;
    flex: 1;
    min-width: 0;
    max-width: 459px;
    margin: 0 auto;
}

.footer p {
    color: var(--cobblemon-gold-dark);
    margin: 3px 0;
    font-size: 11px;
    text-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

.footer-description {
    color: var(--cobblemon-white) !important;
    font-size: 12px !important;
    margin-bottom: 6px !important;
    line-height: 1.5;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.footer-description strong {
    color: var(--cobblemon-gold);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
    font-weight: 700;
}

.footer-creator {
    color: var(--cobblemon-light-gray) !important;
    font-size: 10px !important;
    margin-bottom: 8px !important;
    font-style: italic;
    text-shadow: 0 0 8px rgba(107, 114, 128, 0.3);
}

.footer-creator strong {
    color: var(--cobblemon-cyan);
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
    font-weight: 700;
    font-style: normal;
}

.footer-copyright {
    color: var(--cobblemon-gold-dark) !important;
    font-size: 9px !important;
    margin-top: 9px !important;
    opacity: 0.8;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(217, 119, 6, 0.4);
}

.footer-warning {
    color: var(--cobblemon-cyan) !important;
    font-weight: 700 !important;
    font-size: 9px !important;
    margin-top: 8px !important;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5) !important;
    animation: blink 2s ease-in-out infinite;
}

.footer-master-balls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pokeball-img-footer {
    width: 27px;
    height: 27px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
    animation: pokeballShake 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pokeball-img-footer:nth-child(1) { animation-delay: 0s; }
.pokeball-img-footer:nth-child(2) { animation-delay: 0.5s; }

.pokeball-img-footer:hover {
    transform: scale(1.4) rotate(360deg);
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 1));
}

@media (max-width: 1024px) {
    .header-content {
        padding: 0 15px;
    }
    
    .pokemania-logo {
        height: 50px;
    }
    
    .site-logo-text {
        font-size: 14px;
    }
    
    .site-logo-subtitle {
        font-size: 8px;
    }
    
    .categories-carousel-wrapper {
        padding: 40px 60px;
        overflow: visible;
        z-index: 10;
    }
    
    .categories-carousel {
        padding: 40px 30px;
        margin: -20px -30px;
    }
    
    .category-card {
        width: calc(50% - 15px);
        min-width: 280px;
        max-width: 380px;
        padding: 35px 25px;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
    }
    
    .wiki-placeholder {
        padding: 35px 20px;
    }
    
    .wiki-placeholder-icon {
        font-size: 75px;
    }
    
    .wiki-placeholder-title {
        font-size: 22px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-content {
        padding: 30px 15px;
    }
}

@media (max-width: 850px) {
    .header {
        padding: 9px 0;
        min-height: auto;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 10px;
    }
    
    .pokemania-logo-center {
        position: relative;
        left: auto;
        transform: none;
        order: 1;
        width: 100%;
        justify-content: center;
        margin-bottom: 6px;
        margin-top: 2px;
    }
    
    .pokemania-logo {
        height: 28px;
    }
    
    .rocket-shop-right {
        order: 2;
        margin: 0;
        flex: 1;
        min-width: 0;
    }
    
    .site-logo-text {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .site-logo-subtitle {
        font-size: 7px;
    }
    
    .header-buttons {
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 6px 0 0 0;
    }
    
    .header-btn {
        padding: 6px 10px;
        font-size: 8px;
        flex: 1;
        min-width: 80px;
        justify-content: center;
    }
    
    .btn-icon {
        font-size: 14px;
    }
    
    .btn-text {
        font-size: 8px;
    }
    
    .btn-master-ball-icon {
        width: 12px;
        height: 12px;
    }
    
    .header-btn-circle {
        width: 35px;
        height: 35px;
    }
    
    .header-btn-circle:hover {
        padding: 0 12px;
        border-radius: 18px;
    }
    
    .btn-icon {
        font-size: 16px;
    }
    
    .btn-master-ball-icon,
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-btn-circle:hover .btn-text-expand {
        font-size: 8px;
    }
    
    .hero-section {
        padding: 40px 15px;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle-small {
        font-size: 10px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .rocket-motto {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .motto-text {
        font-size: 12px;
        margin: 8px 0;
    }
    
    .motto-text-bold {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .categories-carousel-wrapper {
        padding: 40px 60px;
        margin-bottom: 40px;
        overflow: hidden;
        z-index: 10;
    }
    
    .categories-carousel {
        gap: 0;
        padding: 40px 0;
        margin: -20px 0;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 60px;
    }
    
    .category-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 25px 20px;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    
    .category-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .category-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .category-card p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .category-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        border-width: 2px;
        z-index: 20;
        display: flex !important;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .carousel-arrow-left {
        left: 10px;
    }
    
    .carousel-arrow-right {
        right: 10px;
    }
    
    .featured-section {
        margin-top: 40px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-item {
        padding: 25px 20px;
    }
    
    .item-image-placeholder {
        font-size: 60px;
        margin-bottom: 12px;
    }
    
    .item-name {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .item-desc {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .wiki-placeholder {
        padding: 35px 18px;
        margin-top: 25px;
    }
    
    .wiki-placeholder-icon {
        font-size: 70px;
        margin-bottom: 18px;
    }
    
    .wiki-placeholder-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .wiki-placeholder-text {
        font-size: 15px;
    }
    
    .main-content {
        padding: 30px 15px;
    }
    
    .footer {
        padding: 20px 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0;
    }
    
    .footer-server-logo {
        margin: 0 auto;
        order: 1;
    }
    
    .footer-info {
        order: 2;
        max-width: 100%;
    }
    
    .footer-description {
        font-size: 10px !important;
    }
    
    .footer-creator {
        font-size: 9px !important;
    }
    
    .footer-copyright {
        font-size: 9px !important;
    }
    
    .guild-modal-content {
        padding: 25px 20px;
        max-width: 95%;
        margin: 20px;
    }
    
    .guild-title {
        font-size: 14px;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .guild-master-ball-left,
    .guild-master-ball-right {
        width: 25px;
        height: 25px;
    }
    
    .guild-logo-modal {
        width: 100px;
        height: 100px;
    }
    
    .guild-description p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .guild-description strong {
        font-size: 14px;
    }
    
    .guild-features {
        padding: 15px;
        gap: 10px;
    }
    
    .feature-item {
        font-size: 12px;
        gap: 10px;
    }
    
    .feature-icon {
        font-size: 18px;
    }
    
    .guild-motto {
        font-size: 12px;
        padding: 12px;
        margin-top: 15px;
    }
    
    .close-modal-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 7px 0;
        min-height: auto;
    }
    
    .header-content {
        padding: 0 8px;
    }
    
    .pokemania-logo {
        height: 24px;
    }
    
    .pokemania-logo-center {
        margin-bottom: 5px;
        margin-top: 1px;
    }
    
    .site-logo-text {
        font-size: 9px;
    }
    
    .site-logo-subtitle {
        font-size: 6px;
    }
    
    .header-btn {
        padding: 5px 8px;
        font-size: 7px;
        min-width: 70px;
    }
    
    .btn-text {
        font-size: 7px;
    }
    
    .btn-icon {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 14px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .categories-carousel-wrapper {
        padding: 40px 50px;
        margin-bottom: 30px;
        overflow: hidden;
        z-index: 10;
    }
    
    .categories-carousel {
        gap: 0;
        padding: 40px 0;
        margin: -20px 0;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 50px;
    }
    
    .category-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 20px 15px;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    
    .category-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .category-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .category-card p {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .category-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
        z-index: 20;
        display: flex !important;
    }
    
    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-arrow-left {
        left: 5px;
    }
    
    .carousel-arrow-right {
        right: 5px;
    }
    
    .wiki-placeholder {
        padding: 30px 15px;
        margin-top: 20px;
    }
    
    .wiki-placeholder-icon {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .wiki-placeholder-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .wiki-placeholder-text {
        font-size: 14px;
    }
    
    .main-content {
        padding: 20px 10px;
    }
    
    .footer {
        padding: 15px 8px;
    }
    
    .fan-disclaimer {
        bottom: 65px;
        padding: 6px;
        max-width: 40px;
    }
    
    .fan-disclaimer.expanded {
        padding: 5px 10px;
        max-width: calc(100% - 20px);
    }
    
    .fan-disclaimer-text {
        font-size: 7px;
    }
    
    .temp-config-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.fan-disclaimer {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 50%;
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(251, 191, 36, 0.1);
    z-index: 999;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    white-space: nowrap;
    outline: none;
    color: var(--cobblemon-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fan-disclaimer:hover,
.fan-disclaimer.expanded {
    width: auto;
    min-width: 40px;
    padding: 0 12px;
    border-radius: 20px;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(251, 191, 36, 0.4),
        inset 0 0 20px rgba(251, 191, 36, 0.2);
    border-color: var(--cobblemon-cyan);
    gap: 8px;
    justify-content: flex-end;
}

.fan-disclaimer:active {
    transform: scale(0.95);
}

.fan-disclaimer-alert {
    font-size: 18px;
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.6));
    animation: alertPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: translateY(-4px);
    line-height: 1;
    margin-top: -2px;
}

.fan-disclaimer:hover .fan-disclaimer-alert {
    transform: translateY(-4px) scale(1.1);
}

.fan-disclaimer-text {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.1s, max-width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0;
    margin: 0;
    padding: 0;
    color: var(--cobblemon-white);
    text-align: left;
    line-height: 1.3;
    font-weight: 500;
    white-space: normal;
    flex-shrink: 0;
}

.fan-disclaimer:hover .fan-disclaimer-text,
.fan-disclaimer.expanded .fan-disclaimer-text {
    opacity: 1;
    max-width: 350px;
    font-size: 9px;
    margin: 0;
    padding: 0;
}

.temp-config-btn {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(15, 15, 15, 0.98) 100%);
    border: 2px solid var(--cobblemon-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--cobblemon-gold);
    text-decoration: none;
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(251, 191, 36, 0.3);
    z-index: 10000;
    transition: all 0.3s ease;
    opacity: 0.9;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.temp-config-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 
        0 5px 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(251, 191, 36, 0.5);
    border-color: var(--cobblemon-cyan);
}

.temp-config-btn:active {
    transform: scale(0.95);
}

@keyframes alertPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

@media (max-width: 850px) {
    .fan-disclaimer {
        display: none !important;
    }
    
    @keyframes alertPulse {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.15);
            opacity: 0.9;
        }
    }
    
    .temp-config-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 10px;
        left: 10px;
    }
}

