/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #e8ddd0;
    background: #0a0505;
    position: relative;
}

/* ===== BACKGROUND ===== */
.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('https://i.imgur.com/nWoaOJk.jpeg') center/cover no-repeat fixed;
    opacity: 0.5;
    filter: brightness(0.5) contrast(1.2);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 80%),
        radial-gradient(ellipse at 70% 80%, rgba(30,5,5,0.6) 0%, transparent 60%);
}

/* ===== CONTENT ===== */
.content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 2.5rem 2.5rem;
    width: 100%;
}

/* ===== TOP BAR ===== */
.top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 80, 40, 0.15);
    margin-bottom: 2rem;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo i {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: #ff4422;
    filter: drop-shadow(0 0 30px rgba(255, 50, 0, 0.5));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 50, 0, 0.4)); }
    50% { filter: drop-shadow(0 0 50px rgba(255, 80, 10, 0.7)); }
}

.logo h1 {
    font-family: 'Creepster', cursive;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ff5533, #ff3311, #cc2200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.logo span {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.6rem, 1.2vw, 0.85rem);
    -webkit-text-fill-color: #ff6644;
    letter-spacing: 2px;
    margin-left: 4px;
}

.badge {
    background: rgba(30, 10, 6, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1.5rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 60, 30, 0.25);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    letter-spacing: 2px;
    color: #ff5533;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.badge i {
    color: #ff4422;
    animation: fire 0.7s ease-in-out infinite alternate;
}

@keyframes fire {
    0% { transform: scale(1) rotate(-5deg); opacity: 0.8; }
    100% { transform: scale(1.2) rotate(5deg); opacity: 1; }
}

