/* CSS Variables & Reset */
:root {
    --ruby-red: #c42c40;
    --ruby-red-dark: #a82435;
    --ruby-coral: #d84a5a;
    --bg-light: #ffffff;
    --bg-gray: #fafafa;
    --text-dark: #212121;
    --text-gray: #757575;
    --border: #e0e0e0;
}

.dark {
    --bg-light: #1a1a1a;
    --bg-gray: #212121;
    --text-dark: #ffffff;
    --text-gray: #9e9e9e;
    --border: #424242;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

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

/* Typography */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.1rem, 5.5vw, 2rem);
        white-space: nowrap;
    }
}

/* Logo border for light/white brand backgrounds */
.logo-border {
    border: 1px solid #e0e0e0;
}
.dark .logo-border {
    border-color: #424242;
}

/* Responsive */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
