/* OS 10-Sep-2025: Magical Fine Print Page */

.fine-print-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #F4ECEA 0%, #F9F6F4 50%, #F4ECEA 100%);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* Ambient Particles */
.ambient-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(58, 53, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.3s ease-out;
}

.particle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation: float 20s infinite ease-in-out;
}

.particle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 10%;
    animation: float 25s infinite ease-in-out reverse;
}

.particle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation: float 30s infinite ease-in-out;
}

.particle-4 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation: float 22s infinite ease-in-out reverse;
}

.particle-5 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: 25%;
    animation: float 28s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* Hero Section */
.fine-print-hero {
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.title-wrapper {
    position: relative;
}

.fine-print-title {
    font-family: var(--font-display, 'Georgia'), serif;
    margin-bottom: 40px;
    user-select: none;
}

.title-word {
    display: block;
    line-height: 0.85;
}

.word-1 {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #3A3532;
    margin-bottom: -10px;
}

.word-2 {
    font-size: 96px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #000000;
}

.letter {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: default;
}

.letter:hover {
    color: #8E8C8A;
}

.subtitle-wrapper {
    position: relative;
    display: inline-block;
}

.fine-print-subtitle {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #8E8C8A;
    letter-spacing: 0.08em;
    animation: fadeIn 1.5s ease-out;
}

.dragon-tooth {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238E8C8A"><path d="M12 2L2 20h20L12 2z"/></svg>') no-repeat center;
    background-size: contain;
    opacity: 0.3;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

/* Magic Grid */
.fine-print-magic {
    padding: 0 0 100px;
    position: relative;
    z-index: 10;
}

.magic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Portal Cards */
.portal-wrapper {
    position: relative;
    height: 350px;
    perspective: 1000px;
}

.portal-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(187, 184, 182, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.portal-wrapper:hover .portal-glow {
    opacity: 1;
}

.portal-card {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.portal-wrapper:hover .portal-card {
    transform: rotateY(15deg) rotateX(-5deg);
}

.portal-inner {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.portal-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portal-wrapper:hover .portal-inner::before {
    opacity: 1;
}

.portal-wrapper:hover .portal-inner {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #D9D9D9;
}

.portal-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.portal-wrapper:hover .portal-content {
    opacity: 0.05;
}

.portal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.icon-inner {
    width: 100%;
    height: 100%;
    border: 2px solid #BBB8B6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.portal-wrapper:hover .icon-inner {
    border-color: #3A3532;
    transform: scale(1.1) rotate(180deg);
}

.icon-text {
    font-size: 36px;
    color: #BBB8B6;
    font-weight: 300;
    transition: color 0.4s ease;
}

.portal-wrapper:hover .icon-text {
    color: #3A3532;
}

.portal-title {
    font-family: var(--font-display, 'Georgia'), serif;
    font-size: 36px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 8px;
    text-align: center;
}

.portal-description {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #8E8C8A;
    text-align: center;
    letter-spacing: 0.02em;
}

.portal-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.portal-wrapper:hover .portal-reveal {
    opacity: 1;
}

.reveal-text {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #3A3532;
    font-weight: 300;
}

/* Copyright Section */
.fine-print-copyright {
    padding: 60px 0 40px;
    position: relative;
    z-index: 10;
}

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

.copyright-symbol {
    font-size: 48px;
    color: #D9D9D9;
    font-weight: 100;
    margin-bottom: 20px;
    opacity: 0.4;
    animation: fadeIn 1.6s ease-out;
}

.copyright-text {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #BBB8B6;
    line-height: 1.8;
    letter-spacing: 0.02em;
    animation: fadeIn 1.8s ease-out;
}

/* Footer Section */
.fine-print-footer {
    padding: 40px 0 80px;
    position: relative;
    z-index: 10;
}

.footer-content {
    position: relative;
}

.escape-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding: 20px 60px;
    overflow: hidden;
}

.escape-text {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #8E8C8A;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.escape-link:hover .escape-text {
    color: #3A3532;
}

.escape-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(58, 53, 50, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.escape-link:hover .escape-portal {
    width: 200px;
    height: 200px;
}

/* Hidden Message */
.hidden-message {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #000000;
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.hidden-message.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden-message p {
    font-family: var(--font-manrope, 'Manrope'), sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .word-1 { font-size: 56px; }
    .word-2 { font-size: 72px; }
    
    .magic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .portal-wrapper {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .magic-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fine-print-page {
        padding-top: 80px;
    }
    
    .fine-print-hero {
        padding: 60px 0 80px;
    }
    
    .word-1 { font-size: 42px; }
    .word-2 { font-size: 56px; }
    
    .fine-print-subtitle {
        font-size: 16px;
    }
    
    .dragon-tooth {
        display: none;
    }
    
    .portal-wrapper {
        height: 300px;
    }
    
    .portal-inner {
        padding: 30px;
    }
    
    .portal-title {
        font-size: 28px;
    }
    
    .hidden-message {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
    
    .copyright-symbol {
        font-size: 36px;
    }
    
    .copyright-text {
        font-size: 12px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .word-1 { font-size: 36px; }
    .word-2 { font-size: 42px; }
    
    .particle {
        opacity: 0.5;
    }
    
    .portal-wrapper:hover .portal-card {
        transform: none;
    }
}