/* LiamApps - Modern CSS with Dark/Light Mode */

:root {
    /* Light Mode Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent-primary: #007bff;
    --accent-secondary: #0056b3;
    --border-color: #dee2e6;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

.dark-mode {
    /* Dark Mode Colors */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3d3d3d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-primary: #4a9eff;
    --accent-secondary: #6bb3ff;
    --border-color: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --gradient-start: #4a5568;
    --gradient-end: #2d3748;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Menu - Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
    max-width: 900px;
    flex-wrap: nowrap;
}

/* Limit to 8 items max on desktop */
.nav-menu .nav-item:nth-child(n+9) {
    display: none;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 8px;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.admin-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.admin-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apps Section */
.apps-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.app-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.app-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-icon-wrapper {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 20px;
    overflow: hidden;
}

.app-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 4rem;
    font-weight: 700;
    border-radius: 20px;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.no-apps {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

/* App Detail Page */
.app-detail-page {
    padding: 3rem 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-secondary);
}

.app-detail {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.app-detail-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.app-detail-icon-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-detail-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-detail-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 5rem;
    font-weight: 700;
}

.app-detail-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.app-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.app-detail-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-ios {
    background: #000000;
    color: white;
}

.btn-ios:hover {
    background: #333333;
    transform: translateY(-2px);
}

.btn-android {
    background: #3ddc84;
    color: #000000;
}

.btn-android:hover {
    background: #2ab865;
    transform: translateY(-2px);
}

/* Screenshots */
.screenshots-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.screenshots-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    aspect-ratio: 9/16;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-image {
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-links {
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--accent-primary);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Admin Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 2rem;
}

.login-box {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-note {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.admin-container {
    min-height: 100vh;
    background: var(--bg-primary);
}

.admin-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    color: white;
    font-size: 2rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-apps-list {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.apps-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.apps-table th,
.apps-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.apps-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.table-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.table-icon-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-view {
    background: var(--accent-primary);
    color: white;
}

.btn-edit {
    background: #ffc107;
    color: #000;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.app-form {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dark-mode .alert-error {
    background: #4a1f24;
    color: #f8d7da;
    border-color: #721c24;
}

.dark-mode .alert-success {
    background: #1e4a24;
    color: #d4edda;
    border-color: #155724;
}

.image-preview,
.screenshots-preview {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.image-preview img,
.screenshots-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.current-icon {
    margin-bottom: 1rem;
}

.current-icon-preview {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.current-screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.screenshot-item-admin {
    position: relative;
    width: 150px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.screenshot-item-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-item-admin .btn {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.status-active {
    color: #155724;
    background: #d4edda;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-inactive {
    color: #721c24;
    background: #f8d7da;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dark-mode .status-active {
    color: #d4edda;
    background: #1e4a24;
}

.dark-mode .status-inactive {
    color: #f8d7da;
    background: #4a1f24;
}

.error-message {
    text-align: center;
    padding: 4rem 2rem;
}

.error-message h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
    min-height: 60vh;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form {
    position: relative;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="number"],
.contact-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Make Anti-Spam math answer field bigger */
.math-captcha-group {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.math-captcha-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form .math-answer-input,
.contact-form input[type="number"]#math_answer {
    font-size: 1.5rem !important;
    padding: 1.25rem 1.5rem !important;
    font-weight: 700 !important;
    text-align: center;
    max-width: 250px;
    width: 100%;
    min-width: 200px;
    border: 3px solid var(--accent-primary) !important;
    background: var(--bg-primary) !important;
}

.contact-form .math-answer-input:focus,
.contact-form input[type="number"]#math_answer:focus {
    border-color: var(--accent-secondary) !important;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15) !important;
    transform: scale(1.02);
}

.contact-form input:not(.math-answer-input):focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

#charCount {
    font-weight: 600;
    color: var(--accent-primary);
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-page {
        padding: 2rem 0;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .contact-form .math-answer-input,
    .contact-form input[type="number"]#math_answer {
        max-width: 100%;
        min-width: 100%;
        font-size: 1.3rem !important;
        padding: 1rem 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.25rem;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Hide desktop horizontal menu, show hamburger */
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    /* Mobile Menu Overlay - Always in DOM, hidden off-screen by default */
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 80px 0 20px 0;
        margin: 0;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.4);
        visibility: visible;
        opacity: 1;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateX(0) !important;
        pointer-events: all;
    }
    
    /* Show all items in mobile menu */
    .nav-menu .nav-item:nth-child(n+9) {
        display: block;
    }
    
    /* Menu backdrop overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 1.1rem;
        text-align: left;
        border-radius: 0;
        display: flex;
        align-items: center;
        transition: background 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: none;
        box-shadow: none;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .app-detail-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .app-detail-icon-wrapper {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .admin-header .container {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .apps-table {
        font-size: 0.85rem;
    }

    .apps-table th,
    .apps-table td {
        padding: 0.5rem;
    }

    .screenshots-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .app-detail {
        padding: 1.5rem;
    }

    .login-box {
        padding: 2rem 1.5rem;
    }
}

