* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    min-height: 100vh;
    background-attachment: fixed;
    padding-bottom: 90px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 20px rgba(255, 23, 68, 0.2);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255, 23, 68, 0.35);
}

.header-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.header-link,
.icon-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    color: #ff1744;
    background: rgba(255, 23, 68, 0.08);
    border: 1px solid rgba(255, 23, 68, 0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-link svg,
.icon-link svg {
    width: 20px;
    height: 20px;
}

.header-link:hover,
.icon-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 23, 68, 0.16);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.25);
}

.header-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ff1744;
    text-shadow: 0 0 12px rgba(255, 23, 68, 0.65);
}

.region-switch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    overflow: visible;
    z-index: 400;
}

.region-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 150px;
    background: rgba(255, 255, 255, 0.05);
    color: #ff1744;
    border: 1px solid rgba(255, 23, 68, 0.3);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.region-button:hover,
.region-button.open {
    background: rgba(255, 23, 68, 0.15);
}

.region-button::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 0.25rem;
}

.region-button.open::after {
    transform: rotate(-135deg) translateY(1px);
}

.region-button .region-flag {
    font-size: 1rem;
}

.region-button .region-label {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.region-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 220px;
    padding: 0.4rem 0.5rem;
    border-radius: 0.75rem;
    background: rgba(15, 12, 41, 0.92);
    border: 1px solid rgba(255, 23, 68, 0.25);
    color: #ff1744;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-12px) scaleY(0.95);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 500;
}

.region-dropdown.visible {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
}

.region-dropdown.mobile-floating {
    position: fixed;
    top: var(--region-dropdown-top, 72px);
    left: 12px;
    right: 12px;
    min-width: auto;
    width: auto;
    margin-top: 0;
    transform-origin: top center;
    z-index: 1000;
    max-height: calc(100vh - var(--region-dropdown-top, 72px) - 16px);
    overflow-y: auto;
}

.region-dropdown__item {
    width: 100%;
    border: none;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.55rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.region-dropdown__item:hover,
.region-dropdown__item:focus-visible,
.region-dropdown__item.active {
    background: rgba(255, 23, 68, 0.14);
    color: #fff;
}

.region-dropdown__item:focus-visible {
    outline: 2px solid rgba(255, 23, 68, 0.5);
    outline-offset: 1px;
}

.region-dropdown__flag {
    font-size: 1.1rem;
}

.region-dropdown__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.region-dropdown__name {
    font-size: 0.85rem;
    letter-spacing: 0.4px;
    text-transform: none;
}

.region-dropdown__code {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.65);
}

.region-dropdown__item--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.region-dropdown__tag {
    margin-top: 0.15rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.6rem;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.region-note {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 220px;
    line-height: 1.4;
}

.home-container,
.emote-container,
.spam-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.card {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 23, 68, 0.18);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.card-header {
    margin-bottom: 1.25rem;
}

.card-header h2 {
    font-size: 1.35rem;
    color: #ff1744;
    text-shadow: 0 0 14px rgba(255, 23, 68, 0.6);
}

.card-header p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15), rgba(48, 43, 99, 0.6));
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: #ff8a80;
    text-shadow: 0 0 18px rgba(255, 23, 68, 0.8);
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* Hero Services Section */
.hero-services {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 23, 68, 0.3);
    padding: 1.25rem;
}

.hero-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.hero-header h1 {
    font-size: 1.6rem;
    color: #ff1744;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.7);
    margin-bottom: 0.5rem;
}

.hero-header p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border: 2px solid;
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.free-service {
    border-color: #2ecc71;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2);
}

.free-service:hover {
    box-shadow: 0 12px 35px rgba(46, 204, 113, 0.4);
}

.premium-service {
    border-color: #ff1744;
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.2);
}

.premium-service:hover {
    box-shadow: 0 12px 35px rgba(255, 23, 68, 0.4);
}

.service-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #2ecc71;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.premium-badge {
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    color: #ff1744;
}

.service-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.service-list li {
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.service-list .icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.service-list strong {
    color: #ff1744;
}

.service-btn {
    width: 100%;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.75rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.free-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
}

.free-btn:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.premium-btn {
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
}

.premium-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff1744);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.5);
}

.access-note {
    background: rgba(0, 0, 0, 0.55);
    border-style: dashed;
}

.access-note p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.premium-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2), rgba(255, 105, 180, 0.15));
    border: 1px solid rgba(255, 23, 68, 0.3);
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(255, 23, 68, 0.18);
}

