/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c9a84c;
    --gold-light: #e0c066;
    --gold-dark: #a0853a;
    --dark: #0a0a0a;
    --dark-light: #111111;
    --dark-card: #141414;
    --dark-border: #2a2a2a;
    --text: #ffffff;
    --text-muted: #888888;
    --success: #4caf50;
    --warn: #ff9800;
    --danger: #f44336;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-prijava {
    background: transparent;
    padding: 0;
}

.btn-registracija {
    background: transparent;
    padding: 0;
}

.btn-img-prijava {
    height: 40px;
    width: auto;
    display: block;
}

.btn-img-registracija {
    height: 40px;
    width: auto;
    display: block;
}

.btn-kakozapoceti {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-img-kakozapoceti {
    height: 50px;
    width: auto;
    display: block;
}

.btn-kakozapoceti:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    padding: 12px 24px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-discord {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-discord-icon {
    width: 20px;
    height: 20px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 12px;
    width: 100%;
}

.btn-full {
    width: 100%;
    margin-top: 15px;
}

.btn-join {
    width: 100%;
    margin-top: 15px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}

/* === NAVIGACIJA === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dark-border);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 18px;
    height: 18px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* === HERO SEKCIJA === */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-left {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-title {
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.title-white {
    color: var(--text);
    font-weight: 800;
    letter-spacing: 2px;
}

.title-gold {
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 2px;
}

.title-rp {
    font-size: 50px;
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    margin-left: 10px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* SERVER STATUS */
.hero-right {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 30px;
    min-width: 280px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.status-online {
    color: var(--success);
}

.players-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.players-count {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
}

.players-sep {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 400;
}

/* === MAIN CONTENT === */
.main-content {
    padding: 60px 0;
    background: var(--dark);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 25px;
}

/* === KARTICE === */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 25px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.card-icon-img {
    width: 24px;
    height: 24px;
}

.card-header h3 {
    font-size: 16px;
    letter-spacing: 1px;
    flex: 1;
}

.card-link {
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--gold);
}

.card-nav {
    display: flex;
    gap: 5px;
}

.nav-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--text);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.nav-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.nav-btn:hover .arrow-icon {
    filter: brightness(0) invert(0);
    opacity: 1;
}

/* === NOVOSTI === */
.novosti-list {
    display: flex;
    flex-direction: column;
}

.novosti-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-border);
}

.novosti-item:last-child {
    border-bottom: none;
}

.novosti-thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
}

.novosti-date {
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 4px;
}

.novosti-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.novosti-item:hover h4 {
    color: var(--gold);
}

.novosti-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* === ORGANIZACIJE === */
.org-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.org-item {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.org-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.org-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.org-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.org-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.org-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.org-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.count-icon {
    width: 14px;
    height: 14px;
}

/* === PROMOCIJE === */
.promo-list {
    display: flex;
    flex-direction: column;
}

.promo-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--dark-border);
}

.promo-item:last-child {
    border-bottom: none;
}

.promo-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.promo-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.badge-warn {
    background: rgba(255, 152, 0, 0.2);
    color: var(--warn);
    border: 1px solid var(--warn);
}

.badge-danger {
    background: rgba(244, 67, 54, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* === FEATURES === */
.features {
    padding: 60px 0;
    background: var(--dark-light);
    border-top: 1px solid var(--dark-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-icon-img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
}

.feature-item h4 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 15px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h4 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--gold);
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    width: 100%;
    max-width: 400px;
}

.links-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.links-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 5px 0;
    transition: color 0.3s;
}

.link-icon {
    width: 16px;
    height: 16px;
}

.links-col a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social h4 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--gold);
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
}

.social-btn img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: all 0.3s;
}

.social-btn:hover {
    background: transparent;
    border: none;
    transform: translateY(-3px);
}

.social-btn:hover img {
    opacity: 1;
    filter: brightness(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-right {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .org-grid {
        grid-template-columns: 1fr;
    }
}