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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    padding-top: 180px; /* Header için boşluk */
}

/* Metin2 Kingdom Header */
.kingdom-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
    border-bottom: 3px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8), 
                0 0 50px rgba(255, 215, 0, 0.3);
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.kingdom-header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 40px;
}

.kingdom-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.kingdom-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 200px;
    min-height: 120px;
}

.kingdom-logo-img {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    animation: logoGlow 3s ease-in-out infinite;
}

.kingdom-logo-fallback {
    display: flex; /* Varsayılan olarak göster (logo yüklenene kadar) */
    align-items: center;
    gap: 20px;
}

.kingdom-logo-fallback.logo-hidden {
    display: none !important; /* Logo yüklendiğinde gizle */
}

.kingdom-logo-img {
    display: none; /* Varsayılan olarak gizle */
}

.kingdom-logo-img.logo-loaded {
    display: block !important; /* Logo yüklendiğinde göster */
}

.kingdom-logo-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.kingdom-shield-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: shieldPulse 2.5s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1));
    }
}

.kingdom-logo-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kingdom-title {
    font-size: 2.5em;
    font-weight: 900;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                 0 0 40px rgba(255, 215, 0, 0.5),
                 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1;
    margin: 0;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.kingdom-subtitle {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1;
    margin: 0;
}

.kingdom-tagline {
    font-size: 0.9em;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    font-weight: 500;
}

.kingdom-flags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.kingdom-flag-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

.kingdom-flag-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.kingdom-flag-btn.active {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.flag-icon {
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
}

.flag-text {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.9));
    }
}

/* Master Anti Cheat Logo */
.anti-cheat-logo-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.anti-cheat-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 
                0 5px 20px rgba(0, 0, 0, 0.8),
                inset 0 0 20px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 
                    0 5px 20px rgba(0, 0, 0, 0.8),
                    inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 
                    0 5px 20px rgba(0, 0, 0, 0.8),
                    inset 0 0 30px rgba(255, 215, 0, 0.2);
    }
}

.anti-cheat-shield {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shield-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1));
    }
}

.anti-cheat-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.anti-cheat-main {
    font-size: 1.4em;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8),
                 0 0 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.anti-cheat-sub {
    font-size: 0.75em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.anti-cheat-badge {
    background: linear-gradient(45deg, #00c853, #00e676);
    color: #000;
    font-size: 0.65em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.6),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 200, 83, 0.6),
                    inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 200, 83, 0.9),
                    inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
}

/* Reklam Alanları */
.ad-area {
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    border: 2px dashed #ffd700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-area:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #ffed4e;
}

.ad-left {
    top: auto;
    left: 0;
    bottom: 0;
    width: 345px;
    height: 875px;
    border-radius: 0 !important;
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-right: 2px dashed #ffd700;
    margin: 0;
    padding: 0;
}

.ad-right {
    top: auto;
    right: 0;
    bottom: 0;
    width: 345px;
    height: 875px;
    border-radius: 0 !important;
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-left: 2px dashed #ffd700;
    margin: 0;
    padding: 0;
}

/* Orta Reklam Alanları Container */
.ad-center-container {
    position: fixed;
    left: 345px;
    right: 345px;
    top: 200px; /* Header yüksekliği + boşluk */
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ad-center-container::-webkit-scrollbar {
    width: 8px;
}

.ad-center-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.ad-center-container::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 4px;
}

.ad-center-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Sunucu Satırı - Sol: PVP Panel, Sağ: Resim */
.ad-server-row {
    display: flex;
    gap: 20px;
    width: 100%;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 20px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    align-items: flex-start;
}

.ad-server-row:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

/* Sol: PVP Panel (Yazılar) */
.ad-pvp-panel {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    width: 540px;
    height: 360px;
    min-width: 540px;
    min-height: 360px;
    max-width: 540px;
    max-height: 360px;
    overflow: visible;
    gap: 15px;
    box-sizing: border-box;
}