.premium-banner.active {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.28), rgba(46, 204, 113, 0.18));
    border-color: rgba(76, 175, 80, 0.4);
}

.premium-banner__content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.premium-banner__icon {
    font-size: 1.4rem;
}

.premium-banner__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.premium-banner__text strong {
    color: #ff1744;
}

.premium-banner__action {
    background: rgba(255, 23, 68, 0.18);
    border: 1px solid rgba(255, 23, 68, 0.45);
    color: #ff1744;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.premium-banner__action:hover {
    background: rgba(255, 23, 68, 0.3);
    transform: translateY(-1px);
}

.info-form {
    margin-bottom: 1rem;
}

.search-field {
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 23, 68, 0.4);
    border-radius: 999px;
    overflow: hidden;
}

.search-field input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-button {
    width: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 23, 68, 0.18);
    border: none;
    color: #ff1744;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
    padding: 0;
}

.search-button:hover {
    background: rgba(255, 23, 68, 0.3);
}

.loader {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.loader.hidden {
    display: none;
}

.error-message {
    color: #ff7676;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.error-message.hidden {
    display: none;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(8, 12, 26, 0.7);
    border-radius: 18px;
    border: 1px solid rgba(255, 23, 68, 0.2);
}

.info-card h3 {
    color: #ff7b7b;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card.hidden {
    display: none;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem 1.25rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 23, 68, 0.12);
}

.info-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.info-value {
    font-size: 0.95rem;
    color: #fff;
    word-break: break-word;
}

.guild-info {
    display: grid;
    gap: 0.65rem;
}

.info-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.8rem;
    margin-top: 0.75rem;
}

.info-images .image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.info-images img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 23, 68, 0.15);
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0.4rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.info-images .image-caption {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.image-grid--compact {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.15rem 0.35rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-grid--compact .image-item {
    min-width: 92px;
    max-width: 110px;
}

.image-grid--compact::-webkit-scrollbar {
    display: none;
}

.restart-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 20, 0.85);
    backdrop-filter: blur(10px);
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 1.5rem;
}

.restart-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.restart-card {
    width: min(320px, 100%);
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.22), rgba(15, 12, 41, 0.92));
    border: 1px solid rgba(255, 23, 68, 0.35);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.restart-card__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.restart-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #ff1744;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.restart-card__message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.restart-card__timer {
    display: inline-block;
    min-width: 80px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 23, 68, 0.45);
    background: rgba(0, 0, 0, 0.55);
    color: #ff1744;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.restart-card__hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

.team-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-form input {
    width: 100%;
    padding: 0.95rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 23, 68, 0.35);
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    text-align: center;
}

.team-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.9rem;
}

.team-actions button {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-actions .primary {
    background: linear-gradient(135deg, #ff1744, #ff3b30);
    color: #262626;
}

.team-actions .secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ff1744;
    border: 1px solid rgba(255, 23, 68, 0.35);
}

.team-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.team-result {
    min-height: 60px;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px dashed rgba(255, 23, 68, 0.35);
    border-radius: 12px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Orbitron', sans-serif;
}

.team-result.success {
    border-color: rgba(76, 175, 80, 0.6);
}

.team-result.error {
    border-color: rgba(244, 67, 54, 0.6);
    color: #ff8888;
}

.team-result.loading,
.spam-result.loading {
    border-color: rgba(255, 23, 68, 0.6);
    color: #ff1744;
}

.loading-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: currentColor;
}

.loading-indicator__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
    animation: loadingPulse 0.9s infinite ease-in-out;
}

.loading-indicator__dot:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-indicator__dot:nth-child(3) {
    animation-delay: 0.3s;
}

.loading-indicator__label {
    letter-spacing: 0.04em;
}

@keyframes loadingPulse {
    0% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }
}

.coming-soon {
    text-align: center;
}

.coming-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
}

.coming-soon .card-header h2 {
    margin-bottom: 0.4rem;
}

/* Header Timer */
.header-timer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(76, 175, 80, 0.2);
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
    border: 1px solid rgba(76, 175, 80, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4caf50;
    white-space: nowrap;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.header-timer.hidden {
    display: none;
}

.header-timer.warning {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
    color: #ff3b30;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.3);
}

.header-timer.critical {
    background: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
    color: #f44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Main Title */
.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #ff1744;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.8), 0 0 40px rgba(255, 23, 68, 0.5);
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 23, 68, 0.5), 0 0 20px rgba(255, 23, 68, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 23, 68, 0.8), 0 0 40px rgba(255, 23, 68, 0.6), 0 0 60px rgba(255, 23, 68, 0.4);
    }
}

