/* --- VARIABILE & RESET --- */
:root {
    --brown-dark: #2c1a0e;
    --brown-mid: #5c3d2e;
    --brown-btn: #7a5c4a;
    --brown-btn-hover: #5c3d2e;
    --accent-light: #e8d5c4;
    --card-bg: #fff8f3;
    --text-muted: #8a7060;
    --bg: #e8dcc8;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: #333;
    min-height: 100vh;
}

/* --- TOP BANNER --- */
.top-banner {
    background-color: var(--brown-dark);
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    letter-spacing: 2px;
    text-align: center;
    padding: 7px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 50px;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #e8ddd5;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text small {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.logo-text strong {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: var(--brown-dark);
}

nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

nav a {
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    color: var(--brown-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav a:hover { color: var(--brown-btn); }

.nav-divider {
    width: 1px;
    height: 20px;
    background: #ddd;
    margin: 0 4px;
}

.btn-outline {
    background: transparent;
    border: none;
    padding: 7px 14px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    border-radius: 8px;
}

.btn-outline:hover {
    background: #f0e8df;
    color: var(--brown-dark);
}

.btn-filled {
    background: var(--brown-dark);
    color: #fff;
    border: none;
    padding: 8px 18px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    font-weight: 500;
    border-radius: 8px;
}

.btn-filled:hover { background: var(--brown-mid); }

.btn-logout {
    background: #c0392b;
    color: #d4b896;
    border: none;
    padding: 7px 14px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    border-radius: 8px;
}

.btn-logout:hover { background: #a93226; color: #e8d5c4; }

/* --- NAV USER --- */
.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 8px;
    background: #f5ede6;
}

.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--brown-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
}

.nav-username {
    font-size: 12px;
    font-weight: 600;
    color: var(--brown-dark);
    letter-spacing: 0.5px;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switcher { display: flex; gap: 6px; align-items: center; }

.lang-switcher a {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: 0.2s;
    border: 1px solid transparent;
}

.lang-switcher a:hover { color: var(--brown-dark); border-color: var(--brown-dark); }
.lang-switcher a.lang-active { color: var(--brown-dark); border-color: var(--brown-dark); font-weight: 700; }

/* --- CONTAINER PRINCIPAL --- */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 60px;
    min-height: calc(100vh - 110px);
}

/* --- CARD REGISTER/LOGIN --- */
.card {
    display: flex;
    width: 1000px;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.image-section {
    flex: 1;
    background-image: url('/fundal.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.overlay-content { position: relative; z-index: 1; width: 100%; }

.overlay-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 30px;
    font-weight: 700;
    color: #fff;
}

.overlay-content ul { list-style: none; padding: 0; margin: 0; }

.overlay-content li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
    color: #fff;
    font-size: 13px;
}

.overlay-content li::before { content: "•"; position: absolute; left: 0; }

/* --- FORM SECTION --- */
.form-section { flex: 1; background: #fff; padding: 60px; }

.form-tagline {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--brown-dark);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-row { display: flex; gap: 16px; margin-bottom: 16px; }

.input-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 16px;
}

.form-row .input-group { margin-bottom: 0; }

.input-group label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.input-group input,
.input-group select {
    border: 1px solid #e0d5ce;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border 0.2s;
    background: #fdfaf8;
    color: #333;
}

.input-group input::placeholder { color: #c5b5aa; }
.input-group input:focus,
.input-group select:focus { border-color: var(--brown-btn); }

.info-box {
    background: #faf5f0;
    border: 1px solid #e8d5c4;
    padding: 11px 14px;
    font-size: 11.5px;
    color: var(--text-muted);
    border-radius: 6px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    background: var(--brown-dark);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 50px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover { background: var(--brown-mid); }

.footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 18px;
}

.footer-text a { color: var(--brown-btn); text-decoration: none; font-weight: 500; }

/* --- HERO ACASA --- */
.hero-section {
    background-image: url('/fundal.png');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* --- MAGAZIN --- */
.shop-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.shop-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 38px;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.shop-header p { color: var(--text-muted); font-size: 14px; }

.shop-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px 60px;
    align-items: stretch;
}

.product-card {
    background: transparent;
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 320px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-card .btn-buy { margin-top: auto; }

.product-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: block;
    object-fit: contain;
}

.product-tag {
    font-size: 9px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--brown-dark);
    margin-bottom: 10px;
}

.product-card > p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
    flex: 1;
}

.price-tag {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 16px;
}

.btn-buy {
    display: block;
    width: 100%;
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}

.btn-buy:hover { background: #a93226; }

/* --- BUNDLE BANNER --- */
.bundle-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    background: transparent;
    border-top: 1px solid #c9b99a;
    margin: 40px 0 0;
    flex-wrap: wrap;
}

.bundle-label {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1a1a1a;
}

.bundle-price-inline {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: #c0392b;
}

.bundle-sep { color: #a89070; font-size: 13px; }

.btn-bundle {
    display: inline-block;
    background: #8b1a1a;
    color: #f0e6d3;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 7px 18px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-bundle:hover { background: #c0392b; }

/* --- DISCORD CTA --- */
.discord-cta {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 600px;
    margin: 0 auto;
}

.discord-cta h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--brown-dark);
    margin-bottom: 12px;
}

.discord-cta p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-discord-big {
    display: inline-block;
    background: #5865F2;
    color: #fff;
    padding: 14px 36px;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-discord-big:hover { background: #4752c4; }

/* --- ADMIN / OWNER PANEL --- */
.admin-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.admin-title {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--brown-dark);
    margin-top: 6px;
}

.admin-stats { display: flex; gap: 16px; }

.stat-box {
    background: var(--brown-dark);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.7;
    text-transform: uppercase;
}

.table-wrapper {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--accent-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table thead { background: var(--brown-dark); color: rgba(255,255,255,0.85); }

.admin-table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f0e8e0;
    color: #444;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #fdf8f5; }

.id-badge {
    background: var(--accent-light);
    color: var(--brown-dark);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.ip-code {
    background: #f5f0eb;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    color: var(--brown-mid);
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.btn-update { background: #4A3427; color: #fff; }
.btn-update:hover { background: #2D1B14; }

.btn-delete {
    background: transparent;
    border: 1.5px solid #e0b0b0;
    color: #c0392b;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.btn-delete:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

.empty-state {
    padding: 60px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- REDCORE --- */
.redcore-container {
    max-width: 1000px;
    margin: 50px auto;
    background: var(--bg);
    border-radius: 20px;
    padding: 40px;
}

.header-banner {
    background: url('/fundal.png') center / cover;
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
}

.header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    border-radius: 15px;
}

.header-banner > * { position: relative; z-index: 1; }

.section-title {
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid #4A3427;
    padding-bottom: 10px;
    margin-top: 30px;
    color: #4A3427;
}

.grid-ips {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.input-field {
    padding: 12px;
    border: 1px solid #4A3427;
    border-radius: 5px;
    background: #FDF9F0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    width: 100%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .top-banner { display: none; }

    .navbar {
        flex-direction: column;
        gap: 14px;
        padding: 14px 20px;
    }

    nav { justify-content: center; gap: 8px; }
    .nav-divider { display: none; }

    .hero-content h1 { font-size: 32px; }

    .card { flex-direction: column; }
    .image-section { min-height: 200px; padding: 30px; }
    .form-section { padding: 30px 24px; }
    .form-row { flex-direction: column; gap: 0; }

    .shop-container { padding: 20px 16px 40px; }
    .shop-header h1 { font-size: 26px; }
    .product-card { width: 100%; max-width: 360px; }

    .admin-wrapper { padding: 0 16px; }
    .admin-header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .admin-table { font-size: 11px; }
    .admin-table th, .admin-table td { padding: 10px; }

    .grid-ips { grid-template-columns: 1fr; }
    .redcore-container { margin: 20px; padding: 20px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 24px; }
    .btn-filled, .btn-outline { padding: 8px 12px; font-size: 10px; }
    .bundle-banner { flex-direction: column; text-align: center; }
}

/* --- ABOUT PAGE --- */
.about-hero {
    background: url('/fundal.png') center / cover no-repeat;
    position: relative;
    padding: 100px 20px;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: var(--brown-dark);
    padding: 32px 40px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
    padding: 0 48px;
}

.about-stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

.about-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

.about-body {
    display: flex;
    gap: 60px;
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 40px;
    align-items: flex-start;
}

.about-story { flex: 1; }
.about-features { flex: 1; }

.about-frameworks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.about-fw-badge {
    background: var(--brown-dark);
    color: #f0e6d3;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 4px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ddd5;
    transition: box-shadow 0.2s;
}

.about-feature-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.about-feature-icon {
    font-size: 22px;
    min-width: 36px;
    text-align: center;
    margin-top: 2px;
}

.about-feature-item strong {
    display: block;
    font-size: 13px;
    color: var(--brown-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.about-feature-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.about-cta {
    background: url('/fundal.png') center / cover no-repeat;
    position: relative;
    text-align: center;
    padding: 80px 20px;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.about-cta > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
    .about-body { flex-direction: column; padding: 0 20px; margin: 40px auto; }
    .about-stat { padding: 16px 24px; }
    .about-stat-divider { display: none; }
    .about-hero h1 { font-size: 32px; }
    .about-cta h2 { font-size: 24px; }
}

/* --- CONTACT PAGE --- */
.contact-hero {
    background: url('/fundal.png') center / cover no-repeat;
    position: relative;
    padding: 90px 20px;
    text-align: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.contact-body {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 60px auto 80px;
    padding: 0 40px;
    align-items: flex-start;
}

.contact-info {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e8ddd5;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.contact-info-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.07); }

.contact-info-icon {
    font-size: 22px;
    min-width: 36px;
    text-align: center;
    margin-top: 2px;
}

.contact-info-card strong {
    display: block;
    font-size: 13px;
    color: var(--brown-dark);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 6px;
}

.contact-link {
    font-size: 12px;
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.contact-link:hover { text-decoration: underline; }

.contact-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    margin-top: 4px;
}

.contact-discord-btn:hover { background: #4752c4; }

.contact-form-wrap {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e8ddd5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
    .contact-body { flex-direction: column; padding: 0 20px; margin: 40px auto; }
    .contact-info { flex: none; width: 100%; }
    .contact-form-wrap { padding: 24px; }
    .contact-hero h1 { font-size: 30px; }
}
