.navbar {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    align-items: center;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 75rem;
}

.channel-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.channel-logo:hover {
    transform: translateY(-1px);
}

.logo-animation-container {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
}

.animated-border-box, .animated-border-box-glow {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

.animated-border-box-glow {
    overflow: hidden;
    filter: blur(8px);
}

.animated-border-box:before,
.animated-border-box-glow:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%) rotate(0deg);
    background: conic-gradient(rgba(0, 0, 0, 0), #2EAAF0, rgba(0, 0, 0, 0) 25%);
    animation: rotate 4s linear infinite;
}
.animated-border-box:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1D1E22;
    border-radius: 50%;
    z-index: -1;
}

@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

.channel-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: block;
    margin: 2px;
}
.channel-logo span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.navbar-links {
    display: flex;
    justify-content: center;
}

.navbar-links a {
    text-decoration: none;
    color: #2EAAF0;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #1a8bb8;
}

.navbar-links a.active {
    color: #1a8bb8;
    border-bottom: 2px solid #1a8bb8;
}

.navbar-discord {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-discord span {
    color: #ffffff;
    font-size: 1.05rem;
}

.discord-button {
    display: flex;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(45deg, #5865F2, #7289DA);
    border: 2px solid rgba(88, 101, 242, 0.3);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.discord-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.discord-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4);
    border-color: rgba(88, 101, 242, 0.6);
}

.discord-button:hover::before {
    left: 100%;
}

.discord-button:active {
    transform: translateY(-1px);
}

.discord-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.discord-button:hover i {
    transform: scale(1.1);
}

.navbar-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(46, 170, 240, 0.5), transparent);
    margin: 0 auto;
    max-width: 1200px;
}