/* Credentials Section */
.credentials-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0 1.2rem;
}

.credential-input {
    width: 100%;
    padding: 0.9rem 0.8rem;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 23, 68, 0.4);
    border-radius: 10px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.credential-input.full-width {
    grid-column: 1 / -1;
}

.credential-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.credential-input:focus {
    border-color: #ff1744;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.5);
}

/* Search Container */
.search-container {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 23, 68, 0.5);
    border-radius: 50px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.2);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: #ff1744;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.6);
    transform: translateY(-2px);
}

/* Filters */
.filters-section {
    margin-bottom: 2rem;
}

.filters-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ff1744;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    border: 2px solid;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.filter-btn.active {
    background: #ff1744;
    border-color: #ff1744;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
    transform: scale(1.05);
}

.filter-btn.common {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
    color: #4caf50;
}

.filter-btn.common.active {
    background: #4caf50;
    color: #fff;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
}

.filter-btn.rare {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196f3;
    color: #2196f3;
}

.filter-btn.rare.active {
    background: #2196f3;
    color: #fff;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.8);
}

.filter-btn.epic {
    background: rgba(156, 39, 176, 0.2);
    border-color: #9c27b0;
    color: #9c27b0;
}

.filter-btn.epic.active {
    background: #9c27b0;
    color: #fff;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.8);
}

.filter-btn.mythic {
    background: rgba(255, 59, 48, 0.2);
    border-color: #ff3b30;
    color: #ff3b30;
}

.filter-btn.mythic.active {
    background: #ff3b30;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.8);
}

.filter-btn.artifact {
    background: rgba(244, 67, 54, 0.2);
    border-color: #f44336;
    color: #f44336;
}

.filter-btn.artifact.active {
    background: #f44336;
    color: #fff;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.8);
}

.filter-btn.evos {
    background: rgba(255, 23, 68, 0.2);
    border-color: #ff1744;
    color: #ff1744;
}

.filter-btn.evos.active {
    background: #ff1744;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
}

.filter-btn.upcoming {
    background: rgba(0, 229, 255, 0.15);
    border-color: #00e5ff;
    color: #00e5ff;
}

.filter-btn.upcoming.active {
    background: linear-gradient(135deg, #00e5ff, #00bcd4);
    color: #001f2a;
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.8);
}

.filter-btn:hover {
    transform: scale(1.05);
}

/* Emotes Grid */
.emote-list {
    padding-bottom: 2rem;
}

.emotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.emote-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.emote-icon {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-bottom: 2px solid rgba(255, 23, 68, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

.emote-icon.error {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.emote-info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.emote-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff1744;
    word-wrap: break-word;
    line-height: 1.2;
}

.emote-id {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.send-emote-btn {
    width: 100%;
    min-height: 2.5rem;
    height: 2.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    border: none;
    border-radius: 0;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-emote-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff6b6b, #ff1744);
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
}

.send-emote-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.send-emote-btn.loading {
    background: linear-gradient(135deg, #666, #999);
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(15, 12, 41, 0.82);
    border: 1px solid rgba(255, 23, 68, 0.25);
    border-radius: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    z-index: 150;
}

.floating-nav__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.floating-nav__btn .icon {
    font-size: 1.2rem;
}

.floating-nav__btn .icon.icon-image {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.floating-nav__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-nav__btn.active .icon.icon-image::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 23, 68, 0.9) 0%, rgba(255, 23, 68, 0) 65%);
    filter: blur(4px);
    z-index: -1;
}

.floating-nav__btn:hover {
    color: #ff1744;
    transform: translateY(-2px);
}

.floating-nav__btn.active {
    color: #ff1744;
    text-shadow: 0 0 12px rgba(255, 23, 68, 0.6);
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 300;
}

.toast {
    min-width: 220px;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.8rem;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: rgba(76, 175, 80, 0.65);
}

.toast-error {
    border-color: rgba(244, 67, 54, 0.65);
}

.toast-warning {
    border-color: rgba(255, 82, 82, 0.65);
}

.toast-info {
    border-color: rgba(255, 255, 255, 0.18);
}

/* Premium modal */
.premium-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 350;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.premium-modal.visible {
    opacity: 1;
}

.premium-modal__content {
    width: min(90vw, 360px);
    background: rgba(12, 15, 32, 0.95);
    border: 1px solid rgba(255, 23, 68, 0.35);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
    position: relative;
}

.premium-modal__close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
}

.premium-modal__icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.premium-modal__title {
    font-size: 1.3rem;
    color: #ff1744;
    margin-bottom: 0.4rem;
}

.premium-modal__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.premium-modal__form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.premium-modal__field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.premium-modal__input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 23, 68, 0.35);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.premium-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.premium-modal__submit {
    padding: 0.7rem 1.1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff1744, #ff3b30);
    color: #062314;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: transform 0.2s ease;
}

