/* Responsive Design für Hero-Section */
@media (max-width: 768px) {
  .hero-content::before {
    background-attachment: scroll;
    filter: blur(6px);
  }

  .hero-text {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }
  
  .brand-name {
    font-size: 2.5rem;
    line-height: 1.1;
    hyphens: auto;
  }
  
  .hero-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
  
  .typing-container {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 1rem;
    padding: 10px 20px;
  }

  .hero-actions .btn i {
    margin-right: 0.35rem;
  }

  .hero-alert {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.8rem 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-text {
    padding: 1.5rem 1rem;
    margin: 0 0.25rem;
  }
  
  .brand-name {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .typing-container {
    font-size: 1rem;
    height: 50px;
  }
  
  .hero-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-content::before {
    filter: blur(4px);
  }

  .hero-text {
    padding: 1rem 0.75rem;
    margin: 0;
  }
  
  .brand-name {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero-description {
    font-size: 0.95rem;
    padding: 0 0.25rem;
    line-height: 1.5;
  }
  
  .typing-container {
    font-size: 0.9rem;
    height: 45px;
  }
  
  .hero-actions .btn {
    font-size: 0.85rem;
    padding: 8px 12px;
    max-width: 220px;
  }

  .hero-actions .btn i {
    margin-right: 0.25rem;
  }
}



/* Responsive Design für Server Management */
@media (max-width: 768px) {
  .server-controls {
    gap: 0.5rem;
  }
  
  .server-action-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .resource-monitor-item {
    padding: 0.75rem;
  }
  
  .resource-label {
    font-size: 0.8rem;
  }
  
  .resource-value {
    font-size: 0.75rem;
  }
  
  .btn-group-compact {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-group-compact .btn {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .control-group {
    gap: 0.4rem;
  }
  
  .server-action-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .resource-monitor-item {
    padding: 0.6rem;
  }
}


@media (max-width: 768px) {
  .slideshow-container {
    max-width: 95%;
    padding: 1.5rem 0;
  }
  
  .slide {
    margin: 0 1rem;
  }
  
  .slide img {
    height: 40px;
    max-width: 100px;
  }
  
  .slideshow-track {
    animation-duration: 50s;
  }
  
  .hoster h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    max-width: 90%;
    padding: 1rem 0;
  }
  
  .slide img {
    height: 30px;
    max-width: 80px;
  }
  
  .slide {
    margin: 0 0.5rem;
  }
  
  .hoster h3 {
    font-size: 1.3rem;
  }
}


/* Support Table Mobile Responsive */
@media (max-width: 1200px) {
  .modern-table {
    font-size: 0.8rem;
  }
  
  .modern-table thead th,
  .modern-table tbody td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 992px) {
  .modern-table thead th:nth-child(6),
  .modern-table tbody td:nth-child(6) {
    display: none;
  }
}

@media (max-width: 768px) {
  .modern-table thead th:nth-child(3),
  .modern-table tbody td:nth-child(3),
  .modern-table thead th:nth-child(5),
  .modern-table tbody td:nth-child(5) {
    display: none;
  }
  
  .modern-table thead th,
  .modern-table tbody td {
    padding: 0.5rem 0.25rem;
    font-size: 0.75rem;
  }
}


@media (max-width: 768px) {
  .mail-log-card,
  .settings-content-card,
  .quick-access-card,
  .news-card,
  .stats-card,
  .ticket-card,
  .dashboard-header-card,
  .modern-table {
    margin: 0 10px; /* Reduzierter Abstand auf mobilen Geräten */
  }
}

@media (max-width: 576px) {
  .mail-log-card,
  .settings-content-card,
  .quick-access-card,
  .news-card,
  .stats-card,
  .ticket-card,
  .dashboard-header-card,
  .modern-table {
    margin: 0 5px; /* Noch kleiner für sehr kleine Bildschirme */
  }
}


/* Responsive Design für KVM Cards */
@media (max-width: 768px) {
  .kvm-card,
  .kvm-empty-state {
    margin: 0 10px;
  }
  
  .kvm-card .card-body {
    padding: 1.5rem;
  }
  
  .kvm-header {
    margin-bottom: 1rem;
  }
  
  .kvm-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .kvm-title {
    font-size: 1.3rem;
  }
  
  .kvm-empty-content {
    padding: 2rem 1.5rem;
  }
  
  .kvm-empty-content i {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .kvm-card,
  .kvm-empty-state {
    margin: 0 5px;
  }
  
  .kvm-card .card-body {
    padding: 1rem;
  }
  
  .kvm-empty-content {
    padding: 1.5rem 1rem;
  }
}


/* Responsive Design für Login */
@media (max-width: 768px) {
  .login-card {
    margin: 1rem;
    padding: 2rem;
    max-width: 100%;
  }
  
  .login-title {
    font-size: 2rem;
  }
  
  .login-form .form-control {
    font-size: 16px; /* Verhindert Zoom auf iOS */
  }
}

@media (max-width: 576px) {
  .login-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  .login-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
}


/* Responsive Design für Changelog */
@media (max-width: 768px) {
  .changelog-header-card,
  .changelog-content-card,
  .changelog-empty-state {
    margin: 0 10px;
  }
  
  .changelog-accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .changelog-accordion-body {
    padding: 1rem;
  }
  
  .changelog-empty-content {
    padding: 2rem 1.5rem;
  }
  
  .changelog-empty-content i {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .changelog-header-card,
  .changelog-content-card,
  .changelog-empty-state {
    margin: 0 5px;
  }
}




/* Responsive Design - Tablet */
@media (max-width: 991.98px) {
  .modern-navbar {
    padding: 0.4rem 0;
  }
  
  .modern-navbar .container-fluid {
    padding: 0 0.75rem;
  }
  
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin-top: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }
  
  .modern-nav-link {
    margin: 0.3rem 0;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
  }
  
  .navbar-user-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .user-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  
  .user-name {
    max-width: none;
    font-size: 0.9rem;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .modern-dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08) !important;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 767.98px) {
  .modern-navbar {
    padding: 0.3rem 0;
  }
  
  .modern-navbar .container-fluid {
    padding: 0 0.5rem;
  }
  
  .navbar-logo {
    width: 28px;
    height: 28px;
  }
  
  .brand-text {
    font-size: 0.9rem;
  }
  
  .modern-toggler {
    padding: 0.3rem 0.5rem;
  }
  
  .navbar-collapse {
    padding: 1rem;
    margin-top: 0.75rem;
  }
  
  .modern-nav-link {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.9rem;
  }
  
  .user-dropdown-toggle {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }
  
  .modern-dropdown .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* Responsive Design - Small Mobile */
@media (max-width: 575.98px) {
  .brand-text {
    display: none !important;
  }
  
  .navbar-logo {
    width: 26px;
    height: 26px;
  }
  
  .modern-navbar .container-fluid {
    padding: 0 0.25rem;
  }
  
  .navbar-collapse {
    padding: 0.75rem;
  }
  
  .modern-nav-link {
    padding: 0.5rem 0.6rem !important;
    font-size: 0.85rem;
  }
  
  .user-dropdown-toggle {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .user-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }
  
  .user-name {
    font-size: 0.8rem;
  }
  
  .modern-dropdown .dropdown-item {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Large Desktop optimizations */
@media (min-width: 1400px) {
  .modern-navbar .container-fluid {
    margin: auto;
  }
  
  .modern-nav-link {
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem;
  }
  
  .user-dropdown-toggle {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .user-avatar {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
}


/* Navbar animation on scroll */
@media (prefers-reduced-motion: no-preference) {
  .modern-navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
}


/* ============================= */
/* 24FIRE KVM RESPONSIVE STYLES  */
/* ============================= */

/* Tablet & Large Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .kvm-card {
    margin: 0 10px;
  }

  .kvm-card .card-body {
    padding: 1.5rem;
  }

  .kvm-header {
    margin-bottom: 0.75rem;
  }

  .kvm-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .kvm-title {
    font-size: 1.15rem;
  }

  .kvm-id {
    font-size: 0.85rem;
  }

  .kvm-btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .kvm-quick-access-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .kvm-info {
    font-size: 0.85rem;
  }

  .kvm-uptime {
    font-size: 0.85rem;
  }

  .kvm-empty-state {
    padding: 2.5rem 1.5rem;
  }

  .kvm-empty-content i {
    font-size: 3.5rem;
  }

  .kvm-empty-content h5 {
    font-size: 1.25rem;
  }

  .dashboard-title {
    font-size: 2rem !important;
  }

  .role-badge-modern {
    font-size: 0.85rem;
    padding: 10px 16px !important;
  }

  .dashboard-header-card {
    margin: 0 10px !important;
  }

  .dashboard-alert {
    margin: 0 10px !important;
  }

  .d-flex.gap-2 {
    gap: 0.75rem !important;
  }

  /* Bottom Action Buttons Responsive */
  .d-flex.gap-3.justify-content-center {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .d-flex.gap-3.justify-content-center .btn {
    width: 100%;
  }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
  .col-xl-3,
  .col-lg-4,
  .col-md-6,
  .col-sm-12 {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .kvm-card {
    margin: 0 5px;
  }

  .kvm-card .card-body {
    padding: 1.25rem;
    gap: 1rem;
  }

  .kvm-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .kvm-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    align-self: flex-start;
  }

  .kvm-title {
    font-size: 1.05rem;
  }

  .kvm-id {
    font-size: 0.8rem;
  }

  .kvm-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
  }

  .kvm-btn i {
    font-size: 0.9rem;
  }

  .kvm-quick-access-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }

  .kvm-actions-bottom {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .kvm-actions-bottom .kvm-quick-access-btn,
  .kvm-actions-bottom .kvm-btn {
    width: 100%;
    justify-content: center;
  }

  .kvm-info {
    font-size: 0.8rem;
  }

  .kvm-uptime {
    font-size: 0.8rem;
  }

  .kvm-empty-state {
    padding: 2rem 1rem;
    margin: 0 5px;
  }

  .kvm-empty-content i {
    font-size: 3rem;
  }

  .kvm-empty-content h5 {
    font-size: 1.1rem;
  }

  .kvm-empty-content p {
    font-size: 0.9rem;
  }

  .dashboard-header-card {
    margin: 0 5px !important;
  }

  .dashboard-alert {
    margin: 0 5px !important;
    padding: 1rem !important;
  }

  .dashboard-title {
    font-size: 1.75rem !important;
    margin: 0 !important;
  }

  .role-badge-modern {
    font-size: 0.8rem;
    padding: 8px 12px !important;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem !important;
  }

  .d-flex.justify-content-between.gap-3 {
    flex-direction: column;
    gap: 1.5rem !important;
  }

  .d-flex.gap-2 {
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .d-flex.gap-2 .btn {
    width: 100%;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .kvm-card {
    margin: 0 3px;
  }

  .kvm-card .card-body {
    padding: 1rem;
    gap: 0.75rem;
  }

  .kvm-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .kvm-title {
    font-size: 1rem;
  }

  .kvm-id {
    font-size: 0.75rem;
  }

  .kvm-btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.75rem;
  }

  .kvm-empty-state {
    padding: 1.75rem 0.75rem;
  }

  .kvm-empty-content i {
    font-size: 2.5rem;
  }

  .kvm-empty-content h5 {
    font-size: 1rem;
  }

  .kvm-empty-content p {
    font-size: 0.85rem;
  }

  .dashboard-alert {
    margin: 0 3px !important;
    padding: 0.75rem !important;
    font-size: 0.9rem;
  }

  .dashboard-alert i {
    margin-right: 0.5rem;
  }

  .dashboard-title {
    font-size: 1.5rem !important;
  }

  .role-badge-modern {
    font-size: 0.75rem;
    padding: 6px 10px !important;
  }

  .btn-secondary,
  .btn-primary {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .btn-secondary i,
  .btn-primary i {
    margin-right: 0.25rem;
  }
}

/* Large Desktop (min-width: 1200px) */
@media (min-width: 1200px) {
  .kvm-card {
    margin: 0 15px;
  }

  .kvm-card .card-body {
    padding: 2rem;
    gap: 1.5rem;
  }

  .kvm-icon {
    width: 60px;
    height: 60px;
  }

  .kvm-title {
    font-size: 1.35rem;
  }
}

/* Home page mobile polish */
@media (max-width: 992px) {
  .hero-section,
  .features-section,
  .hoster {
    overflow-x: hidden;
  }

  .hero-content .container,
  .features-section .container,
  .hoster .container {
    margin: 0 auto !important;
    padding: 0 1rem !important;
    font-size: inherit !important;
  }

  .hero-content {
    min-height: auto;
    padding: 1.25rem 0 1.5rem;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions .btn,
  .hero-actions .btn-compact {
    width: 100%;
    max-width: 320px;
  }

  .feature-card {
    padding: 1.4rem 1rem;
    border-radius: 12px;
  }

  .feature-card h3 {
    font-size: 1.15rem;
  }

  .feature-card p {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 576px) {
  .hero-content .container,
  .features-section .container,
  .hoster .container {
    padding: 0 0.75rem !important;
  }

  .hero-content {
    padding-top: 0.75rem;
  }

  .hero-actions .btn,
  .hero-actions .btn-compact {
    max-width: 100%;
    margin: 0 !important;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
  }

  .hoster {
    margin-top: 1.5rem;
    padding: 1rem 0;
  }

  .slideshow-container {
    max-width: 100%;
    border-radius: 10px;
    padding: 0.85rem 0;
  }

  .slideshow-track {
    animation-duration: 65s;
  }

  .slide {
    margin: 0 0.45rem;
  }

  .slide img {
    height: 28px;
    max-width: 74px;
  }
}

@media (max-width: 380px) {
  .hero-text {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .typing-container {
    font-size: 0.85rem;
    height: 40px;
    margin-bottom: 0.65rem !important;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 1rem !important;
  }

  .hero-actions {
    gap: 0.5rem;
    padding: 0;
  }

  .hero-actions .btn,
  .hero-actions .btn-compact {
    font-size: 0.8rem;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    text-transform: none;
    letter-spacing: normal;
  }

  .hero-actions .me-2,
  .hero-actions .me-3 {
    margin-right: 0 !important;
  }

  .features-section {
    padding: 1rem 0 0.5rem;
  }

  .features-section .col-sm-6 {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .feature-card {
    padding: 1rem 0.8rem;
  }

  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .feature-card p {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }

  .hoster h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
  }

  .slideshow-container {
    padding: 0.65rem 0;
  }

  .slide {
    margin: 0 0.3rem;
  }

  .slide img {
    height: 22px;
    max-width: 62px;
  }
}

/* ============================= */
/* SERVER OVERVIEW RESPONSIVE    */
/* ============================= */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .hoster-card {
    margin: 0 10px;
  }

  .hoster-logo-container {
    height: 120px;
  }

  .hoster-content {
    padding: 1.25rem;
    gap: 0.5rem;
  }

  .hoster-name {
    font-size: 1.15rem;
  }

  .hoster-description {
    font-size: 0.85rem;
  }

  .hoster-count {
    font-size: 0.85rem;
  }

  .hoster-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    width: calc(100% - 2.4rem);
    margin: 0 1.2rem 1.2rem 1.2rem;
  }

  .btn-primary {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.95rem;
    max-width: 280px;
  }

  .dashboard-title {
    font-size: 2rem !important;
  }

  .dashboard-header-card {
    margin: 0 10px !important;
  }

  .dashboard-alert {
    margin: 0 10px !important;
  }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .hoster-card {
    margin: 0 5px;
  }

  .hoster-logo-container {
    height: 100px;
    padding: 1rem 0;
  }

  .hoster-logo {
    max-width: 85%;
    max-height: 85%;
  }

  .hoster-content {
    padding: 1rem;
    gap: 0.4rem;
  }

  .hoster-name {
    font-size: 1rem;
    line-height: 1.2;
  }

  .hoster-description {
    font-size: 0.8rem;
  }

  .hoster-count {
    font-size: 0.8rem;
  }

  .hoster-count i {
    font-size: 0.9rem;
  }

  .hoster-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem 1rem;
  }

  .hoster-empty-state {
    padding: 2rem 1rem;
    min-height: 280px;
    margin: 0 5px;
    gap: 1rem;
  }

  .hoster-empty-state i {
    font-size: 3rem;
  }

  .hoster-empty-state h5 {
    font-size: 1.15rem;
  }

  .hoster-empty-state p {
    font-size: 0.9rem;
  }

  .dashboard-title {
    font-size: 1.75rem !important;
    margin: 0 !important;
  }

  .dashboard-header-card {
    margin: 0 5px !important;
  }

  .dashboard-alert {
    margin: 0 5px !important;
    padding: 1rem !important;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
  }

  .btn-primary {
    padding: 0.7rem 1.2rem !important;
    font-size: 0.85rem;
    max-width: 280px;
  }
}

/* Extra Small (max-width: 480px) */
@media (max-width: 480px) {
  .hoster-card {
    margin: 0 3px;
  }

  .hoster-logo-container {
    height: 90px;
    padding: 0.75rem 0;
  }

  .hoster-logo {
    max-width: 80%;
    max-height: 80%;
  }

  .hoster-content {
    padding: 0.75rem;
    gap: 0.3rem;
  }

  .hoster-name {
    font-size: 0.95rem;
  }

  .hoster-description {
    font-size: 0.75rem;
  }

  .hoster-count {
    font-size: 0.75rem;
  }

  .hoster-btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.75rem;
    width: calc(100% - 1.6rem);
    margin: 0 0.8rem 0.8rem 0.8rem;
  }

  .hoster-empty-state {
    padding: 1.5rem 0.75rem;
    min-height: 250px;
    margin: 0 3px;
    gap: 0.75rem;
  }

  .hoster-empty-state i {
    font-size: 2.5rem;
  }

  .hoster-empty-state h5 {
    font-size: 1rem;
  }

  .hoster-empty-state p {
    font-size: 0.85rem;
  }

  .dashboard-title {
    font-size: 1.5rem !important;
  }

  .dashboard-header-card {
    margin: 0 3px !important;
  }

  .dashboard-alert {
    margin: 0 3px !important;
    padding: 0.75rem !important;
    font-size: 0.9rem;
  }

  .dashboard-alert i {
    margin-right: 0.5rem;
  }

  .btn-primary {
    padding: 0.6rem 1rem !important;
    font-size: 0.8rem;
    max-width: 240px;
  }
}

/* Large Desktop (min-width: 1200px) for Hoster Cards */
@media (min-width: 1200px) {
  .hoster-card {
    margin: 0 15px;
  }

  .hoster-logo-container {
    height: 160px;
  }

  .hoster-content {
    padding: 1.75rem;
    gap: 1rem;
  }

  .hoster-name {
    font-size: 1.4rem;
  }

  .hoster-description {
    font-size: 0.95rem;
  }

  .hoster-count {
    font-size: 0.95rem;
  }

  .hoster-btn {
    padding: 0.95rem 1.7rem;
    font-size: 0.95rem;
    width: calc(100% - 3.4rem);
    margin: 0 1.7rem 1.7rem 1.7rem;
  }

  .btn-primary {
    padding: 0.95rem 2rem !important;
    font-size: 1rem;
    max-width: 320px;
  }
}

/* Final mobile polish for homepage */
@media (max-width: 768px) {
  .hero-title {
    margin-bottom: 0.9rem !important;
  }

  .hero-description.mb-5 {
    margin-bottom: 1.35rem !important;
  }

  .features-section .row {
    row-gap: 0.2rem;
  }

  .features-section .mb-4 {
    margin-bottom: 0.85rem !important;
  }

  .feature-card a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hoster {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .faq-section {
    margin-top: 1.8rem;
    padding-bottom: 1.8rem;
  }

  .faq-header h3 {
    font-size: 1.45rem;
  }

  .faq-header p {
    font-size: 0.95rem;
  }

  .faq-button {
    font-size: 0.95rem;
    padding: 0.85rem 0.95rem;
  }

  .faq-body {
    font-size: 0.92rem;
    padding: 0.85rem 0.95rem;
  }
}

@media (max-width: 360px) {
  .hero-content .container,
  .features-section .container,
  .hoster .container {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .typing-container {
    font-size: 0.8rem;
    height: 36px;
  }

  .hero-actions .btn,
  .hero-actions .btn-compact {
    min-height: 42px;
    font-size: 0.78rem;
  }

  .feature-card {
    padding: 0.9rem 0.7rem;
  }

  .slide img {
    height: 20px;
    max-width: 56px;
  }

  .faq-header h3 {
    font-size: 1.25rem;
  }

  .faq-header p {
    font-size: 0.86rem;
  }

  .faq-button {
    font-size: 0.87rem;
    padding: 0.75rem 0.8rem;
  }

  .faq-body {
    font-size: 0.84rem;
    padding: 0.75rem 0.8rem;
    line-height: 1.45;
  }
}

@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .hero-actions .btn:hover,
  .slide img:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slideshow-track {
    animation: none !important;
  }

  .cursor {
    animation: none !important;
    opacity: 1;
  }

  .hero-text,
  .feature-card,
  .hero-actions .btn {
    transition: none !important;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 1.2rem 0.8rem;
  }

  .site-footer__disclaimer {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .site-footer__links {
    gap: 0.55rem 0.8rem;
  }

  .site-footer__links a {
    font-size: 0.84rem;
  }

  .site-footer__bottom {
    font-size: 0.78rem;
    gap: 0.35rem 0.7rem;
  }
}
