/* ==========================================
   ONE EIGHT - ADDITIONAL STYLES
   Auth Pages, Dashboard, Blog Extensions
   ========================================== */

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    background: transparent;
    /* Inherit body gradient */
}

.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.auth-brand {
    text-align: center;
    position: relative;
    z-index: 1;
}

.auth-brand h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-top: 1rem;
}

.auth-brand p {
    color: var(--gray-medium);
    margin-top: 0.5rem;
}

.auth-quote {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.auth-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--gold-primary);
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--black-rich);
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 2rem;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--black-lighter);
    border: 1px solid var(--gray-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.phone-prefix {
    padding: 1rem;
    background: var(--black-soft);
    color: var(--gold-primary);
    font-weight: 600;
    border-right: 1px solid var(--gray-dark);
}

.phone-input-wrapper .form-input {
    border: none;
    border-radius: 0;
}

.otp-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-dark);
}

.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--black-lighter);
    border: 2px solid var(--gray-dark);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-fast);
}

.otp-input:focus {
    border-color: var(--gold-primary);
    outline: none;
}

.otp-timer {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.otp-timer a {
    color: var(--gold-primary);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-dark);
}

.auth-divider span {
    color: var(--gray-medium);
    font-size: 0.85rem;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    color: var(--black-deep);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-google:hover {
    background: var(--white-off);
    transform: translateY(-2px);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-medium);
}

.auth-footer a {
    color: var(--gold-primary);
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.back-home:hover {
    color: var(--gold-primary);
}

.auth-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== DASHBOARD ===== */
.dashboard-page {
    display: flex;
    min-height: 100vh;
    background: transparent;
    /* Inherit body gradient */
}

.dashboard-sidebar {
    width: 260px;
    background: var(--black-rich);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-dark);
    margin-bottom: 1.5rem;
}

.sidebar-brand span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold-primary);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background: var(--black-lighter);
    color: var(--gold-primary);
}

.sidebar-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-dark);
    margin-top: 1rem;
}

.sidebar-link.logout {
    color: #dc3545;
}

.sidebar-link.logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--black-rich);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.dashboard-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--black-lighter);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    width: 300px;
}

.dashboard-search i {
    color: var(--gray-medium);
}

.dashboard-search input {
    background: none;
    border: none;
    color: var(--white);
    width: 100%;
    outline: none;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.notification-badge {
    position: relative;
    color: var(--gray-light);
    cursor: pointer;
}

.notification-badge span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold-primary);
    color: var(--black-deep);
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}

.dashboard-content {
    padding: 2rem;
}

.dashboard-section {
    margin-bottom: 2rem;
}

.dashboard-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-dark);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.dashboard-card {
    background: var(--black-soft);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.dashboard-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card .card-icon i {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.dashboard-card .card-info h3 {
    font-size: 2rem;
    color: var(--gold-primary);
}

.dashboard-card .card-info p {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.placeholder-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--black-soft);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-dark);
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.placeholder-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.settings-form {
    max-width: 500px;
    background: var(--black-soft);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

/* ===== BLOG EXTENSIONS ===== */
.blog-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--black-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-category {
    display: inline-block;
    background: var(--gold-primary);
    color: var(--black-deep);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-medium);
    margin: 0.5rem 0;
}

.btn-link {
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: 1rem;
}

.btn-link:hover {
    gap: 0.75rem;
}

.blog-post-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
}

.blog-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4rem 0;
    background: linear-gradient(transparent, var(--black-deep));
}