.premium-modal__submit:hover:not([disabled]) {
    transform: translateY(-2px);
}

.premium-modal__submit[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.premium-modal__status {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
}

.premium-modal__status[data-variant="success"] {
    color: #7fffb1;
}

.premium-modal__status[data-variant="error"] {
    color: #ff8a8a;
}

.premium-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff1744, #ff3b30);
    color: #2c1d00;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
    gap: 0.55rem;
}

.premium-modal__cta:hover {
    transform: translateY(-2px);
}

.premium-modal__cta .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-modal__cta svg {
    width: 18px;
    height: 18px;
}

.premium-modal__cta-text {
    letter-spacing: 0.02em;
}

.premium-modal__divider {
    margin: 1.5rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
}

.premium-modal__divider::before,
.premium-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.premium-modal__seller-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.premium-modal__seller {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-modal__seller:last-child {
    border-bottom: none;
}

.premium-modal__seller-name {
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.premium-modal__seller-links {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.premium-modal__seller-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.premium-modal__seller-link:hover {
    border-color: rgba(255, 23, 68, 0.55);
    color: #ff1744;
    transform: translateY(-1px);
}

.premium-modal__seller-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Spam page */
.spam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.spam-card {
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 23, 68, 0.2);
    border-radius: 18px;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.spam-card.locked {
    border-style: dashed;
}

.spam-card h2 {
    font-size: 1.2rem;
    color: #ff1744;
}

.spam-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.spam-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.spam-card input,
.spam-card select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 23, 68, 0.25);
    color: #fff;
    outline: none;
    font-size: 0.9rem;
}

.spam-card select option[data-premium="true"] {
    color: rgba(255, 255, 255, 0.6);
}

.spam-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.spam-submit {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #ff1744, #ff3b30);
    font-weight: 700;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spam-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 23, 68, 0.3);
}