/* ===== HERO ===== */
.hero {
    background: rgba(16, 6, 4, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: clamp(1.5rem, 3vw, 2.8rem) clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 80, 40, 0.08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    text-align: center;
}

.hero h2 {
    font-family: 'Creepster', cursive;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #ff5533;
    text-shadow: 0 0 30px rgba(255, 50, 0, 0.2);
    margin-bottom: 0.5rem;
}

.hero h2 i {
    color: #ff4422;
    margin-right: 12px;
    animation: fire 0.6s ease-in-out infinite alternate;
}

.hero .description {
    max-width: 750px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    color: #c4a090;
    font-weight: 300;
    line-height: 1.7;
}

.hero .description strong {
    color: #ff5533;
    font-weight: 600;
}

.hero .description .highlight {
    color: #ff6644;
    font-weight: 500;
}

.hero .description i {
    color: #ff4422;
    margin: 0 4px;
}

/* ===== MAIN GRID ===== */
.main-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ===== LEFT COLUMN ===== */
.left-col {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* ===== MAIN BOX ===== */
.main-box {
    background: rgba(16, 6, 4, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    padding: clamp(1.5rem, 2.5vw, 2.8rem) clamp(1.2rem, 2.5vw, 3rem);
    border: 1px solid rgba(255, 80, 40, 0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== BUTOANE ===== */
.btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
    margin-bottom: 1.8rem;
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: clamp(1rem, 1.8vw, 1.6rem) clamp(0.8rem, 1.2vw, 1.2rem);
    border-radius: 1.2rem;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: rgba(20, 8, 6, 0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 80, 40, 0.08);
    color: #d4b8ae;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    text-decoration: none !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}

.btn .icon {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.btn .title {
    font-weight: 700;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    text-decoration: none !important;
}

.btn .desc {
    font-weight: 400;
    font-size: clamp(0.65rem, 0.8vw, 0.8rem);
    opacity: 0.7;
    color: #997a72;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-decoration: none !important;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.btn:hover .icon {
    transform: scale(1.15) rotate(-5deg);
}

.btn.forum .icon {
    color: #ff5533 !important;
}

.btn.download .icon {
    color: #ff6644 !important;
}

.btn.nextclient .icon {
    color: #ff7799 !important;
}

/* ===== COUNTER ===== */
.counter {
    background: rgba(16, 6, 4, 0.3);
    border-radius: 1.2rem;
    padding: clamp(0.6rem, 1vw, 1rem) clamp(1rem, 1.5vw, 1.8rem);
    border: 1px solid rgba(255, 80, 40, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.counter .left {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1vw, 1rem);
}

.counter .left i {
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: #ff4422 !important;
}

.counter .left span {
    color: #997a72;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
}

.counter .num {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #ff5533 !important;
    background: rgba(20, 6, 4, 0.3);
    padding: 0.1rem clamp(0.8rem, 1.5vw, 1.4rem);
    border-radius: 60px;
    border: 1px solid rgba(255, 80, 40, 0.06);
    letter-spacing: 1px;
    min-width: 50px;
    text-align: center;
}

.counter .total-clicks {
    color: #66554a;
    font-size: 0.75rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-box {
    background: rgba(16, 6, 4, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 80, 40, 0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.sidebar-box .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #88665a;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 80, 40, 0.06);
}

.sidebar-box .title i {
    color: #ff4422 !important;
}

/* ===== PARTNER LIST ===== */
.partner-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 400px;
    overflow-y: auto;
}

.partner-list::-webkit-scrollbar {
    width: 4px;
}

.partner-list::-webkit-scrollbar-track {
    background: rgba(20, 8, 6, 0.2);
    border-radius: 10px;
}

.partner-list::-webkit-scrollbar-thumb {
    background: #ff4422;
    border-radius: 10px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(20, 8, 6, 0.3);
    border-radius: 1rem;
    padding: 0.6rem 0.8rem 0.6rem 0.6rem;
    border: 1px solid rgba(255, 80, 40, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

.partner-card:hover {
    border-color: rgba(255, 80, 40, 0.12);
    background: rgba(40, 12, 8, 0.25);
    transform: translateX(4px);
}

.partner-card .logo-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(20, 6, 4, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 80, 40, 0.06);
    flex-shrink: 0;
}

.partner-card .info {
    flex: 1;
    min-width: 0;
}

.partner-card .info .name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #d4b8ae;
}

.partner-card .info .tag {
    font-size: 0.65rem;
    color: #66554a;
    letter-spacing: 0.5px;
}

/* ===== BUTON VISIT ===== */
.partner-card .btn-visit {
    background: rgba(255, 80, 40, 0.1);
    border: 1px solid rgba(255, 80, 40, 0.08);
    color: #ff5533;
    padding: 0.3rem 0.8rem;
    border-radius: 60px;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.partner-card .btn-visit:hover {
    background: rgba(255, 80, 40, 0.2);
    border-color: rgba(255, 80, 40, 0.2);
    color: #ff7755;
    transform: scale(1.05);
}

.partner-card .btn-visit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 80, 40, 0.04);
    padding-top: 1.5rem;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    color: #66554a;
    gap: 1rem;
}

.footer .status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 6, 4, 0.15);
    padding: 0.3rem 1.2rem 0.3rem 0.8rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 80, 40, 0.03);
    font-size: clamp(0.65rem, 0.8vw, 0.8rem);
}

.footer .status .dot {
    width: 6px;
    height: 6px;
    background: #ff4422 !important;
    border-radius: 50%;
    animation: fire 0.8s ease-in-out infinite alternate;
    box-shadow: 0 0 20px rgba(255, 50, 0, 0.3);
}

.footer .copyright {
    color: #55443a;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* ===== ADMIN LINK ===== */
.admin-link {
    color: #66554a;
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.3s ease;
    letter-spacing: 1px;
}

.admin-link:hover {
    color: #ff5533 !important;
}

/* ===== ADMIN STYLES ===== */
.admin-container {
    max-width: 900px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 80, 40, 0.1);
}

.admin-header h1 {
    font-family: 'Creepster', cursive;
    font-size: 2.2rem;
    color: #ff5533;
}

.admin-header .back-link {
    color: #88665a;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.admin-header .back-link:hover {
    color: #ff5533;
}

.admin-card {
    background: rgba(16, 6, 4, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 80, 40, 0.06);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
}

.admin-card h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #88665a;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 80, 40, 0.06);
}

.admin-card h2 i {
    color: #ff4422;
    margin-right: 8px;
}

.admin-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-form-group .full-width {
    grid-column: 1 / -1;
}

.admin-form-group label {
    font-size: 0.8rem;
    color: #997a72;
    display: block;
    margin-bottom: 4px;
}

.admin-form-group input,
.admin-form-group select {
    width: 100%;
    background: rgba(20, 8, 6, 0.4);
    border: 1px solid rgba(255, 80, 40, 0.06);
    border-radius: 60px;
    padding: 0.6rem 1rem;
    color: #d4b8ae;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: 0.3s ease;
}

.admin-form-group input:focus,
.admin-form-group select:focus {
    border-color: rgba(255, 80, 40, 0.15);
}

.admin-form-group select option {
    background: #1a0a0a;
    color: #d4b8ae;
}

.btn-admin {
    background: rgba(255, 80, 40, 0.1);
    border: 1px solid rgba(255, 80, 40, 0.06);
    color: #ff5533;
    padding: 0.6rem 1.5rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-admin:hover {
    background: rgba(255, 80, 40, 0.2);
    border-color: rgba(255, 80, 40, 0.15);
    color: #ff7755;
}

.btn-admin.danger {
    background: rgba(200, 40, 40, 0.1);
    border-color: rgba(200, 40, 40, 0.06);
    color: #885555;
}

.btn-admin.danger:hover {
    background: rgba(200, 40, 40, 0.2);
    border-color: rgba(200, 40, 40, 0.15);
    color: #ff6666;
}

.btn-admin.success {
    background: rgba(40, 180, 80, 0.1);
    border-color: rgba(40, 180, 80, 0.06);
    color: #558855;
}

.btn-admin.success:hover {
    background: rgba(40, 180, 80, 0.2);
    border-color: rgba(40, 180, 80, 0.15);
    color: #66dd88;
}

.btn-admin.full-width {
    width: 100%;
    text-align: center;
    padding: 0.7rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.admin-stat-item {
    background: rgba(20, 8, 6, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 80, 40, 0.04);
}

.admin-stat-item .stat-label {
    font-size: 0.7rem;
    color: #66554a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-stat-item .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: #ff6644;
    margin-top: 4px;
}

.admin-partner-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.admin-partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(20, 8, 6, 0.3);
    border-radius: 1rem;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 80, 40, 0.04);
}

.admin-partner-item .p-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.admin-partner-item .p-info {
    flex: 1;
}

.admin-partner-item .p-info .p-name {
    font-weight: 600;
    color: #d4b8ae;
}

.admin-partner-item .p-info .p-tag {
    font-size: 0.7rem;
    color: #66554a;
}

.admin-partner-item .p-info .p-visits {
    font-size: 0.6rem;
    color: #88665a;
}

.admin-partner-item .p-actions {
    display: flex;
    gap: 0.4rem;
}

.admin-partner-item .p-actions .btn-sm {
    padding: 0.2rem 0.6rem;
    border-radius: 60px;
    font-size: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.admin-partner-item .p-actions .btn-sm.delete {
    background: rgba(200, 40, 40, 0.1);
    border-color: rgba(200, 40, 40, 0.06);
    color: #885555;
}

.admin-partner-item .p-actions .btn-sm.delete:hover {
    background: rgba(200, 40, 40, 0.2);
    color: #ff6666;
}

/* ===== LOGIN ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0505;
}

.login-box {
    background: rgba(16, 6, 4, 0.85);
    backdrop-filter: blur(10px);
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 80, 40, 0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.login-box .login-icon {
    font-size: 3rem;
    color: #ff5533;
    margin-bottom: 0.5rem;
}

.login-box h1 {
    font-family: 'Creepster', cursive;
    font-size: 2.2rem;
    color: #ff5533;
    margin-bottom: 0.3rem;
}

.login-box .login-sub {
    color: #88665a;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.login-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 60px;
    border: 1px solid rgba(255, 80, 40, 0.1);
    background: rgba(20, 8, 6, 0.4);
    color: #d4b8ae;
    font-size: 1rem;
    outline: none;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.login-box input:focus {
    border-color: rgba(255, 80, 40, 0.3);
}

.login-box .login-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: 60px;
    border: none;
    background: rgba(255, 80, 40, 0.2);
    color: #ff5533;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.login-box .login-btn:hover {
    background: rgba(255, 80, 40, 0.3);
    color: #ff7755;
}

.login-box .login-error {
    color: #ff6666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ===== SEO HIDDEN ===== */
.seo-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #140808;
}
::-webkit-scrollbar-thumb {
    background: #ff4422;
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5533;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .btn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-form-group {
        grid-template-columns: 1fr;
    }
    .admin-form-group .full-width {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 1rem 1.2rem 1.5rem;
    }
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    .badge {
        align-self: flex-start;
    }
    .hero .description {
        font-size: 0.95rem;
    }
    .sidebar {
        grid-template-columns: 1fr;
    }
    .admin-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    .login-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 550px) {
    .btn-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .btn {
        padding: 1rem;
        flex-direction: row;
        gap: 12px;
        justify-content: flex-start;
        text-align: left;
    }
    .btn .icon {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
    .btn .desc {
        font-size: 0.7rem;
    }
    .counter {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .counter .left {
        justify-content: center;
    }
    .hero {
        padding: 1.2rem;
    }
    .hero h2 {
        font-size: 1.6rem;
    }
    .hero .description {
        font-size: 0.85rem;
    }
    .partner-card {
        flex-wrap: wrap;
    }
    .partner-card .btn-visit {
        width: 100%;
        text-align: center;
        padding: 0.4rem;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .admin-card {
        padding: 1.2rem;
    }
    .admin-partner-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .admin-partner-item .p-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 400px) {
    .content {
        padding: 0.8rem;
    }
    .logo h1 {
        font-size: 1.6rem;
    }
    .logo i {
        font-size: 1.8rem;
    }
    .main-box {
        padding: 1rem;
    }
    .counter .num {
        font-size: 1.2rem;
        min-width: 40px;
        padding: 0.1rem 0.8rem;
    }
    .sidebar-box {
        padding: 1rem;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .login-box {
        padding: 1.5rem 1rem;
    }
}