.blog-post-hero h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin-top: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.blog-post-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--gold-primary);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-cta {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3rem 0;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.blog-cta h3 {
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.blog-cta p {
    margin-bottom: 1.5rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
    max-width: 800px;
    margin: 0 auto;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-soft);
    border-radius: 50%;
    color: var(--gray-light);
    transition: all var(--transition-fast);
}

.share-btn:hover {
    background: var(--gold-primary);
    color: var(--black-deep);
}

.blog-navigation {
    max-width: 800px;
    margin: 2rem auto;
}

/* ===== ADDITIONAL COMPONENTS ===== */
.brand-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.gift-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.gift-icon i {
    font-size: 1.25rem;
    color: var(--gold-primary);
}

.service-card-horizontal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card-icon i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.service-card-content h4 {
    margin-bottom: 0.5rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.feature-item h5 {
    color: var(--black-deep);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--black-soft);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform var(--transition-normal);
    border-left: 4px solid var(--gold-primary);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #28a745;
}

.notification-error {
    border-left-color: #dc3545;
}

.notification-close {
    background: none;
    border: none;
    color: var(--gray-medium);
    cursor: pointer;
    font-size: 1.25rem;
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse>* {
    direction: ltr;
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-icon-lg {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-lg i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-light);
}

.service-features i {
    color: var(--gold-primary);
}

/* Gifting Intro */
.gifting-intro,
.printing-preview,
.gifting-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gifting-intro-image img,
.printing-preview-image img,
.gifting-preview-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.gift-features,
.print-features {
    list-style: none;
    margin: 1.5rem 0;
}

.gift-features li,
.print-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.gift-features i,
.print-features i {
    color: var(--gold-primary);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-dark);
    border-bottom: 1px solid var(--gray-dark);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-medium);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: var(--gold-primary);
}

.contact-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--gray-medium);
    text-align: center;
    margin-top: 1rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Founder */
.founder-section {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.founder-image {
    position: relative;
}

.founder-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.founder-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-badge i {
    font-size: 1.5rem;
    color: var(--black-deep);
}

.founder-title {
    color: var(--gold-primary);
    font-style: italic;
    margin-bottom: 1rem;
}

.founder-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.founder-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-lighter);
    border-radius: 50%;
    color: var(--gold-primary);
}

.founder-social a:hover {
    background: var(--gold-primary);
    color: var(--black-deep);
}

/* Team Card */
.team-card {
    text-align: center;
    overflow: hidden;
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    padding: 1.5rem;
}

.team-content h4 {
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--gold-primary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.team-content p {
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-svg {
    width: 100px;
    height: 100px;
}

.loader-text {
    margin-top: 1rem;
    color: var(--gold-primary);
    font-family: var(--font-serif);
}

/* Responsive */
@media (max-width: 992px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        flex: 1;
    }

    .dashboard-sidebar {
        position: fixed;
        left: -260px;
        z-index: 1000;
        transition: left var(--transition-normal);
    }

    .dashboard-sidebar.open {
        left: 0;
    }

    .dashboard-main {
        margin-left: 0;
    }

    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail,
    .service-detail.reverse,
    .gifting-intro,
    .printing-preview,
    .gifting-preview,
    .about-grid,
    .contact-grid,
    .founder-section,
    .contact-cta,
    .blog-featured {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .service-detail.reverse>* {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .otp-input {
        width: 40px;
        height: 50px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-cta-buttons {
        flex-direction: column;
    }
}

/* ===== NEW PAGE LOADER - TEXT-BASED ANIMATION ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.loader-letter {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 600;
    color: transparent;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: letterReveal 0.6s ease forwards;
    display: inline-block;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.loader-letter.loader-space {
    width: 0.5em;
}

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }

    50% {
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.loader-tagline {
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gray-medium);
    opacity: 0;
    margin-top: 0.5rem;
    animation: taglineReveal 0.8s ease 1s forwards;
}

@keyframes taglineReveal {
    0% {
        opacity: 0;
        letter-spacing: 8px;
    }

    100% {
        opacity: 1;
        letter-spacing: 4px;
    }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    margin: 2rem auto 0;
    border-radius: 1px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease 1.2s forwards;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    animation: progressFill 1.5s ease 1.3s forwards;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive loader */
@media (max-width: 480px) {
    .loader-letter {
        font-size: 2.5rem;
    }

    .loader-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

/* Loader Quote - replacing progress bar */
.loader-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-primary);
    opacity: 0;
    margin-top: 1.5rem;
    animation: quoteReveal 1s ease 1.2s forwards;
}

@keyframes quoteReveal {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER LOGO TWO-LINE STYLE ===== */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.logo-subtitle {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-light);
}

/* ===== FOOTER LOGO TEXT ===== */
.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 0.75rem;
}

/* Responsive header logo */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}