.spam-result {
    min-height: 40px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.spam-result.success {
    color: #8df58b;
}

.spam-result.error {
    color: #ff7a7a;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    body {
        padding-bottom: 110px;
    }

    .header-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .header-grid::-webkit-scrollbar {
        display: none;
    }

    .header-grid > * {
        flex: 0 0 auto;
    }

    .icon-link {
        padding: 0.45rem;
    }

    .icon-link .icon + span {
        display: none;
    }

    .header-title {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    #headerTimer {
        white-space: nowrap;
    }

    .region-switch {
        flex-shrink: 0;
    }

    .region-button {
        white-space: nowrap;
        min-width: auto;
        padding: 0.4rem 0.85rem;
        font-size: 0.78rem;
    }

    .floating-nav {
        gap: 0.6rem;
        padding: 0.6rem 0.9rem;
    }

    .floating-nav__btn {
        font-size: 0.7rem;
    }

    .info-list {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .spam-row {
        grid-template-columns: 1fr;
    }

    .hero-services {
        padding: 1rem;
    }

    .hero-header h1 {
        font-size: 1.4rem;
    }

    .hero-header p {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-list li {
        font-size: 0.78rem;
        padding: 0.35rem 0;
    }

    .service-btn {
        padding: 0.6rem 1rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 640px) {
    .credentials-section {
        grid-template-columns: 1fr;
    }

    .credential-input {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header-grid {
        gap: 0.35rem;
        padding-bottom: 0.15rem;
    }

    .header-link {
        padding: 0.4rem;
    }

    .header-link svg {
        width: 18px;
        height: 18px;
    }

    .header-title {
        font-size: 0.82rem;
    }

    .region-button {
        padding: 0.4rem 0.75rem;
        font-size: 0.72rem;
        min-width: auto;
    }

    .premium-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-card {
        padding: 1rem;
    }

    .floating-nav {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        justify-content: space-around;
        padding: 0.35rem 0.6rem 0.45rem;
        gap: 0.4rem;
        border-radius: 18px 18px 0 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.35);
    }

    .floating-nav__btn {
        padding: 0.3rem 0.5rem;
        gap: 0.18rem;
        font-size: 0.65rem;
    }

    .floating-nav__btn .icon {
        font-size: 1rem;
    }

    .toast-container {
        right: 10px;
        left: 10px;
        top: auto;
        bottom: 120px;
        align-items: center;
    }
}

.send-emote-btn.success {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: #fff;
    padding: 0.75rem;
    font-size: 0.85rem;
}

.send-emote-btn.error {
    background: linear-gradient(135deg, #f44336, #e57373);
    color: #fff;
    padding: 0.75rem;
    font-size: 0.85rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 3px solid #ff1744;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 23, 68, 0.5);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* UID Modal */
.uid-modal h2 {
    color: #ff1744;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.uid-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 23, 68, 0.5);
    border-radius: 10px;
    color: #fff;
    outline: none;
    margin-bottom: 1.5rem;
}

.save-uid-btn {
    width: 100%;
    padding: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: #ff1744;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.save-uid-btn:hover {
    background: #ff6b6b;
    box-shadow: 0 0 25px rgba(255, 23, 68, 0.8);
    transform: scale(1.05);
}

/* Item Modal */
.item-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 23, 68, 0.5));
}

.item-info {
    width: 100%;
}

.item-info p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.item-info strong {
    color: #ff1744;
}

.command-text {
    word-break: break-all;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 5px;
    display: inline-block;
    margin-top: 0.3rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
}

.close-btn, .copy-btn {
    flex: 1;
    padding: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.close-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.copy-btn {
    background: #ff1744;
    color: #000;
}

.copy-btn:hover {
    background: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.8);
    transform: scale(1.05);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #ff1744;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.5);
}

.loading.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        gap: 0.4rem;
    }

    .header-timer {
        font-size: 0.7rem;
        padding: 0.35rem 0.55rem;
        gap: 0.25rem;
    }

    .made-by {
        font-size: 0.8rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .credentials-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .credential-input {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
    }

    .emotes-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .made-by {
        font-size: 0.7rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.7rem 0.5rem;
    }

    .header-content {
        gap: 0.3rem;
    }

    .header-timer {
        font-size: 0.65rem;
        padding: 0.3rem 0.45rem;
    }

    .made-by {
        font-size: 0.75rem;
    }

    .social-link svg {
        width: 20px;
        height: 20px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .credentials-section {
        gap: 0.5rem;
    }

    .credential-input {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
    }

    .emotes-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.8rem;
    }

    .send-emote-btn {
        font-size: 0.75rem;
        padding: 0.65rem;
        min-height: 2.3rem;
        height: 2.3rem;
    }
}

/* ... (previous CSS remains same) ... */

/* Add these new styles at the end */

/* Team Code Input in Modal */
.team-code-section {
    margin-top: 1rem;
    width: 100%;
}

.team-code-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff1744;
}

.team-code-input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 23, 68, 0.5);
    border-radius: 10px;
    color: #fff;
    outline: none;
    text-align: center;
    letter-spacing: 2px;
}

.team-code-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: normal;
}

.team-code-input:focus {
    border-color: #ff1744;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
}

/* Send Button */
.send-btn {
    flex: 1;
    padding: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.send-btn:hover {
    background: linear-gradient(135deg, #00e5ff, #00aaff);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    transform: scale(1.05);
}

.send-btn:disabled {
    background: rgba(100, 100, 100, 0.5);
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    font-size: 1.2rem;
}

.btn-text, .btn-loader {
    transition: opacity 0.3s ease;
}

/* Status Message */
.status-message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid #4caf50;
    color: #4caf50;
}

.status-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid #f44336;
    color: #f44336;
}

.hidden {
    display: none !important;
}

/* Previous styles remain same... */

/* Add these new styles at the end */

/* Input Section in Modal */
.input-section {
    margin-top: 1rem;
    width: 100%;
}

.input-section label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ff1744;
    font-size: 0.95rem;
}

.modal-input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 23, 68, 0.5);
    border-radius: 10px;
    color: #fff;
    outline: none;
    text-align: center;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.modal-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: normal;
}

.modal-input:focus {
    border-color: #ff1744;
    box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
    transform: translateY(-2px);
}

