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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #F5E6D3 0%, #E8D4B8 100%);
    color: #2C1810;
    overflow-x: hidden;
    min-height: 100vh;
}

/* CRT Overlay Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1000;
}

/* Animations */
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.blink {
    animation: blink 1s infinite;
}

.blink-cell {
    animation: blink 2s infinite;
}

/* Greek Meander Pattern */
.meander-border {
    border: 15px solid;
    border-image: repeating-linear-gradient(
        90deg,
        #FFD700 0px,
        #FFD700 20px,
        #800020 20px,
        #800020 40px
    ) 15;
    animation: spin 60s linear infinite;
}

.meander-line {
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        #FFD700 0px,
        #FFD700 30px,
        #800020 30px,
        #800020 60px
    );
    margin: 20px auto;
    width: 80%;
}

.meander-horizontal {
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #FFD700 0px,
        #FFD700 40px,
        #800020 40px,
        #800020 80px
    );
    margin: 20px 0;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 3px solid #FFD700;
    z-index: 900;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.sticky-nav.hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 2rem;
    color: #FFD700;
    font-weight: bold;
    text-shadow: 2px 2px #800020;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #FFD700;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #FFD700;
    background: rgba(128, 32, 32, 0.5);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #FFD700;
    color: #800020;
    transform: scale(1.1);
}

.scroll-progress {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 899;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #00FF00);
    width: 0%;
    transition: width 0.1s ease;
}

/* Hero Section with Parallax */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 20px 60px;
    border-bottom: 10px solid #FFD700;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.9) 0%,
            rgba(10, 10, 10, 0.7) 50%,
            rgba(10, 10, 10, 0.9) 100%
        );
}

.layer-1 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23FFD700" x="0" y="0" width="100" height="100" opacity="0.05"/></svg>');
    z-index: 1;
}

.layer-2 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23FFD700" stroke-width="2" opacity="0.1"/></svg>');
    z-index: 2;
}

.layer-3 {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="%23FFD700" stroke-width="2" opacity="0.1"/></svg>');
    z-index: 3;
}

/* Floating Symbols */
.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.symbol {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
}

.main-title {
    font-family: 'Georgia', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #FFD700;
    text-shadow: 
        3px 3px 0 #800020,
        -1px -1px 0 #0033CC;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 51, 204, 0.3), rgba(128, 32, 32, 0.3));
    border: 3px solid #FFD700;
    border-radius: 10px;
    animation: pulse 3s infinite;
}

.portrait-container {
    margin: 40px 0;
}

.ancient-frame {
    position: relative;
    display: inline-block;
    border: 8px solid #FFD700;
    border-radius: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #800020, #0033CC);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.ancient-frame:hover {
    transform: scale(1.05);
}

.main-portrait {
    width: 350px;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    image-rendering: pixelated;
}

.gold-ornament {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 4px solid #FFD700;
    border-radius: 20px;
    pointer-events: none;
}

.hero-marquee {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    color: #FFD700;
    background: #800020;
    padding: 10px;
    border: 2px solid #FFD700;
    margin-top: 30px;
    width: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 40px;
    text-align: center;
}

.scroll-text {
    font-size: 0.9rem;
    color: #FFD700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 2rem;
    color: #FFD700;
}

/* Section Styling */
section {
    padding: 80px 20px;
    position: relative;
    border-bottom: 5px solid #800020;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Georgia', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #800020;
    text-shadow: 2px 2px 0 #FFD700;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #E8D4B8 0%, #F5E6D3 100%);
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFD700, #800020, #FFD700);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    padding-left: 40px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
    width: 36px;
    height: 36px;
    background: #FFD700;
    border: 4px solid #800020;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
}

.timeline-content {
    background: #FFF8E7;
    padding: 25px;
    border: 3px solid #800020;
    border-radius: 10px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: #800020;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.timeline-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.star-rating {
    color: #FFD700;
    font-size: 1.2rem;
}

