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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Fixo */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: border-color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-header:hover {
    border-bottom-color: rgba(0, 212, 255, 0.3);
}

.navbar {
    padding: 18px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-brand h1:hover {
    color: var(--accent-secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 73px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(25px) brightness(0.4) contrast(1.1);
    transform: scale(1.1);
    opacity: 0.8;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.3);
    z-index: 1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--accent-primary);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    position: relative;
}

.btn-primary:hover {
    background: var(--accent-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* Server Section */
.server-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.25);
    z-index: 0;
    opacity: 0.5;
}

.server-section .container {
    position: relative;
    z-index: 1;
}

/* Grid de Estatísticas do Servidor */
.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.server-stat-card {
    background: rgba(20, 25, 35, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s ease;
}

.server-stat-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.online {
    color: #4ade80;
}

.server-card-large {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(20, 25, 35, 0.95);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: border-color 0.2s ease;
}

.server-card-large:hover {
    border-color: rgba(0, 212, 255, 0.5);
}

.server-info-large {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


.server-details {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.server-details h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.server-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.server-ip-container {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.server-ip-large {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    background: rgba(0, 212, 255, 0.1);
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    flex: 1;
    min-width: 300px;
}

.copy-btn-large {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

.copy-btn-large:hover {
    background: var(--accent-secondary);
}

.copy-btn-large:active {
    opacity: 0.9;
}

.copy-feedback {
    margin-top: 12px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

/* Links Section */
.links-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.links-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://cdn.hytale.com/5e7a961d5e334000189a2a78_6.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(50px) brightness(0.2);
    transform: scale(1.1);
    z-index: 0;
    opacity: 0.5;
}

.links-section .container {
    position: relative;
    z-index: 1;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.link-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    aspect-ratio: 3 / 4;
}

.card-bg-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 25, 40, 0.6);
    z-index: 1;
    transition: background 0.2s ease;
    pointer-events: none;
}

.link-card > * {
    position: relative;
    z-index: 2;
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3), 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.link-card:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

.link-card:hover::before {
    filter: brightness(0.6);
}

.link-card:hover::after {
    background: rgba(20, 25, 40, 0.7);
}

.link-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2.8rem;
    transition: transform 0.2s ease;
}

.link-card svg {
    width: 100%;
    height: 100%;
}

.discord-link:hover {
    border-color: #5865f2;
}

.discord-link:hover .link-icon {
    color: #5865f2;
}

.twitch-link:hover {
    border-color: #9146ff;
}

.twitch-link:hover .link-icon {
    color: #9146ff;
}

.tiktok-link:hover {
    border-color: #000000;
}

.tiktok-link:hover .link-icon {
    color: #000000;
}

.donation-link:hover {
    border-color: #ff6b6b;
}

.donation-link:hover .link-icon {
    color: #ff6b6b;
}

.link-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.link-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* Footer */
.main-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.social-icon.discord:hover {
    color: #5865f2;
    border-color: #5865f2;
}

.social-icon.twitch:hover {
    color: #9146ff;
    border-color: #9146ff;
}

.social-icon.tiktok:hover {
    color: #000000;
    border-color: #000000;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-height: 600px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateY(calc(100% + 20px));
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-widget.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chat-header {
    background: var(--accent-primary);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.chat-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.chat-name-editor {
    flex: 1;
    max-width: 250px;
    min-width: 150px;
}

.chat-name-input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.chat-name-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.chat-name-input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.chat-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.chat-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: 500px;
    background: var(--bg-secondary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg-secondary);
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.chat-message {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    word-wrap: break-word;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 85%;
    align-self: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    line-height: 1.5;
}

.chat-message .message-user {
    font-weight: 700;
    color: var(--accent-primary);
    margin-right: 8px;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.chat-message .message-text {
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 400;
}

.chat-message .message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 8px;
    opacity: 0.7;
}

.chat-message.own-message {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}

.chat-message.own-message .message-user {
    color: var(--accent-primary);
}

.chat-message:not(.own-message) {
    border-radius: 4px 12px 12px 12px;
}

.chat-message.system-message {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
    align-self: center;
    max-width: 90%;
    text-align: center;
    border-radius: 12px;
    font-style: italic;
}

.chat-message.system-message .message-user {
    color: var(--accent-primary);
    font-weight: 700;
}

.chat-input-container {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
}

#chatInput {
    flex: 1;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

#chatInput:focus {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

#chatInput::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.send-btn {
    background: var(--accent-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.send-btn:hover {
    background: var(--accent-secondary);
}

.send-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

/* Chat Button - Bongo Cat */
.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: #ffd700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    overflow: visible;
    padding: 0;
}

.chat-button:hover {
    background: #ffaa00;
}

.chat-button:active {
    transform: scale(1.05) translateY(-2px);
}

.chat-button.hidden {
    display: none;
}

/* Balão de fala do chat */
.chat-speech-bubble {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    background: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    animation: speechBubble 3s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.chat-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
}

@keyframes speechBubble {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.8);
    }
    10%, 30% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    40%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.8);
    }
}

/* Bongo Cat Animation */
.bongo-cat {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bongo-cat-body {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bongo-cat-face {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 8px;
}

.bongo-cat-eye {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 18px;
    animation: blink 3s infinite;
}

.bongo-cat-eye.left {
    left: 18px;
}

.bongo-cat-eye.right {
    right: 18px;
}

.bongo-cat-mouth {
    width: 12px;
    height: 6px;
    border: 2px solid #000;
    border-top: none;
    border-radius: 0 0 12px 12px;
    position: absolute;
    bottom: 16px;
}

.bongo-cat-paws {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.bongo-cat-paw {
    width: 12px;
    height: 12px;
    background: #ffb6c1;
    border-radius: 50% 50% 50% 0;
    animation: tap 1s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bongo-cat-paw.left {
    animation-delay: 0s;
}

.bongo-cat-paw.right {
    animation-delay: 0.5s;
}

@keyframes blink {
    0%, 90%, 100% {
        height: 8px;
    }
    95% {
        height: 2px;
    }
}

@keyframes tap {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-10deg);
    }
}

.chat-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffd700;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.chat-badge.hidden {
    display: none;
}

/* Animations */

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .server-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .server-card-large {
        padding: 32px 24px;
    }

    .server-info-large {
        flex-direction: column;
        text-align: center;
    }

    .server-ip-container {
        flex-direction: column;
    }

    .server-ip-large {
        min-width: 100%;
        text-align: center;
    }

    .copy-btn-large {
        width: 100%;
        justify-content: center;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .link-card {
        min-height: 280px;
        aspect-ratio: auto;
    }

    .footer-content {
        flex-direction: column;
    }

    .chat-widget {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        max-height: calc(100vh - 100px);
    }

    .chat-container {
        height: calc(100vh - 200px);
    }
}

@media (max-width: 1024px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .server-stats-grid {
        grid-template-columns: 1fr;
    }

    .server-stat-card {
        padding: 16px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .server-card-large {
        padding: 24px 16px;
    }

    .link-card {
        padding: 24px;
        min-height: 220px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
}
