/* Ravya AI Lab - isolated stylesheet. Does not affect any existing Ravrek Orbit styles. */

.ravya-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0b0b14;
    color: #f2f2f7;
    min-height: 100vh;
    overflow-x: hidden;
}

.ravya-bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 10%, rgba(139, 92, 246, 0.28), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.18), transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.18), transparent 50%);
}

.ravya-header {
    position: relative;
    z-index: 1;
    padding: 18px 24px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ravya-header-inner {
    width: 100%;
    max-width: 1000px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ravya-brand {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.ravya-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e9d5ff;
}

.ravya-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    /* Site header (.site-header) is position:fixed with ~84px min-height; push content
       below it so the hero heading is never clipped behind the navbar. */
    padding: 140px 20px 60px;
}

@media (max-width: 768px) {
    .ravya-container {
        padding-top: 120px;
    }
}

.ravya-hero {
    text-align: center;
    margin-bottom: 32px;
}

.ravya-hero h1 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
}

.ravya-gradient {
    background: linear-gradient(135deg, #a78bfa, #f472b6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ravya-gradient-text {
    background: linear-gradient(135deg, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.ravya-subtitle {
    color: #b8b8c8;
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

.ravya-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ravya-usage-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9d5ff;
    margin-bottom: 20px;
}

.ravya-panel {
    animation: ravyaFadeIn 0.35s ease;
}

@keyframes ravyaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ravya-dropzone {
    border: 2px dashed rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: border-color 0.2s, background 0.2s;
    background: rgba(255, 255, 255, 0.015);
}

.ravya-dropzone.ravya-drag-over {
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.08);
}

.ravya-dropzone-empty {
    text-align: center;
    color: #cfcfe0;
}

.ravya-dropzone-empty i {
    font-size: 40px;
    color: #a78bfa;
    margin-bottom: 10px;
}

.ravya-muted {
    color: #8a8aa0;
    font-size: 13px;
    margin: 8px 0;
}

.ravya-hint {
    color: #6f6f88;
    font-size: 12px;
    margin-top: 10px;
}

.ravya-preview-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.ravya-preview-wrap img {
    width: 100%;
    border-radius: 14px;
    display: block;
    max-height: 400px;
    object-fit: contain;
    background: #000;
}

.ravya-remove-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #1c1c2b;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ravya-style-select {
    margin-top: 24px;
}

.ravya-style-label {
    display: block;
    font-size: 13px;
    color: #9a9ab0;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ravya-style-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.ravya-style-option i:first-child {
    font-size: 20px;
    color: #a78bfa;
    width: 24px;
    text-align: center;
}

.ravya-style-name {
    font-weight: 600;
    font-size: 15px;
}

.ravya-style-desc {
    font-size: 12.5px;
    color: #8a8aa0;
}

.ravya-style-active {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(139, 92, 246, 0.1);
}

.ravya-style-check {
    margin-left: auto;
    color: #a78bfa;
}

.ravya-style-soon {
    opacity: 0.5;
}

.ravya-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 22px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    text-decoration: none;
}

.ravya-btn:active {
    transform: scale(0.98);
}

.ravya-btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #fff;
    width: 100%;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35);
}

.ravya-btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.ravya-btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ravya-generate-btn {
    margin-top: 22px;
}

.ravya-error {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fecaca;
    font-size: 14px;
}

.ravya-loading-panel {
    text-align: center;
    padding: 60px 20px;
}

.ravya-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #a78bfa;
    animation: ravyaSpin 0.9s linear infinite;
}

@keyframes ravyaSpin {
    to { transform: rotate(360deg); }
}

.ravya-loading-text {
    font-size: 16px;
    font-weight: 600;
}

.ravya-result-image-wrap img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.ravya-result-actions {
    display: flex;
    gap: 12px;
    max-width: 420px;
    margin: 20px auto 0;
    flex-wrap: wrap;
}

.ravya-result-actions .ravya-btn {
    flex: 1;
    min-width: 160px;
}

.ravya-share-block, .ravya-viral-block {
    max-width: 420px;
    margin: 26px auto 0;
    text-align: center;
}

.ravya-share-block h3 {
    font-size: 16px;
    margin-bottom: 14px;
}

.ravya-viral-block {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #d8d8e6;
    font-size: 14.5px;
}

.ravya-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
}

.ravya-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.ravya-share-linkedin:hover { border-color: #0a66c2; }
.ravya-share-instagram:hover { border-color: #d62976; }
.ravya-share-whatsapp:hover { border-color: #25d366; }

.ravya-unlock-card {
    margin-top: 24px;
    padding: 24px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ravya-unlock-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.ravya-unlock-card p {
    color: #cfcfe0;
    margin: 0 0 6px;
}

.ravya-footer {
    text-align: center;
    color: #6f6f88;
    font-size: 12.5px;
    margin-top: 40px;
}

@media (max-width: 640px) {
    .ravya-hero-br { display: none; }
    .ravya-card { padding: 18px; border-radius: 18px; }
    .ravya-dropzone { min-height: 220px; padding: 16px; }
    .ravya-result-actions { flex-direction: column; }
}