/* Obsession Section */
.obsession-section {
    background: linear-gradient(135deg, #E8D4B8 0%, #F5E6D3 100%);
}

.obsession-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Obsession Calculator */
.obsession-calculator {
    background: #FFF8E7;
    padding: 30px;
    border: 4px double #800020;
    border-radius: 15px;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.obsession-calculator h3 {
    text-align: center;
    color: #800020;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
}

/* Radar Chart */
.radar-chart {
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    position: relative;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border: 3px solid #800020;
    border-radius: 50%;
}

.radar-background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.radar-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.radar-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: #800020;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.radar-points {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.radar-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FFD700;
    border: 2px solid #800020;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.radar-point:hover {
    transform: scale(2);
    box-shadow: 0 0 10px #FFD700;
}

.radar-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.radar-labels span {
    position: absolute;
    font-size: 0.8rem;
    color: #800020;
    font-weight: bold;
}

.radar-labels span:nth-child(1) { top: 5%; left: 50%; transform: translateX(-50%); }
.radar-labels span:nth-child(2) { top: 35%; right: 5%; }
.radar-labels span:nth-child(3) { bottom: 15%; right: 15%; }
.radar-labels span:nth-child(4) { bottom: 15%; left: 15%; }
.radar-labels span:nth-child(5) { top: 35%; left: 5%; }

/* Progress Bars */
.obsession-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #800020;
}

.progress-bar-container {
    height: 25px;
    background: rgba(128, 32, 32, 0.2);
    border: 2px solid #800020;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    transition: width 1s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: marquee 2s linear infinite;
}

/* Newspaper Layout */
.newspaper-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Vintage Table */
.vintage-table-container {
    background: #FFF8E7;
    padding: 20px;
    border: 3px solid #800020;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.vintage-table-container:hover {
    transform: rotate(0deg) scale(1.02);
}

.retro-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
}

.retro-table th,
.retro-table td {
    border: 2px solid #800020;
    padding: 12px;
    text-align: left;
}

.retro-table th {
    background: #FFD700;
    color: #800020;
    font-weight: bold;
    font-size: 1.1rem;
}

.retro-table td {
    background: #FFF8E7;
}

.retro-table .value-cell {
    text-align: center;
    font-weight: bold;
    color: #0033CC;
}

.retro-table.small {
    font-size: 0.9rem;
}