/* Remove old team-code-section styles and replace with input-section */
.team-code-section {
    display: none;
}

.team-code-input {
    display: none;
}
/* ========================================
   ACCESS GATE SYSTEM STYLES
   ======================================== */

/* Access Gate Modal */
.access-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.access-gate-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ff1744;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(255, 23, 68, 0.3);
    animation: slideUp 0.4s ease;
}

.activation-success {
    border-color: #4caf50;
    box-shadow: 0 10px 50px rgba(76, 175, 80, 0.3);
}

.lock-icon, .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.success-icon {
    animation: bounceIn 0.6s ease;
}

.access-gate-content h2 {
    color: #ff1744;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 23, 68, 0.5);
}

.activation-success h2 {
    color: #4caf50;
}

.access-gate-content p {
    color: #ddd;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.access-steps {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.access-steps h3 {
    color: #ff1744;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.access-steps ol {
    padding-left: 1.5rem;
}

.access-steps li {
    color: #ddd;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.access-steps strong {
    color: #4caf50;
}

.access-gate-btn {
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
    box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4);
}

.access-gate-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 23, 68, 0.6);
}

.cancel-btn {
    background: linear-gradient(135deg, #666, #888);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cancel-btn:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.access-note {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Timer Display */
.timer-display {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: #4caf50;
    margin: 1.5rem 0;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
    animation: glow 2s ease-in-out infinite;
}

/* Follow Gate Extend Theme */
.follow-gate-modal .access-gate-content {
    max-width: 520px;
    width: 92%;
    text-align: left;
    padding: 1.75rem 1.6rem;
    max-height: 90vh;
    overflow-y: auto;
}

.follow-gate-content h2 {
    text-align: center;
    margin-bottom: 0.35rem;
}


.follow-gate__intro {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.follow-gate__steps {
    margin: 1.1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 23, 68, 0.35);
    background: rgba(0, 0, 0, 0.35);
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.follow-gate__badge {
    position: absolute;
    top: -12px;
    left: 18px;
    padding: 0.15rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
}

.follow-gate__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.65rem;
}

.follow-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.45);
}

.follow-task__info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.follow-task__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
}

.follow-task__icon.icon-youtube {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1.5' y='5' width='21' height='14' rx='5' fill='%23ff0000'/%3E%3Cpath d='M10 15.2V8.8l5.6 3.2z' fill='%23fff'/%3E%3C/svg%3E");
}

.follow-task__icon.icon-instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='%23dd2a7b'/%3E%3Ccircle cx='12' cy='12' r='4.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.2' fill='%23fff'/%3E%3C/svg%3E");
}

.follow-task__icon.icon-telegram-channel,
.follow-task__icon.icon-telegram-group {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232ba4e1'/%3E%3Cpath d='M17.8 7.1 6 11.2c-.7.2-.7 1.1 0 1.4l3.5 1.4 1.3 4.3c.2.6.9.8 1.3.3l1.9-2.4 3.2 2.5c.5.4 1.3.1 1.4-.5l1.5-9.1c.1-.6-.4-1.1-1-.9z' fill='%23fff'/%3E%3C/svg%3E");
}

.follow-task__handle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-all;
}

.follow-task__btn {
    border: none;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    background: linear-gradient(135deg, #ff1744, #ff6b6b);
    color: #000;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.follow-task__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 23, 68, 0.4);
}

.follow-task__btn.loading {
    opacity: 0.75;
    pointer-events: none;
}

.follow-task__btn.verified {
    background: linear-gradient(135deg, #2ecc71, #6dd5ed);
    color: #fff;
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.35);
}

.follow-btn__spinner {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(0, 0, 0, 0.25);
    border-top-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
}

.follow-btn__check {
    font-size: 1rem;
}

.follow-gate__status {
    margin-top: 1.1rem;
    text-align: center;
    font-weight: 600;
    color: #ff1744;
}

.follow-gate__note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(76, 175, 80, 0.8);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .access-gate-content {
        padding: 2rem 1.5rem;
    }

    .access-gate-content h2 {
        font-size: 1.5rem;
    }

    .lock-icon, .success-icon {
        font-size: 3rem;
    }

    .timer-display {
        font-size: 2.5rem;
        padding: 1rem;
    }

    .access-gate-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .access-steps {
        padding: 1rem;
    }

    .access-steps li {
        font-size: 0.9rem;
    }
}
