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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

.minecraft-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg width="32" height="32" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="16" fill="%23333333" opacity="0.05"/><rect x="16" y="16" width="16" height="16" fill="%23333333" opacity="0.05"/></svg>');
    z-index: -1;
    opacity: 0.2;
}

/* --- CUSTOM NAVBAR STYLES --- */
.custom-navbar {
    z-index: 20;
    height: 63px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: rgba(24, 24, 24, 0.95);
    background-image: url(/navbar.png);
    padding: 0 36px;
    box-sizing: border-box;
    box-shadow: 0 2px 24px rgba(0,0,0,0.13);
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-navbar .navbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.custom-navbar .navbar-label {
    color: #b0aeb2;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 500;
}

.custom-navbar .navbar-select {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 3px 18px 3px 8px;
    font-size: 15px;
    outline: none;
    appearance: none;
    transition: border 0.2s;
    cursor: pointer;
}

.custom-navbar .navbar-select:focus {
    border-color: #ff6464;
}

.custom-navbar .navbar-flag img {
    width: 24px;
    height: 17px;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,.10);
    vertical-align: middle;
}

.custom-navbar .navbar-language {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
}

.custom-navbar .navbar-language svg {
    margin-left: 4px;
    color: #b0aeb2;
}

.custom-navbar .navbar-cart {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 17px;
    gap: 8px;
}

.custom-navbar .navbar-cart svg {
    margin-right: 2px;
    color: #fff;
    vertical-align: middle;
}

.custom-navbar .navbar-cart-text {
    color: #b0aeb2;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
}

.custom-navbar .navbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 10px;
    vertical-align: middle;
    background: #eee;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.10);
}

.custom-navbar .navbar-user {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.custom-navbar .navbar-separator {
    width: 1.5px;
    height: 32px;
    background: rgba(255,255,255,0.20);
    margin: 0 18px;
    border-radius: 2px;
}

/* --- SERVER STATUS --- */
.server-status {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 25px;
    border: 1px solid rgba(255, 100, 100, 0.2);
    position: relative;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff6464;
    position: relative;
    animation: statusPulse 2s infinite;
}

.status-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ff6464;
    animation: statusRipple 2s infinite;
}

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

@keyframes statusRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 50px 20px 30px;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo {
    background: rgba(255, 100, 100, 0.2);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(255, 100, 100, 0.15),
        0 0 60px rgba(255, 100, 100, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 100, 100, 0.3);
}

.logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: logoShine 5s infinite;
}

.castle-icon {
    font-size: 56px;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo h1 {
    font-size: 3em;
    font-weight: 900;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 100, 100, 0.3);
    margin: 0;
    letter-spacing: 2px;
    color: #ff6464;
}

.logo .network {
    font-size: 1.3em;
    opacity: 0.9;
    letter-spacing: 4px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: #ff8888;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(0.5deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-0.5deg); }
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* --- PROGRESS SECTION --- */
.progress-section {
    max-width: 1200px;
    margin: 40px auto 20px;
    padding: 0 20px;
}

.progress-bar {
    background: rgba(255, 100, 100, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.2);
}

.progress-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff6464;
}

.progress-percentage {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff6464;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 100, 100, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: rgba(255, 100, 100, 0.4);
    width: 0%;
    border-radius: 6px;
    animation: progressPulse 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 100, 100, 0.3);
}

@keyframes progressPulse {
    0%, 100% { width: 0%; }
    50% { width: 15%; }
}

/* --- MAIN CONTENT --- */
.main-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 25px;
    padding: 0 20px;
}

.sidebar {
    width: 280px;
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    height: fit-content;
    border: 1px solid rgba(255, 100, 100, 0.2);
    box-shadow: 0 10px 40px rgba(255, 100, 100, 0.1);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 100, 100, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-item:hover::before {
    opacity: 1;
}

.sidebar-item:hover {
    background: rgba(255, 100, 100, 0.15);
    border-left-color: #ff6464;
    transform: translateX(8px);
    box-shadow: 0 5px 20px rgba(255, 100, 100, 0.2);
}

.sidebar-item.active {
    background: rgba(255, 100, 100, 0.2);
    border-left-color: #ff6464;
    box-shadow: 0 5px 20px rgba(255, 100, 100, 0.25);
}

.sidebar-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(255, 100, 100, 0.2);
}

.sidebar-text {
    font-weight: 600;
    font-size: 15px;
}

.content-area {
    flex: 1;
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 100, 100, 0.2);
    box-shadow: 0 10px 40px rgba(255, 100, 100, 0.1);
}

.welcome-section {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-section h2 {
    font-size: 2.2em;
    color: #ff6464;
    margin-bottom: 20px;
    font-weight: 800;
}

.welcome-section p {
    font-size: 1.1em;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.2);
    box-shadow: 0 8px 25px rgba(255, 100, 100, 0.1);
}

.info-card h3 {
    color: #ff6464;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 700;
}

.info-card p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn {
    background: rgba(255, 100, 100, 0.2);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(255, 100, 100, 0.3);
    box-shadow: 0 5px 15px rgba(255, 100, 100, 0.2);
}

.btn:hover {
    background: rgba(255, 100, 100, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 100, 100, 0.3);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.payment-method {
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 100, 100, 0.2);
    cursor: pointer;
}

.payment-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 100, 100, 0.2);
    border-color: rgba(255, 100, 100, 0.3);
    background: rgba(255, 100, 100, 0.15);
}

.payment-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: rgba(255, 100, 100, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 100, 100, 0.2);
}

.donator-section {
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 100, 100, 0.2);
    box-shadow: 0 8px 25px rgba(255, 100, 100, 0.1);
}

.donator-crown {
    font-size: 24px;
    margin-right: 10px;
}

.donator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.donator-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 100, 100, 0.2);
}

.donator-name {
    color: #ff6464;
    font-weight: bold;
    font-size: 14px;
}

.footer {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 100, 100, 0.1);
    backdrop-filter: blur(20px);
    margin-top: 60px;
    border-top: 1px solid rgba(255, 100, 100, 0.2);
}

.footer-logo {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ff6464;
}

.footer p {
    opacity: 0.8;
    margin-bottom: 5px;
}

.gift-section {
    margin: 30px 0;
}

.gift-input {
    display: flex;
    gap: 15px;
    align-items: center;
}

.gift-code-input {
    flex: 1;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
}

.gift-code-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.recent-purchases {
    margin-top: 20px;
}

.purchase-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.purchase-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 100, 100, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 3px 8px rgba(255, 100, 100, 0.2);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .custom-navbar {
        flex-wrap: wrap;
        padding: 0 8px;
        justify-content: flex-start;
    }
    .custom-navbar .navbar-separator {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .custom-navbar {
        padding: 10px 15px;
        flex-direction: column;
        height: auto;
        min-height: 63px;
        align-items: flex-start;
        gap: 15px;
    }
    
    .main-content {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 2.5em;
    }
    
    .hero-section {
        padding: 30px 15px 20px;
    }
}

@media (max-width: 700px) {
    .custom-navbar {
        flex-direction: column;
        height: auto;
        min-height: 63px;
        padding: 8px 2px;
        align-items: flex-start;
        gap: 6px;
    }
    .custom-navbar .navbar-group {
        margin-bottom: 4px;
        gap: 7px;
    }
    .custom-navbar .navbar-separator {
        display: none;
    }
}
