:root {
    --primary-color: #94283A;
    --primary-dark: #661826;
    --primary-light: #BF455B;
    --gold: #D4AF37;
    --gold-light: #F9DF9F;
    --gold-dark: #8C7322;
    --bg-dark: #11050A;
    --text-light: #F8F0E3;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Base overlay to create the deep crimson royal vibe */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 20%, rgba(148, 40, 58, 0.45) 0%, rgba(17, 5, 10, 1) 70%);
    z-index: -1;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hall-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--gold-light);
    opacity: 0.9;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.separator {
    height: 3px;
    width: 250px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
    box-shadow: 0 0 15px var(--gold);
}

/* Gallery / Portrait Styles */
.gallery-section {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
    perspective: 1500px;
}

.frame-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    animation: zoomIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.frame {
    padding: 35px;
    background: linear-gradient(135deg, #FFDF73 0%, #D4AF37 25%, #AA8825 50%, #D4AF37 75%, #FFDF73 100%);
    border-radius: 5px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 
                inset 0 0 30px rgba(0,0,0,0.8);
    position: relative;
    transition: transform 0.6s ease;
}

.frame::before {
    content: '';
    position: absolute;
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border: 3px solid rgba(0,0,0,0.7);
    pointer-events: none;
    z-index: 1;
}

.frame img {
    display: block;
    max-width: 100%;
    width: 550px;
    height: auto;
    box-shadow: 0 0 30px rgba(0,0,0,1);
    transition: filter 0.5s ease;
    filter: contrast(1.05) brightness(0.9) sepia(0.2);
}

.frame:hover {
    transform: translateY(-10px) rotateX(2deg);
}

.frame:hover img {
    filter: contrast(1.1) brightness(1) sepia(0.1);
}

.name-plate {
    background: linear-gradient(to bottom, #F9DF9F, #D4AF37, #8C7322);
    padding: 12px 50px;
    border-radius: 4px;
    margin-top: -25px;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.8), inset 0 2px 5px rgba(255,255,255,0.4);
    border: 2px solid #4a3809;
}

.name-plate span {
    font-family: var(--font-heading);
    color: #1a1200;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.3);
}

/* Comments Section */
.comments-section {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(102, 24, 38, 0.3);
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.7), inset 0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(12px);
    animation: fadeInUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

.comments-title {
    font-family: var(--font-heading);
    color: var(--gold-light);
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.comments-list {
    margin-bottom: 50px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dark) rgba(0,0,0,0.5);
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}
.comments-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
}
.comments-list::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 10px;
}

.comment {
    background: linear-gradient(135deg, rgba(148, 40, 58, 0.5), rgba(17, 5, 10, 0.9));
    border-left: 4px solid var(--gold);
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.comment:hover {
    transform: translateX(10px);
    box-shadow: 10px 10px 25px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, rgba(191, 69, 91, 0.4), rgba(26, 8, 13, 0.9));
    border-color: rgba(212, 175, 55, 0.3);
}

.comment-author {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.comment-time {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #B5A898;
    font-style: italic;
    font-weight: 400;
}

.comment-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.royal-input {
    background: rgba(17, 5, 10, 0.7);
    border: 1px solid var(--primary-dark);
    padding: 18px 20px;
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

.royal-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 2px 10px rgba(0,0,0,0.5);
    background: rgba(17, 5, 10, 0.9);
}

.royal-input::placeholder {
    color: rgba(248, 240, 227, 0.4);
    font-style: italic;
}

.royal-btn {
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color), var(--primary-dark));
    background-size: 200% 200%;
    color: var(--gold-light);
    border: 1px solid var(--gold-dark);
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.5s ease;
    align-self: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.royal-btn:hover {
    background-position: right center;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    border-color: var(--gold);
    color: #FFF;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hall-title { font-size: 3.5rem; }
    .subtitle { font-size: 1.4rem; }
    .frame img { width: 100%; min-width: unset; }
    .frame { padding: 20px; }
    .comments-section { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .hall-title { font-size: 2.5rem; }
    .comment-author { flex-direction: column; align-items: flex-start; gap: 5px; }
}
