/* Modern Style StartPage CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: #f8f9fa;
    color: #333;
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    transition: all 0.3s ease;
}

body.dark-theme {
    background: #1a1a2e;
    color: #e9ecef;
}

body.dark-theme .background-gradient {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
}

/* Gradient Background */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6eaff 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.header:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.theme-switcher {
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    color: #6a11cb;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.1);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(31, 38, 135, 0.15);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.weather-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(31, 38, 135, 0.15);
}

.weather-icon {
    font-size: 2.5rem;
    color: #6a11cb;
    filter: drop-shadow(0 2px 4px rgba(106, 17, 203, 0.3));
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.weather-location {
    font-size: 0.9rem;
    color: #666;
}

.time-display {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.date-display {
    font-size: 0.9rem;
    color: #666;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(31, 38, 135, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(31, 38, 135, 0.12);
}

.card-header {
    padding: 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    border-bottom: none;
}

.card-content {
    padding: 20px;
}

.card-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 28px;
}

/* Search Module */
.search-input-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 20px;
}

#search-input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    font-size: 1rem;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

#search-input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    background: white;
    transform: scale(1.02);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

.search-engines {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.engine-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.engine-btn:hover {
    background: white;
    border-color: #6a11cb;
    color: #333;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.1);
}

.engine-btn.active {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
}

/* Quick Access Module */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.category-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #6a11cb;
}

.category-header {
    padding: 15px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
}

