/* ============================================
   ASTROLOGY WEBSITE - MAIN STYLESHEET
   ============================================ */

/* CSS RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #4A148C;
    --primary-dark: #311B92;
    --primary-light: #7B1FA2;
    --secondary: #FFB300;
    --secondary-dark: #FF8F00;
    --gold: #FFD700;
    --bg-light: #FFF9F0;
    --bg-white: #FFFFFF;
    --text-dark: #212121;
    --text-gray: #757575;
    --text-light: #9E9E9E;
    --border-color: #E0E0E0;
    --success: #4CAF50;
    --error: #F44336;
    --warning: #FF9800;
    --online: #4CAF50;
    --offline: #9E9E9E;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-md: rgba(0, 0, 0, 0.15);
    --shadow-lg: rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: Georgia, "Times New Roman", serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    font-family: var(--font-heading);
}

.logo-icon {
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    background: var(--primary);
    color: var(--bg-white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--secondary));
    color: var(--text-dark);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid var(--bg-white);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--bg-white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h1 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* Card */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px var(--shadow-md);
    transform: translateY(-4px);
}

.card-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: var(--spacing-md);
}

.card-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

/* Astrologer Card */
.astrologer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.astrologer-scroll {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    scroll-snap-type: x mandatory;
}

.astrologer-scroll::-webkit-scrollbar {
    height: 8px;
}

.astrologer-scroll::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

.astrologer-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-sm);
}

.astrologer-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px var(--shadow);
    padding: var(--spacing-md);
    transition: var(--transition);
    position: relative;
    min-width: 280px;
    scroll-snap-align: start;
}

.astrologer-card:hover {
    box-shadow: 0 8px 24px var(--shadow-md);
    transform: translateY(-4px);
}

.astrologer-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.astrologer-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.astrologer-info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.astrologer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.astrologer-status.online {
    background: rgba(76, 175, 80, 0.1);
    color: var(--online);
}

.astrologer-status.offline {
    background: rgba(158, 158, 158, 0.1);
    color: var(--offline);
}

.astrologer-status::before {
    content: "●";
    font-size: 1rem;
}

.astrologer-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.skill-tag {
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

.astrologer-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-gray);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary);
    font-weight: 600;
}

.rating::before {
    content: "⭐";
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.astrologer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
}

/* Horoscope Card */
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--spacing-md);
}

.horoscope-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.horoscope-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.horoscope-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.horoscope-card h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.horoscope-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--text-gray);
    margin: 0;
}

/* Filter Section */
.filter-section {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 8px var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    align-items: end;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

select.form-control {
    cursor: pointer;
    background: var(--bg-white);
}

/* Tabs */
.tabs {
    display: flex;
    gap: var(--spacing-xs);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
}

.tab {
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Chat Interface */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-md);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--primary);
    color: var(--bg-white);
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.chat-info h3 {
    color: var(--bg-white);
    margin: 0;
}

.chat-timer {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.125rem;
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    background: #E8DFF5;
}

.message {
    display: flex;
    margin-bottom: var(--spacing-md);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    word-wrap: break-word;
}

.message.astrologer .message-bubble {
    background: var(--bg-white);
    border-bottom-left-radius: 0;
}

.message.user .message-bubble {
    background: var(--primary);
    color: var(--bg-white);
    border-bottom-right-radius: 0;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: var(--spacing-sm);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-input-area {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.chat-input {
    flex: 1;
}

/* Call Interface */
.call-container {
    max-width: 500px;
    margin: var(--spacing-xl) auto;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px var(--shadow-lg);
}

.call-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-md);
    border: 5px solid var(--secondary);
}

.call-container h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
}

.call-status {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.call-timer {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.call-controls {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.call-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.call-btn-mute {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

.call-btn-mute:hover {
    background: rgba(255, 255, 255, 0.3);
}

.call-btn-end {
    background: var(--error);
    color: var(--bg-white);
}

.call-btn-end:hover {
    background: #D32F2F;
    transform: scale(1.1);
}

/* Wallet */
.wallet-balance {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.wallet-balance h2 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-xs);
}

.balance-amount {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.transaction-list {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.transaction-date {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.125rem;
}

.transaction-amount.credit {
    color: var(--success);
}

.transaction-amount.debit {
    color: var(--error);
}

/* Profile Page */
.profile-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--bg-white);
    padding: var(--spacing-xl) 0;
}

.profile-header {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-full);
    border: 5px solid var(--secondary);
    object-fit: cover;
}

.profile-details h1 {
    color: var(--bg-white);
    margin-bottom: var(--spacing-sm);
}

.profile-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.info-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.info-value {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Reviews */
.review-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.review-item {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.review-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--bg-white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray { color: var(--text-gray); }

.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }

.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-gray);
}

.empty-state-icon {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: var(--spacing-md);
}

.error-message {
    background: #FFEBEE;
    color: var(--error);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--error);
    margin-bottom: var(--spacing-md);
}

.success-message {
    background: #E8F5E9;
    color: var(--success);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--success);
    margin-bottom: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 8px var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .astrologer-grid {
        grid-template-columns: 1fr;
    }
    
    .horoscope-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .chat-container {
        height: calc(100vh - 100px);
        border-radius: 0;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .astrologer-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .call-container {
        padding: var(--spacing-md);
    }
    
    .call-timer {
        font-size: 2rem;
    }
    
    .balance-amount {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .footer,
    .btn,
    .chat-input-area,
    .call-controls {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}
