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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a1a0a 0%, #000000 50%, #0a1a0a 100%);
    color: #ffffff;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Navigation Bar */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #00ff00;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.nav-play {
    background: #00ff00;
    color: #000000;
    padding: 12px 25px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    font-weight: bold;
    position: relative;
}

.nav-play:hover {
    background: #00cc00;
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Characters Section */
.characters-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.character {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.character-placeholder {
    width: 150px;
    height: 250px;
    background: linear-gradient(135deg, #1a3a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.character-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
}

.female-warrior::before {
    content: '⚔️';
}

.male-warrior::before {
    content: '🛡️';
}

.male-mage::before {
    content: '🧙';
}

.female-mage::before {
    content: '✨';
}

.logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.logo-header {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(180deg, 
        rgba(26, 74, 26, 0.95) 0%, 
        rgba(10, 42, 10, 0.98) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    border: 4px solid #d4af37;
    border-radius: 0;
    clip-path: polygon(
        0% 0%, 
        100% 0%, 
        98% 5%, 
        95% 10%, 
        98% 15%, 
        100% 20%, 
        100% 80%, 
        98% 85%, 
        95% 90%, 
        98% 95%, 
        100% 100%, 
        0% 100%, 
        2% 95%, 
        5% 90%, 
        2% 85%, 
        0% 80%, 
        0% 20%, 
        2% 15%, 
        5% 10%, 
        2% 5%
    );
    box-shadow: 
        0 0 40px rgba(212, 175, 55, 0.6),
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(0, 255, 0, 0.1);
    z-index: -1;
    overflow: hidden;
}

.header-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 175, 55, 0.03) 10px,
            rgba(212, 175, 55, 0.03) 20px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 10px,
            rgba(0, 255, 0, 0.02) 10px,
            rgba(0, 255, 0, 0.02) 20px
        );
    opacity: 0.5;
}

.header-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 70%
    );
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.header-border-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #d4af37 20%,
        #00ff00 50%,
        #d4af37 80%,
        transparent
    );
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.header-border-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        #d4af37 20%,
        #00ff00 50%,
        #d4af37 80%,
        transparent
    );
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 60px;
    position: relative;
    z-index: 2;
}

.game-logo {
    font-size: 84px;
    font-weight: 900;
    color: #d4af37;
    text-shadow: 
        0 0 15px rgba(212, 175, 55, 1),
        0 0 30px rgba(212, 175, 55, 0.8),
        0 0 45px rgba(212, 175, 55, 0.6),
        0 0 60px rgba(212, 175, 55, 0.4),
        2px 2px 0px rgba(0, 0, 0, 0.8);
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Arial Black', Arial, sans-serif;
    position: relative;
}

.game-logo::before {
    content: 'METIN2';
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(0, 0, 0, 0.5);
    text-shadow: none;
    z-index: -1;
    transform: translate(3px, 3px);
}

.logo-2 {
    color: #ff0000;
    text-shadow: 
        0 0 15px rgba(255, 0, 0, 1),
        0 0 30px rgba(255, 0, 0, 0.8),
        0 0 45px rgba(255, 0, 0, 0.6),
        2px 2px 0px rgba(0, 0, 0, 0.8);
    position: relative;
}

.logo-subtitle {
    color: #00ff00;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px rgba(0, 255, 0, 0.8),
        0 0 20px rgba(0, 255, 0, 0.4);
    margin-top: 10px;
    animation: pulse-subtitle 2s ease-in-out infinite;
}

@keyframes pulse-subtitle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Lower Section */
.lower-section {
    display: grid;
    grid-template-columns: 350px 1fr 350px;
    gap: 30px;
    margin-top: 40px;
}

