* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c1b33 0%, #1a2b4d 100%);
    color: #e6f2ff;
    min-height: 100vh;
    overflow-x: hidden;
}

.dev-tools-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.alert-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a2b4d 0%, #0c1b33 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #3498db;
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
    max-width: 500px;
    width: 90%;
}

.alert-content i {
    font-size: 60px;
    color: #2980b9;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.alert-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #3498db;
}

.alert-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #b3d9ff;
}

.alert-content button {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alert-content button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

header {
    background: rgba(12, 27, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #3498db;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.logo-wrapper:hover {
    border-color: #3498db;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

.logo-hover-text {
    position: absolute;
    bottom: -40px;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #3498db;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid #3498db;
}

.logo-link:hover .logo-hover-text {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #e6f2ff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #3498db;
    border-radius: 3px;
    transition: 0.3s;
}

main {
    margin-top: 100px;
}

.section {
    display: none;
    padding: 60px 20px;
    animation: fadeInUp 0.8s ease;
}

.section.active {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 50px;
    color: #3498db;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.2);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.server-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 60px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
}

.info-card {
    text-align: center;
}

.info-card i {
    font-size: 60px;
    color: #3498db;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

.info-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #3498db;
}

.info-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.versions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.version-tag {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    animation: tagPulse 2s infinite;
}

.highlight {
    font-size: 22px;
    font-weight: 700;
    color: #2980b9;
    margin-top: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 36px;
    margin: 60px 0 40px;
    color: #3498db;
}

.game-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mode-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: 0.5s;
}

.mode-card:hover::before {
    left: 100%;
}

.mode-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.mode-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #2980b9, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    animation: iconRotate 10s linear infinite;
}

.mode-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #3498db;
}

.mode-card p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 20px;
}

.mode-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2ecc71;
    animation: statusPulse 2s infinite;
}

.status-text {
    color: #2ecc71;
    font-weight: 600;
}

.personal-message {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 40px;
    border: 2px solid rgba(41, 128, 185, 0.3);
    margin-top: 60px;
}

.personal-message h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    margin-bottom: 25px;
    color: #2980b9;
}

.personal-message h2 i {
    font-size: 40px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.personal-message p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.regulation-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.regulation-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #3498db;
    color: #3498db;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.regulation-btn.active {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.regulation-btn:hover:not(.active) {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-3px);
}

.regulation-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.2);
}

.regulation-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.regulation-section.active {
    display: block;
}

.regulation-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    margin-bottom: 40px;
    color: #3498db;
}

.regulation-category {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border-left: 5px solid #3498db;
    animation: slideInLeft 0.5s ease;
}

.regulation-category.important {
    border-left-color: #2980b9;
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.regulation-category h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3498db;
}

.regulation-category.important h3 {
    color: #2980b9;
}

.regulation-category ul {
    list-style: none;
    padding-left: 20px;
}

.regulation-category li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.regulation-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 24px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: #3498db;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

.social-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.discord {
    background: linear-gradient(45deg, #2980b9, #3498db);
}

.namemc {
    background: linear-gradient(45deg, #21618C, #2980b9);
}

.shop {
    background: linear-gradient(45deg, #1B4F72, #21618C);
}

.social-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #3498db;
}

.social-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.social-link {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 20px;
    border-radius: 15px;
    font-size: 14px;
    color: #3498db;
}

.owner-profile {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(52, 152, 219, 0.3);
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.profile-banner {
    height: 200px;
    overflow: hidden;
}

.banner-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: bannerSlide 20s linear infinite;
}

.profile-content {
    position: relative;
    padding: 40px;
    padding-top: 80px;
}

.profile-avatar {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #3498db;
    overflow: hidden;
    background: #0c1b33;
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.5);
    animation: avatarFloat 3s ease-in-out infinite;
}

.avatar-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    text-align: center;
}

.profile-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #3498db;
    animation: textColorChange 5s infinite alternate;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.owner-badge {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
}

.admin-badge {
    background: linear-gradient(45deg, #21618C, #2980b9);
    color: white;
}

.dev-badge {
    background: linear-gradient(45deg, #1B4F72, #21618C);
    color: white;
}

.profile-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.copy-btn {
    background: linear-gradient(45deg, #2980b9, #3498db);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

footer {
    background: rgba(12, 27, 51, 0.95);
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #3498db;
    margin-top: 60px;
}

footer p {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #3498db;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #5dade2;
    transform: translateY(-3px);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.8)); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(52, 152, 219, 0.2); }
    100% { text-shadow: 0 0 30px rgba(52, 152, 219, 0.4); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes tagPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bannerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes avatarFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes textColorChange {
    0% { color: #3498db; }
    50% { color: #5dade2; }
    100% { color: #85c1e9; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-slide-up {
    animation: fadeInUp 0.8s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(12, 27, 51, 0.98);
        flex-direction: column;
        padding: 20px;
        border-top: 2px solid #3498db;
    }

    .nav-menu.active {
        display: flex;
    }

    .section-title {
        font-size: 36px;
    }

    .info-card h2 {
        font-size: 24px;
    }

    .mode-card, .social-card {
        padding: 20px;
    }

    .profile-banner {
        height: 150px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        top: -50px;
    }

    .profile-info h2 {
        font-size: 28px;
    }
}