/* Gold Elegance Theme */
:root {
    --bg-dark: #0A0A0A;
    --bg-panel: #141414;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #A67C00;
    --cream: #FAF9F6;
    --text-muted: #A0A0A0;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--cream);
    background:
        linear-gradient(rgba(10, 10, 10, 0.62), rgba(10, 10, 10, 0.76)),
        url('assets/bg.png') center/cover fixed no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .entrance-logo, .brand, .btn-luxury {
    font-family: var(--font-heading);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Entrance Overlay */
.entrance-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.8)),
        url('assets/bg.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 2s ease, transform 2s ease;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 50px 160px, rgba(212,175,55,0.5), rgba(0,0,0,0)),
                      radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
                      radial-gradient(1.5px 1.5px at 130px 80px, rgba(212,175,55,0.7), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.3;
    animation: slowDrift 100s linear infinite;
}

@keyframes slowDrift {
    0% { background-position: 0 0; }
    100% { background-position: -200px 200px; }
}

.crescent-moon-reveal {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
}

.moon-shape {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: inset -15px 0px 0 0 var(--gold);
    opacity: 0;
    transform: rotate(20deg) scale(0.8);
    transition: opacity 2s ease, transform 2s ease;
}

.moon-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 60px 10px rgba(212,175,55,0);
    transition: box-shadow 2s ease;
}

.entrance-content {
    text-align: center;
    z-index: 2;
}

.entrance-logo {
    color: var(--gold);
    font-size: 2.5rem;
    letter-spacing: 4px;
    opacity: 0;
    transition: opacity 1.5s ease 1s;
}

.entrance-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 1.5s ease 1.5s;
}

.entrance-logo-img {
    height: 60px;
    margin-bottom: 20px;
    opacity: 0;
    transition: opacity 1.5s ease 0.5s;
}

.enter-btn {
    margin-top: 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 35px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s ease, opacity 1.5s ease 2s;
    position: relative;
    overflow: hidden;
}

.enter-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
    transition: left 0.5s ease;
}

.enter-btn:hover::before {
    left: 100%;
}
.enter-btn:hover {
    background: rgba(212,175,55,0.1);
    box-shadow: 0 0 15px rgba(212,175,55,0.3);
}

.hidden {
    display: none;
    opacity: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, var(--bg-panel) 0%, var(--bg-dark) 80%);
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><path d="M20 0l20 20-20 20L0 20z" stroke="rgba(212,175,55,0.05)" fill="none" fill-rule="evenodd"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.brand {
    margin-bottom: 40px;
}

.brand h2 {
    font-size: 1rem;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
}

.brand-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 15px auto 0;
}

.raya-headline {
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--cream);
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.raya-subheadline {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 300;
    letter-spacing: 2px;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s ease forwards;
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.mouse {
    width: 26px; height: 40px;
    border: 1px solid var(--gold);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 2px; height: 6px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Premium Message Section */
.message-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.message-box {
    position: relative;
    padding: 80px 60px;
    text-align: center;
    background: var(--bg-panel);
    border: 1px solid rgba(212,175,55,0.1);
}

.corner {
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid var(--gold);
}
.top-left { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.top-right { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.bottom-right { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.message-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.greeting-text {
    font-size: 1.4rem;
    color: var(--cream);
    font-family: var(--font-heading);
    line-height: 1.8;
    margin-bottom: 10px;
}

.divider-elegant {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 40px auto;
}

.appreciation-text {
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.8;
    font-size: 1.05rem;
}

.signature {
    margin-top: 50px;
}
.signature p {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gold);
    margin-bottom: 5px;
}
.signature h4 {
    letter-spacing: 2px;
    color: var(--cream);
}

/* Values Section */
.values-section {
    padding: 80px 0 120px;
    background: var(--bg-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-item {
    padding: 30px;
}

.icon-ring {
    width: 70px; height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.4s ease;
}

.value-item:hover .icon-ring {
    background: rgba(212,175,55,0.1);
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
    transform: scale(1.05);
}

.value-item h4 {
    color: var(--gold-light);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Response Section */
.response-section {
    padding: 0 0 100px;
}

.gold-border-box {
    border: 1px solid var(--gold-dark);
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
}

.gold-border-box h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.gold-border-box p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-luxury {
    background: var(--gold);
    color: var(--bg-dark);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-luxury:hover {
    background: var(--gold-light);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

.contact-form-container {
    display: none;
    margin-top: 40px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeForm 0.5s ease;
}

@keyframes fadeForm {
    from { opacity: 0; }
    to { opacity: 1; }
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: var(--gold-light);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 12px 15px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.form-status {
    margin-top: 16px;
    color: var(--text-muted);
}

.form-status.is-error {
    color: #ff9b9b;
}

.form-status.is-success {
    color: #b7efc5;
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.btn-text:hover { color: var(--cream); }

/* Footer */
.luxury-footer {
    border-top: 1px solid rgba(212,175,55,0.1);
    padding: 60px 0 30px;
    background: #050505;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.brand-text {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-social a {
    color: var(--gold);
    margin-left: 20px;
    font-size: 1.2rem;
    transition: transform 0.3s, filter 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px var(--gold));
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .message-box { padding: 40px 20px; }
    .footer-grid { flex-direction: column; text-align: center; }
    .footer-links { flex-direction: column; gap: 15px; }
}