/* Login Panel */
.login-panel {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 25px;
    position: relative;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.panel-title {
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #d4af37;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lock-icon {
    font-size: 16px;
}

.form-group input {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.login-btn {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 2px solid #d4af37;
    border-radius: 5px;
    padding: 12px 20px;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

/* News Banner */
.news-banner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
}

.banner-placeholder::before {
    content: '🐺';
    position: absolute;
}

.news-title {
    color: #d4af37;
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Info Panels */
.info-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-panel {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.panel-character {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #2a5a2a 0%, #1a3a1a 100%);
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.panel-heading {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 18px;
}

.panel-btn {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 2px solid #d4af37;
    border-radius: 5px;
    padding: 10px 30px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.panel-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: scale(1.05);
}

/* Pet Decoration */
.pet-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.7;
}

.pet-left {
    bottom: -50px;
    left: -50px;
}

.pet-left::before {
    content: '🐕';
    font-size: 80px;
}

.pet-right-portal::before {
    content: '🐺';
    font-size: 80px;
}

.pet-left-portal::before {
    content: '🐱';
    font-size: 80px;
}

/* Portal Page Styles */
.portal-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
}

/* Left Sidebar */
.left-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.account-section {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.account-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 2px solid #d4af37;
    border-radius: 5px;
    padding: 12px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.account-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: scale(1.02);
}

.recaptcha-widget {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00ff00;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
}

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

.recaptcha-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.recaptcha-checkbox label {
    color: #ffffff;
    cursor: pointer;
}

.recaptcha-footer {
    font-size: 11px;
    color: #cccccc;
    margin-top: 10px;
}

.recaptcha-logo {
    color: #00ff00;
    font-weight: bold;
    margin-top: 5px;
}

.account-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.account-link {
    color: #00ff00;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.account-link:hover {
    color: #d4af37;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Ranking Sections */
.ranking-section {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.section-title {
    color: #d4af37;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
}

.ranking-table thead {
    background: rgba(0, 0, 0, 0.5);
}

.ranking-table th {
    padding: 10px;
    text-align: left;
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
    font-size: 12px;
}

.ranking-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 12px;
}

.ranking-table tbody tr:hover {
    background: rgba(0, 255, 0, 0.1);
}

/* Portal Content */
.portal-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portal-banner {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
}

.warrior-banner {
    background: linear-gradient(135deg, #1a3a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
}

.warrior-banner::before {
    content: '⚔️';
    font-size: 64px;
}

.news-section {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.news-heading {
    color: #d4af37;
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.facebook-link {
    margin-bottom: 20px;
}

.facebook-link a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.facebook-link a:hover {
    color: #d4af37;
}

.news-feed {
    min-height: 200px;
    color: #cccccc;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    border: 2px solid #d4af37;
    border-radius: 5px;
    padding: 15px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.action-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #00aa00 100%);
    transform: scale(1.02);
}

.btn-character {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2a5a2a 0%, #1a3a1a 100%);
    border: 2px solid #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.dark-armor::before {
    content: '⚔️';
}

.support-char::before {
    content: '🛡️';
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1a4a1a 0%, #0a2a0a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-label {
    color: #cccccc;
    font-size: 13px;
}

.stat-value {
    color: #00ff00;
    font-weight: bold;
    font-size: 14px;
}

/* Calendar Section */
.calendar-section {
    background: linear-gradient(135deg, #0a2a4a 0%, #0a1a2a 100%);
    border: 3px solid #d4af37;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.calendar-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
}

.calendar-table thead {
    background: rgba(0, 0, 0, 0.5);
}

.calendar-table th {
    padding: 10px;
    text-align: left;
    color: #ffffff;
    border-bottom: 2px solid #d4af37;
    font-size: 12px;
}

.calendar-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 12px;
}

.calendar-table tbody tr:hover {
    background: rgba(0, 255, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .lower-section {
        grid-template-columns: 1fr;
    }
    
    .portal-main {
        grid-template-columns: 1fr;
    }
    
    .characters-section {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .character:nth-child(4),
    .character:nth-child(5) {
        display: none;
    }
    
    .logo-header {
        min-height: 250px;
    }
    
    .game-logo {
        font-size: 64px;
    }
    
    .logo-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .characters-section {
        grid-template-columns: 1fr;
    }
    
    .logo-wrapper {
        order: -1;
        margin-bottom: 20px;
    }
    
    .logo-header {
        min-height: 200px;
    }
    
    .logo-container {
        padding: 30px 40px;
    }
    
    .game-logo {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .logo-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .character-placeholder {
        width: 120px;
        height: 200px;
    }
}