.pvp-panel-title {
    font-size: 1.6em;
    color: #ffd700;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: left;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    line-height: 1.2;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pvp-panel-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 20px 0;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: visible;
}

.pvp-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #ffd700;
    transition: all 0.3s ease;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.pvp-detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.pvp-detail-item .pvp-icon {
    font-size: 1.3em;
    min-width: 25px;
    text-align: left;
    line-height: 1;
    flex-shrink: 0;
}

.pvp-detail-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.pvp-label {
    font-size: 0.85em;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pvp-value {
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.pvp-vote-section {
    display: flex;
    gap: 10px;
    margin: 0;
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.pvp-vote-btn {
    flex: 0 0 auto;
    width: 190px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
}

.pvp-vote-up {
    background: linear-gradient(45deg, #00c853, #00e676);
    color: #fff;
}

.pvp-vote-up:hover {
    background: linear-gradient(45deg, #00e676, #00c853);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4);
}

.pvp-vote-up.active {
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.8);
}

.pvp-vote-down {
    background: linear-gradient(45deg, #d32f2f, #f44336);
    color: #fff;
}

.pvp-vote-down:hover {
    background: linear-gradient(45deg, #f44336, #d32f2f);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
}

.pvp-vote-down.active {
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.8);
}

.pvp-vote-icon {
    font-size: 1.8em;
    font-weight: bold;
    flex-shrink: 0;
    line-height: 1;
}

.pvp-vote-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 1.3em;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.pvp-join-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    margin: 10px 0 0 0;
    flex-shrink: 0;
    box-sizing: border-box;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pvp-join-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* Sağ: Resim Paneli */
.ad-server-image-panel {
    flex: 1;
    width: 540px;
    height: 360px;
    min-width: 540px;
    min-height: 360px;
    max-width: 540px;
    max-height: 360px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.5);
}

.ad-server-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.ad-server-image-panel:hover img {
    transform: scale(1.05);
}

.ad-placeholder {
    color: #999;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.ad-placeholder span {
    display: block;
    opacity: 0.6;
}

/* Vote Modal */
.vote-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999 !important;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.vote-modal.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.vote-modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 15px;
    border: 3px solid #ffd700;
    padding: 20px;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 50px rgba(255, 215, 0, 0.5);
}

.vote-modal-close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.8);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
}

.vote-modal-close-icon:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7);
}

.vote-modal-image {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.vote-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vote-modal-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

#countdown-text {
    font-size: 1.2em;
    color: #ffd700;
    text-align: center;
}

