/* Dark Empires — Account page */

body.account-page { padding-bottom: 140px; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.user-info {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.6s ease-out;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.user-info:hover {
    background: var(--gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.profile-img-container {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}
.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.unknown-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.unknown-icon svg { width: 36px; height: 36px; fill: var(--subtext); }

.user-info-details { flex: 1; }
.user-info-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}
.user-info-note {
    font-size: 0.85rem;
    color: var(--subtext);
    margin-top: 4px;
}

.box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.6s ease-out;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.box:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
    background: var(--gradient);
}
.box i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}
.box:hover i { transform: scale(1.2); }

.section {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin: 24px 0;
    animation: fadeIn 0.6s ease-out;
}
.section a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease, transform 0.3s ease;
}
.section a:last-child { border-bottom: none; }
.section a:hover {
    background: var(--gradient);
    color: var(--primary);
    padding-left: 16px;
    transform: translateY(-2px);
}
.section .profile-img-container { width: 24px; height: 24px; }
.section .unknown-icon svg { width: 16px; height: 16px; }
.section i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}
.section a:hover i { transform: scale(1.1); }

/* Social footer */
.social-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    margin: 24px 0;
    animation: fadeIn 0.6s ease-out;
}
.social-icons { display: flex; gap: 16px; }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--card-bg);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    font-size: 1.3rem;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.social-icon:hover {
    transform: translateY(-4px);
    background: var(--gradient);
    box-shadow: var(--shadow);
}
.social-icon i { transition: transform 0.3s ease; }
.social-icon:hover i { transform: scale(1.1); }
.social-icon.youtube   i { color: var(--youtube); }
.social-icon.instagram i { color: var(--instagram); }
.social-icon.telegram  i { color: var(--telegram); }
.social-icon.whatsapp  i { color: var(--whatsapp); }

.social-footer-text {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    text-align: center;
}
.social-footer-logo { height: 22px; width: auto; transition: opacity 0.3s ease; }
.social-footer:hover .social-footer-logo { opacity: 0.9; }

@media (min-width: 480px) {
    .container { padding: 0 20px; }
    .box-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
    .box, .section a { font-size: 1rem; padding: 18px; }
    .user-info { padding: 24px; margin: 28px 0; }
    .profile-img-container { width: 64px; height: 64px; }
    .user-info-name { font-size: 1.35rem; }
}
@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .box-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 32px 0; }
    .box { padding: 20px; font-size: 1.05rem; }
    .section { padding: 24px; margin: 32px 0; }
    .social-icon { width: 36px; height: 36px; font-size: 1.1rem; }
    .social-footer-logo { height: 26px; }
    .social-footer { padding-bottom: 80px; }
}
@media (min-width: 1024px) {
    .box-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .box-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
    .box { padding: 12px; font-size: 0.9rem; }
    .section { padding: 16px; margin: 16px 0; }
    .profile-img-container { width: 48px; height: 48px; }
    .user-info-name { font-size: 1.1rem; }
    .social-icons { gap: 12px; }
    .social-icon { width: 32px; height: 32px; font-size: 1rem; }
    .social-footer-text { margin-top: 20px; font-size: 0.85rem; gap: 6px; }
    .social-footer-logo { height: 16px; }
}