/* Quote Box */
.quote-box {
    background: #FFF8E7;
    padding: 25px;
    border: 4px double #800020;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
    transform: rotate(1deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typewriter {
    font-family: 'Courier New', monospace;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #2C1810;
}

.signature {
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
    color: #800020;
}

/* Polaroid */
.polaroid {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
    position: relative;
    transition: transform 0.3s ease;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.polaroid.large {
    padding: 20px 20px 60px 20px;
    transform: rotate(-1deg);
}

.polaroid img {
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    filter: sepia(0.3) contrast(1.1);
}

.polaroid-text {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #2C1810;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

/* Tape corners for large polaroid */
.tape-corner {
    position: absolute;
    width: 30px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.tape-corner.top-left {
    top: -10px;
    left: -10px;
    transform: rotate(-45deg);
}

.tape-corner.top-right {
    top: -10px;
    right: -10px;
    transform: rotate(45deg);
}

.tape-corner.bottom-left {
    bottom: -10px;
    left: -10px;
    transform: rotate(45deg);
}

.tape-corner.bottom-right {
    bottom: -10px;
    right: -10px;
    transform: rotate(-45deg);
}

/* Quotes Gallery */
.quotes-gallery {
    background: linear-gradient(135deg, #0033CC 0%, #0044DD 100%);
    color: white;
}

.quotes-gallery .section-header h2 {
    color: #FFD700;
    background: rgba(128, 32, 32, 0.3);
    border-color: #FFD700;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel-btn {
    background: #FFD700;
    border: 3px solid #800020;
    color: #800020;
    padding: 15px 25px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #800020;
    color: #FFD700;
    transform: scale(1.1);
}

.quote-display {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #FFD700;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-content {
    animation: fadeInUp 0.5s ease;
}

.quote-number {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.quote-text {
    font-size: 1.5rem;
    color: #FFD700;
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
    font-style: italic;
}

.quote-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.quote-date {
    color: rgba(255, 255, 255, 0.8);
}

.quote-rating {
    color: #FFD700;
}

.quote-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.indicator {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #FFD700;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #FFD700;
    transform: scale(1.3);
}

.quote-generator {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.retro-button {
    background: #FFD700;
    border: 4px solid #800020;
    color: #800020;
    padding: 15px 30px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.retro-button:hover {
    background: #800020;
    color: #FFD700;
    transform: scale(1.05);
    box-shadow: 5px 5px 0 rgba(255, 215, 0, 0.5);
}

.generated-quote {
    min-height: 60px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFD700;
    border-radius: 10px;
    color: #FFD700;
    font-style: italic;
    font-size: 1.2rem;
    font-family: 'Georgia', serif;
}

/* International Law Section */
.international-law-section {
    background: linear-gradient(135deg, #0033CC 0%, #0044DD 100%);
    color: white;
}

.international-law-section .section-header h2 {
    color: #FFD700;
    background: rgba(128, 32, 32, 0.3);
    border-color: #FFD700;
}

.quote-wall {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
}

.quote-bubble {
    padding: 30px;
    border: 3px solid;
    border-radius: 15px;
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.quote-bubble:hover {
    transform: scale(1.05);
    z-index: 10;
}

.quote-bubble p {
    position: relative;
    z-index: 10;
}

.style1 {
    background: #FFD700;
    color: #800020;
    border-color: #800020;
    transform: rotate(-3deg);
    box-shadow: 8px 8px 0 rgba(128, 32, 32, 0.5);
}

.style2 {
    background: #800020;
    color: #FFD700;
    border-color: #FFD700;
    transform: rotate(2deg);
}

.style2 marquee {
    font-size: 1.5rem;
    color: #FFD700;
}

.style3 {
    background: white;
    color: #0033CC;
    border-color: #0033CC;
    transform: rotate(1deg);
}

.style4 {
    background: #2C1810;
    color: #00FF00;
    border-color: #00FF00;
    font-family: 'Courier New', monospace;
    transform: rotate(-2deg);
}

.pixel-text {
    text-shadow: 2px 0 #00FF00, -2px 0 #00FF00, 0 2px #00FF00, 0 -2px #00FF00;
}

/* Sticker Collection */
.sticker-collection {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #FFD700;
    border-radius: 15px;
    padding: 30px;
}

.sticker-collection h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
}

.stickers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.sticker {
    width: 60px;
    height: 60px;
    border: 3px solid #FFD700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.sticker.unlocked {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1);
}

.sticker.locked {
    background: rgba(0, 0, 0, 0.5);
    filter: grayscale(1);
    opacity: 0.5;
}

.sticker:hover {
    transform: scale(1.2);
}

.sticker-hint {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Counter Box */
.counter-box {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #FFD700;
    border-radius: 15px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.counter-box p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.counter {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: #00FF00;
    text-shadow: 0 0 10px #00FF00;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00FF00;
    border-radius: 10px;
}

/* Badge Container */
.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.retro-badge {
    position: relative;
    display: inline-block;
    border: 5px solid #FFD700;
    border-radius: 50%;
    padding: 10px;
    background: radial-gradient(circle, #800020 0%, #0033CC 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.retro-badge:hover {
    transform: scale(1.1);
}

.retro-badge img {
    width: 150px;
    height: auto;
    border-radius: 50%;
    image-rendering: pixelated;
}

.badge-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD700;
    color: #800020;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 2px solid #800020;
}

/* Family Section */
.family-section {
    background: linear-gradient(135deg, #E8D4B8 0%, #F5E6D3 100%);
}

.family-gallery {
    max-width: 1000px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Balance Scale */
.balance-scale {
    background: #FFF8E7;
    padding: 30px;
    border: 4px double #800020;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
}

.scale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.scale-icon {
    font-size: 2rem;
}

.scale-weight {
    height: 10px;
    background: linear-gradient(90deg, #FFD700, #800020);
    border-radius: 5px;
    transition: width 1s ease;
}

.scale-pivot {
    font-size: 3rem;
    animation: float 2s ease-in-out infinite;
}

/* Newspaper Page */
.newspaper-page {
    max-width: 900px;
    margin: 0 auto;
    background: #FFF8E7;
    padding: 40px;
    border: 5px double #800020;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
}

.newspaper-header {
    text-align: center;
    border-bottom: 3px solid #800020;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.newspaper-header h3 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #800020;
    margin-bottom: 10px;
}

.newspaper-header p {
    font-family: 'Courier New', monospace;
    color: #666;
    font-style: italic;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-text h4 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: #800020;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.funny-comment {
    margin-top: 20px;
    font-style: italic;
    color: #666;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
}

/* Game Section */
.game-section {
    background: linear-gradient(135deg, #4B0082 0%, #800020 100%);
    color: white;
}

.game-section .section-header h2 {
    color: #FFD700;
    background: rgba(0, 51, 204, 0.3);
    border-color: #FFD700;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid #FFD700;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.game-info h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.game-info p {
    margin-bottom: 20px;
}

.game-score {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border: 2px solid #FFD700;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 30px;
}

.game-score span {
    font-size: 1.5rem;
    font-weight: bold;
}

#wisdomPoints {
    color: #00FF00;
    font-size: 2rem;
    text-shadow: 0 0 10px #00FF00;
}

.temple-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.temple-piece {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.2);
    border: 3px solid #FFD700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.temple-piece:hover {
    transform: scale(1.2);
    background: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.temple-piece.placed {
    opacity: 0.3;
    cursor: not-allowed;
}

.temple-display {
    background: rgba(0, 0, 0, 0.3);
    border: 3px solid #800020;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.temple-placeholder {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.temple-result {
    font-size: 4rem;
    animation: fadeInUp 0.5s ease;
}

/* Footer */
.ancient-footer {
    background: linear-gradient(135deg, #800020 0%, #2C1810 100%);
    color: #FFD700;
    padding: 80px 20px;
    text-align: center;
    border-top: 10px solid #FFD700;
}

.footer-divider {
    margin-bottom: 30px;
}

.social-buttons {
    margin-bottom: 30px;
}

.social-btn {
    background: #FFD700;
    border: 4px solid #800020;
    color: #800020;
    padding: 15px 30px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.social-btn:hover {
    background: #800020;
    color: #FFD700;
    transform: scale(1.05);
}

.footer-content p {
    margin: 15px 0;
    font-size: 1.1rem;
}

.copyright {
    font-size: 0.9rem;
    color: #FFF8E7;
    margin: 20px 0;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px;
}

.retro-signature {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(255, 248, 231, 0.7);
}

.fun-facts-container {
    min-height: 30px;
    margin: 20px 0;
}

.fun-fact {
    color: #FFD700;
    font-style: italic;
    animation: fadeInUp 0.5s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .obsession-layout {
        grid-template-columns: 1fr;
    }
    
    .family-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .main-portrait {
        width: 250px;
    }
    
    .article-layout,
    .quote-wall {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .vintage-table-container,
    .quote-box,
    .polaroid {
        transform: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .timeline-container {
        padding-left: 20px;
    }
    
    .radar-chart {
        width: 250px;
        height: 250px;
    }
    
    .carousel-container {
        flex-direction: column;
    }
    
    .stickers {
        flex-wrap: wrap;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Custom Cursor */
.custom-cursor {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text x="0" y="24" font-size="24">🏛️</text></svg>'), auto;
}