.category-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-links {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    text-decoration: none;
    color: #666;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.link-item:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.link-item:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.link-item i {
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.link-item:hover i {
    transform: scale(1.3) rotate(5deg);
}

.link-item span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.link-item:hover span {
    transform: translateY(-2px);
}

/* Bottom Modules */
.bottom-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

/* Live Data Modules */
.live-data-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

/* Stock Market Module */
.stock-list {
    max-height: 300px;
    overflow-y: auto;
}

.stock-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stock-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.stock-item:last-child {
    border-bottom: none;
}

.stock-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stock-name {
    font-weight: 600;
    color: #333;
}

.stock-symbol {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.stock-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.stock-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.stock-change.positive {
    background: rgba(17, 203, 106, 0.1);
    color: #11cb6a;
}

.stock-change.negative {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.stock-placeholder,
.crypto-placeholder,
.air-quality-placeholder,
.quote-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

/* Cryptocurrency Module */
.crypto-list {
    max-height: 300px;
    overflow-y: auto;
}

.crypto-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crypto-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.crypto-item:last-child {
    border-bottom: none;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.crypto-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.crypto-name {
    font-weight: 600;
    color: #333;
}

.crypto-symbol {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
}

.crypto-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.crypto-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
}

.crypto-change.positive {
    background: rgba(17, 203, 106, 0.1);
    color: #11cb6a;
}

.crypto-change.negative {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

/* Air Quality Module */
.air-quality-info {
    text-align: center;
    padding: 20px;
}

.aqi-value {
    font-size: 3rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.aqi-category {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

.aqi-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.aqi-detail-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.aqi-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.aqi-detail-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.aqi-detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Daily Quote Module */
.quote-container {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.quote-author {
    font-size: 1rem;
    font-weight: 600;
    color: #666;
}

.quote-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.quote-action-btn {
    padding: 10px 15px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.quote-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.2);
}

/* Currency Converter Module */
.currency-converter {
    padding: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.currency-input-group {
    margin-bottom: 20px;
}

.currency-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.currency-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.currency-input {
    padding: 12px;
    font-size: 1rem;
    color: #333;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.currency-input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.currency-select {
    padding: 12px;
    font-size: 1rem;
    color: #333;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.currency-select:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

/* World Clock Module */
.world-clock-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.world-clock-item {
    padding: 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.world-clock-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #6a11cb;
}

.world-clock-city {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.world-clock-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.world-clock-date {
    font-size: 0.85rem;
    color: #666;
}

/* Weather Alerts Module */
.weather-alerts {
    padding: 20px;
}

.weather-alert-item {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
    transition: all 0.3s ease;
}

.weather-alert-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.15);
}

.weather-alert-item.severe {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.weather-alert-item.warning {
    border-left-color: #ffd93d;
    background: rgba(255, 217, 61, 0.1);
}

.weather-alert-item.advisory {
    border-left-color: #6bcb77;
    background: rgba(107, 203, 119, 0.1);
}

.weather-alert-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.weather-alert-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.weather-alert-time {
    font-size: 0.75rem;
    color: #999;
}

.weather-alerts-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Tools Module */
.tool-selector {
    margin-bottom: 20px;
    position: relative;
}

.tool-selector::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    font-size: 0.8rem;
}

.tool-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 1rem;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.tool-select:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    background: white;
}

.tool-container {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tool-container:hover {
    border-color: #6a11cb;
    box-shadow: 0 5px 20px rgba(106, 17, 203, 0.1);
}

.tool-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.tool-input-group {
    margin-bottom: 15px;
}

.tool-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.tool-input, .tool-textarea {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.tool-input:focus, .tool-textarea:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.tool-textarea {
    min-height: 100px;
    resize: vertical;
}

.tool-input-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.tool-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.tool-action-btn {
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.tool-action-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.tool-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.4);
}

.tool-action-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.tool-action-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.3);
}

.tool-result {
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    min-height: 50px;
    word-break: break-all;
    font-size: 0.9rem;
}

.color-preview {
    width: 100%;
    height: 60px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.color-preview:hover {
    border-color: #6a11cb;
}

.tool-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-color: transparent;
    color: white;
}

.toggle-btn:hover:not(.active) {
    border-color: #6a11cb;
    color: #333;
}

/* News Module */
.news-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #6a11cb #f8f9fa;
}

.news-item {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.news-item:hover {
    background: #f8f9fa;
    transform: translateX(10px);
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

.news-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    font-size: 0.95rem;
}

.news-description {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.75rem;
}

.news-placeholder {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 10px;
}

.refresh-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    border-radius: 50%;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Footer */
.footer {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.footer:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #333;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-info {
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a10b0 0%, #1e64e6 100%);
}

/* Responsive */
@media (max-width: 1024px) {
    .bottom-modules {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .header-info {
        align-items: center;
        width: 100%;
    }
    
    .weather-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 15px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .bottom-modules {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .search-engines {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .engine-btn {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .main-content {
        gap: 30px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-header {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
    }
    
    .time-display {
        font-size: 1.2rem;
    }
    
    .date-display {
        font-size: 0.8rem;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-header {
        padding: 15px;
    }
    
    .card-header h2 {
        font-size: 1.1rem;
        gap: 8px;
    }
    
    .category-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .link-item {
        padding: 12px;
        font-size: 0.75rem;
    }
    
    .tool-input-row {
        grid-template-columns: 1fr;
    }
    
    .tool-row {
        grid-template-columns: 1fr;
    }
    
    .search-input-container {
        margin-bottom: 15px;
    }
    
    #search-input {
        padding: 12px 50px 12px 15px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        width: 40px;
        height: 40px;
    }
    
    .main-content {
        gap: 20px;
    }
    
    .bottom-modules {
        gap: 20px;
    }
    
    .todo-input-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .todo-add-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Privacy and Terms Pages Responsive */
@media (max-width: 768px) {
    .privacy-content,
    .terms-content {
        padding: 20px;
    }
    
    .privacy h2,
    .Terms h1 {
        font-size: 1.5rem;
    }
    
    .privacy .title h3,
    .Terms .title h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .privacy .title p,
    .Terms .title p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .privacy .title ul,
    .Terms .title ul {
        margin-left: 20px;
    }
    
    .back-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .privacy h2,
    .Terms h1 {
        font-size: 1.3rem;
    }
    
    .privacy .title h3,
    .Terms .title h3 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-left: 8px;
    }
    
    .privacy .title p,
    .Terms .title p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .privacy .title ul,
    .Terms .title ul {
        margin-left: 15px;
    }
    
    .privacy .title li,
    .Terms .title li {
        font-size: 0.85rem;
    }
    
    .back-link {
        padding: 8px 16px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Apply animations */
.card {
    animation: fadeIn 0.5s ease forwards;
}

.search-card {
    animation-delay: 0.1s;
}

.quick-access-card {
    animation-delay: 0.2s;
}

.tools-card {
    animation-delay: 0.3s;
}

.news-card {
    animation-delay: 0.4s;
}

.todo-card {
    animation-delay: 0.5s;
}

.habit-card {
    animation-delay: 0.6s;
}

.pomodoro-card {
    animation-delay: 0.7s;
}

/* Privacy and Terms Pages Animations */
.privacy .title,
.Terms .title {
    animation: fadeIn 0.3s ease forwards;
    opacity: 0;
}

.privacy .title:nth-child(1),
.Terms .title:nth-child(1) {
    animation-delay: 0.1s;
}

.privacy .title:nth-child(2),
.Terms .title:nth-child(2) {
    animation-delay: 0.2s;
}

.privacy .title:nth-child(3),
.Terms .title:nth-child(3) {
    animation-delay: 0.3s;
}

.privacy .title:nth-child(4),
.Terms .title:nth-child(4) {
    animation-delay: 0.4s;
}

.privacy .title:nth-child(5),
.Terms .title:nth-child(5) {
    animation-delay: 0.5s;
}

.privacy .title:nth-child(6),
.Terms .title:nth-child(6) {
    animation-delay: 0.6s;
}

.privacy .title:nth-child(7),
.Terms .title:nth-child(7) {
    animation-delay: 0.7s;
}

.privacy .title:nth-child(8),
.Terms .title:nth-child(8) {
    animation-delay: 0.8s;
}

.privacy .title:nth-child(9),
.Terms .title:nth-child(9) {
    animation-delay: 0.9s;
}

.privacy .title:nth-child(10),
.Terms .title:nth-child(10) {
    animation-delay: 1s;
}

.privacy .title:nth-child(11),
.Terms .title:nth-child(11) {
    animation-delay: 1.1s;
}

.privacy .title:nth-child(12),
.Terms .title:nth-child(12) {
    animation-delay: 1.2s;
}

/* Hover effects */
.privacy .title h3,
.Terms .title h3 {
    transition: all 0.3s ease;
}

.privacy .title h3:hover,
.Terms .title h3:hover {
    transform: translateX(5px);
}

/* Back link enhanced effects */
.back-link {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.back-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: -1;
}

.back-link:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

/* Smooth scrolling for anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Habit Tracker Styles */
.habit-tracker {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.habit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.habit-item:hover {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.habit-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.habit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #11cb6a 0%, #25fc6a 100%);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.habit-details {
    flex: 1;
}

.habit-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.habit-streak {
    font-size: 0.875rem;
    color: #6c757d;
}

.habit-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.habit-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.habit-date {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Pomodoro Timer Styles */
.pomodoro-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: #6a11cb;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-controls {
    display: flex;
    gap: 12px;
}

.timer-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.timer-settings {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.setting-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.setting-item label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.setting-item input {
    width: 80px;
    padding: 8px;
    font-size: 1rem;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.setting-item input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}



.todo-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#todo-input {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    color: #333;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

#todo-input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.todo-add-btn {
    padding: 12px 18px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.todo-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeIn 0.3s ease;
}

.todo-item:hover {
    box-shadow: 0 4px 12px rgba(31, 38, 135, 0.1);
    transform: translateY(-2px);
}

.todo-item.completed {
    opacity: 0.7;
}

.todo-item.completed .todo-text {
    text-decoration: line-through;
    color: #999;
}

.todo-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6a11cb;
}

.todo-text {
    flex: 1;
    font-size: 0.95rem;
    color: #333;
    word-break: break-word;
}

.todo-delete-btn {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.todo-delete-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.1);
}

.footer {
    animation-delay: 0.5s;
}

/* Dark Theme Styles */
body.dark-theme .card {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .card-header {
    background: linear-gradient(135deg, #2d1b69 0%, #1a45b5 100%);
}

body.dark-theme .header {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .weather-info {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme .theme-toggle-btn {
    background: rgba(26, 26, 46, 0.8);
    color: #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-theme .footer {
    background: rgba(26, 26, 46, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-theme input,
body.dark-theme textarea,
body.dark-theme select {
    background: #2d1b69;
    color: #e9ecef;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme input:focus,
body.dark-theme textarea:focus,
body.dark-theme select:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

body.dark-theme .todo-item {
    background: #2d1b69;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .todo-text {
    color: #e9ecef;
}

body.dark-theme .news-item {
    background: #2d1b69;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .news-title {
    color: #e9ecef;
}

body.dark-theme .news-description {
    color: #adb5bd;
}

body.dark-theme .news-meta {
    color: #6c757d;
}

body.dark-theme .tool-container {
    background: #2d1b69;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .tool-result {
    background: #2d1b69;
    color: #e9ecef;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .footer-links a {
    color: #adb5bd;
}

body.dark-theme .footer-links a:hover {
    color: #e9ecef;
}

body.dark-theme .footer-info {
    color: #6c757d;
}

body.dark-theme .time-display {
    color: #e9ecef;
}

body.dark-theme .date-display {
    color: #adb5bd;
}

body.dark-theme .logo-subtitle {
    color: #adb5bd;
}

body.dark-theme .weather-location {
    color: #adb5bd;
}

body.dark-theme .todo-empty {
    color: #6c757d;
}

body.dark-theme .news-placeholder {
    color: #6c757d;
    background: #2d1b69;
}

/* Dark Theme for Privacy and Terms Pages */
body.dark-theme .privacy-section h2,
body.dark-theme .terms-section h2 {
    color: #e9ecef;
}

body.dark-theme .privacy h2,
body.dark-theme .Terms h1 {
    color: #e9ecef;
}

body.dark-theme .privacy p:first-of-type,
body.dark-theme .Terms p:first-of-type {
    color: #adb5bd;
}

body.dark-theme .privacy .title,
body.dark-theme .Terms .title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .privacy .title h3,
body.dark-theme .Terms .title h3 {
    color: #e9ecef;
}

body.dark-theme .privacy .title h3::before,
body.dark-theme .Terms .title h3::before {
    color: #8b5cf6;
}

body.dark-theme .privacy .title,
body.dark-theme .Terms .title {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .privacy .title:first-of-type,
body.dark-theme .Terms .title:first-of-type {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.1) 100%);
}

body.dark-theme .privacy .title h3,
body.dark-theme .Terms .title h3 {
    border-left-color: #8b5cf6;
}

body.dark-theme .privacy .title li::before,
body.dark-theme .Terms .title li::before {
    color: #8b5cf6;
}

body.dark-theme .privacy .title a,
body.dark-theme .Terms .title a {
    color: #8b5cf6;
}

body.dark-theme .privacy .title a:hover,
body.dark-theme .Terms .title a:hover {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-section,
.terms-section {
    margin-bottom: 30px;
}

.privacy-section h2,
.terms-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.privacy-section p,
.terms-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.privacy-section ul,
.terms-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-section li,
.terms-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

/* Privacy and Terms Content */
.privacy h2,
.Terms h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.privacy p:first-of-type,
.Terms p:first-of-type {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.privacy .title,
.Terms .title {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.privacy .title:first-of-type,
.Terms .title:first-of-type {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.05) 0%, rgba(37, 117, 252, 0.05) 100%);
    padding: 20px;
    border-radius: 10px;
    border-bottom: none;
}

.privacy .title:first-of-type h3,
.Terms .title:first-of-type h3 {
    border-left: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.privacy .title:first-of-type p,
.Terms .title:first-of-type p {
    margin-bottom: 8px;
}

.privacy .title:first-of-type a,
.Terms .title:first-of-type a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.privacy .title:first-of-type a:hover,
.Terms .title:first-of-type a:hover {
    background: rgba(106, 17, 203, 0.1);
    border-bottom-color: transparent;
}

.privacy .title h3,
.Terms .title h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 10px;
    border-left: 4px solid #6a11cb;
}

.privacy .title h3::before,
.Terms .title h3::before {
    content: '';
}

.privacy .title p,
.Terms .title p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.privacy .title ul,
.Terms .title ul {
    margin-left: 30px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.privacy .title li,
.Terms .title li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
}

.privacy .title li::before,
.Terms .title li::before {
    content: '•';
    color: #6a11cb;
    font-weight: bold;
    position: absolute;
    left: -20px;
    top: 0;
}

.privacy .title a,
.Terms .title a {
    color: #6a11cb;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.privacy .title a:hover,
.Terms .title a:hover {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* Gradient background animation */
.background-gradient {
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

/* Large Screen Optimization (PC) */
@media (min-width: 1200px) {
    /* More compact main content */
    .main-content {
        gap: 20px;
    }
    
    /* Compact cards */
    .card-header {
        padding: 18px;
    }
    
    .card-content {
        padding: 18px;
    }
    
    /* Compact quick access */
    .categories-grid {
        gap: 12px;
    }
    
    .category-header {
        padding: 12px;
    }
    
    .category-links {
        padding: 10px;
        gap: 6px;
    }
    
    .link-item {
        padding: 10px;
        gap: 4px;
    }
    
    /* Compact bottom modules */
    .bottom-modules {
        gap: 18px;
    }
    
    .live-data-modules {
        gap: 15px;
    }
    
    /* Compact header */
    .header {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .header-info {
        gap: 4px;
    }
    
    .header-controls {
        gap: 8px;
    }
    
    /* Compact footer */
    .footer {
        margin-top: 20px;
        padding: 18px;
    }
}

/* Responsive */