#countdown-number {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.vote-modal-close-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.vote-modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.vote-modal-close-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    body {
        padding-top: 200px; /* Mobilde header için daha fazla boşluk */
    }
    
    .kingdom-header-container {
        padding: 15px 20px;
    }
    
    .kingdom-logo-section {
        gap: 20px;
    }
    
    .kingdom-title {
        font-size: 2em;
    }
    
    .kingdom-subtitle {
        font-size: 1.5em;
    }
    
    .kingdom-flags {
        gap: 10px;
    }
    
    .kingdom-flag-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .flag-icon {
        font-size: 1.3em;
    }
    
    .ad-center-container {
        left: 345px;
        right: 345px;
        top: 220px;
    }
    
    .ad-server-row {
        flex-direction: column;
        min-height: auto;
    }
    
    .ad-pvp-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .ad-server-image-panel {
        width: 100%;
        height: 250px;
        min-height: 250px;
        max-width: 100%;
        min-width: 0;
    }
    
    .ad-left {
        width: 345px;
        height: 875px;
    }
    
    .ad-right {
        width: 345px;
        height: 875px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 250px;
    }
    
    .kingdom-header-container {
        padding: 10px 15px;
    }
    
    .kingdom-logo-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .kingdom-logo-wrapper {
        min-width: auto;
        min-height: auto;
    }
    
    .kingdom-logo-img {
        max-width: 150px;
        max-height: 90px;
    }
    
    .kingdom-logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .kingdom-title {
        font-size: 1.8em;
        letter-spacing: 3px;
    }
    
    .kingdom-subtitle {
        font-size: 1.3em;
        letter-spacing: 2px;
    }
    
    .kingdom-tagline {
        font-size: 0.8em;
    }
    
    .kingdom-flags {
        gap: 8px;
    }
    
    .kingdom-flag-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .flag-icon {
        font-size: 1.2em;
    }
    
    .flag-text {
        font-size: 0.9em;
    }
    
    .ad-center-container {
        top: 270px;
    }
    
    .anti-cheat-logo-container {
        bottom: 10px;
        right: 10px;
    }
    
    .anti-cheat-logo {
        padding: 8px 15px;
        gap: 10px;
    }
    
    .anti-cheat-shield {
        width: 40px;
        height: 40px;
    }
    
    .anti-cheat-main {
        font-size: 1.1em;
        letter-spacing: 2px;
    }
    
    .anti-cheat-sub {
        font-size: 0.65em;
        letter-spacing: 1px;
    }
    
    .anti-cheat-badge {
        font-size: 0.55em;
        padding: 3px 8px;
    }
    
    .ad-left {
        width: 345px;
        height: 875px;
    }
    
    .ad-right {
        width: 345px;
        height: 875px;
    }
    
    .ad-center-container {
        left: 345px;
        right: 345px;
        gap: 15px;
        padding: 15px;
    }
    
    .ad-server-row {
        flex-direction: column;
        padding: 15px;
    }
    
    .ad-pvp-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .ad-server-image-panel {
        width: 100%;
        height: 220px;
        min-height: 220px;
        max-width: 100%;
        min-width: 0;
    }
    
    .pvp-panel-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 280px;
    }
    
    .kingdom-header-container {
        padding: 8px 10px;
    }
    
    .kingdom-logo-img {
        max-width: 120px;
        max-height: 72px;
    }
    
    .kingdom-logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .kingdom-title {
        font-size: 1.5em;
        letter-spacing: 2px;
    }
    
    .kingdom-subtitle {
        font-size: 1.1em;
        letter-spacing: 1px;
    }
    
    .kingdom-tagline {
        font-size: 0.7em;
    }
    
    .kingdom-flags {
        gap: 5px;
    }
    
    .kingdom-flag-btn {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .flag-icon {
        font-size: 1.1em;
    }
    
    .flag-text {
        font-size: 0.85em;
    }
    
    .ad-center-container {
        top: 300px;
    }
    
    .anti-cheat-logo-container {
        bottom: 5px;
        right: 5px;
        width: auto;
        max-width: calc(100% - 10px);
    }
    
    .anti-cheat-logo {
        padding: 6px 12px;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .anti-cheat-shield {
        width: 35px;
        height: 35px;
    }
    
    .anti-cheat-main {
        font-size: 0.95em;
        letter-spacing: 1px;
    }
    
    .anti-cheat-sub {
        font-size: 0.6em;
    }
    
    .anti-cheat-badge {
        font-size: 0.5em;
        padding: 2px 6px;
    }
    
    .ad-left,
    .ad-right {
        display: none;
    }
    
    .ad-center-container {
        left: 10px;
        right: 10px;
        gap: 10px;
        padding: 10px;
    }
    
    .ad-server-row {
        flex-direction: column;
        padding: 10px;
    }
    
    .ad-pvp-panel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .ad-server-image-panel {
        width: 100%;
        height: 180px;
        min-height: 180px;
        max-width: 100%;
        min-width: 0;
    }
    
    .pvp-panel-title {
        font-size: 1.3em;
    }
    
    .pvp-detail-item {
        padding: 10px;
    }
    
    .pvp-vote-btn {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

