
.section {
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .section {
        
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-md);
        
        padding-top: 80px;
        
        padding-bottom: 60px;
        overflow: hidden;
        will-change: transform;
        
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        box-sizing: border-box;
    }
    
    
    .section-1 {
        padding-top: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    
    .section-2,
    .section-3,
    .section-4,
    .section-5 {
        align-items: center;
        justify-content: center;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    
    .section-content {
        width: 100%;
        max-width: 100%;
        padding: var(--spacing-sm);
        padding-top: 20px;
        padding-bottom: 20px;
        min-height: auto;
        
        -webkit-overflow-scrolling: touch;
        transform: translateZ(0);
        backface-visibility: hidden;
        box-sizing: border-box;
    }
    
    
    .section-2 .section-content,
    .section-3 .section-content,
    .section-4 .section-content,
    .section-5 .section-content {
        
        height: calc(100vh - 140px);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        
        overscroll-behavior-y: auto;
        touch-action: pan-y;
        scroll-behavior: smooth;
        
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        pointer-events: auto;
    }
    
    
    @media (max-width: 768px) {
        .section-2 .section-content,
        .section-3 .section-content,
        .section-4 .section-content,
        .section-5 .section-content {
            
            height: calc(100vh - 140px);
            max-height: calc(100vh - 140px);
            overflow-y: auto;
            
            overscroll-behavior-y: auto;
        }
    }
    
    
    .section-2 .section-content {
        overscroll-behavior-y: contain;
        height: auto;
        min-height: 0;
        max-height: calc(100vh - 140px);
    }
    
    
    .scroll-container.scrolling .section-content {
        overflow-y: hidden;
        pointer-events: none;
        will-change: transform;
        transform: translateZ(0);
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: auto !important;
    }
}

.section-content {
    max-width: calc(100% - 60px);
    width: 100%;
    text-align: center;
    opacity: 1;
    padding: 0 60px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .section-content {
        opacity: 0;
        transform: scale(0.95) translateY(-5px);
        transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    }
    
    .section.active .section-content {
        opacity: 1;
        transform: scale(1) translateY(0);
        transition-delay: 0.1s;
    }
    
    
    
    .section-1.active.section-initialized .section-content {
        opacity: 1 !important;
        transform: scale(1) translateY(0) !important;
        visibility: visible !important;
    }
    
    
    .section-1.active:not(.section-initialized) .section-content {
        opacity: 1;
        transform: scale(1) translateY(0);
        transition-delay: 0.1s;
    }
}

.section-1 .title {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 0.96;
    margin: -0.2em auto;
    padding: 0.2em 0;
    letter-spacing: 0.2em;
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: block;
    width: fit-content;
    max-width: 100%;
    text-align: center;
}

.section-1 .title.access-granted-visible {
    opacity: 1 !important;
    visibility: visible !important;
    
}

@keyframes access-granted-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.section-1 .title.welcome-transition-out {
    animation: welcome-glitch-out 0.28s var(--ease) forwards;
}

.section-1 .title.welcome-transition-in {
    opacity: 0;
    animation: welcome-glitch-in 0.38s var(--ease) forwards;
}

.section-1 .title.welcome-done {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1);
    filter: brightness(1) contrast(1) hue-rotate(0deg);
    text-shadow: 0 0 12px rgba(232, 182, 120, 0.3);
}

@keyframes welcome-glitch-out {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
        filter: brightness(1) contrast(1) hue-rotate(0deg);
        text-shadow: 0 0 10px rgba(232, 182, 120, 0.3);
    }
    15% {
        transform: translateX(-3px) translateY(1px) scale(1.02);
        filter: brightness(1.2) contrast(1.2) hue-rotate(8deg);
        text-shadow: -2px 0 0 rgba(232, 182, 120, 0.5), 2px 0 0 rgba(180, 140, 90, 0.3);
    }
    30% {
        transform: translateX(3px) translateY(-1px) scale(0.98);
        filter: brightness(0.9) contrast(1.3) hue-rotate(-6deg);
        text-shadow: 2px 0 0 rgba(232, 182, 120, 0.4), -2px 0 0 rgba(180, 140, 90, 0.2);
    }
    45% {
        transform: translateX(-2px) translateY(0) scale(1.01);
        filter: brightness(1.1) contrast(1.15) hue-rotate(4deg);
    }
    60% {
        transform: translateX(2px) translateY(0) scale(0.99);
        filter: brightness(0.95) contrast(1.2) hue-rotate(-3deg);
    }
    80% {
        opacity: 0.4;
        transform: translateX(0) translateY(4px) scale(0.97);
        filter: blur(2px) brightness(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(8px) scale(0.95);
        filter: blur(4px) brightness(0.5);
    }
}

@keyframes welcome-glitch-in {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0.98);
        filter: blur(4px) brightness(0.5);
        text-shadow: none;
    }
    20% {
        opacity: 0.3;
        transform: translateX(-2px) scale(0.99);
        filter: blur(2px) brightness(0.7) hue-rotate(-5deg);
        text-shadow: -1px 0 0 rgba(232, 182, 120, 0.4);
    }
    40% {
        opacity: 0.6;
        transform: translateX(2px) scale(1);
        filter: blur(1px) brightness(0.9) hue-rotate(5deg);
        text-shadow: 1px 0 0 rgba(232, 182, 120, 0.3);
    }
    55% {
        opacity: 0.9;
        transform: translateX(0) scale(1);
        filter: blur(0) brightness(1.02) hue-rotate(0deg);
    }
    70%, 80%, 90%, 100% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        filter: brightness(1) contrast(1) hue-rotate(0deg);
        text-shadow: 0 0 12px rgba(232, 182, 120, 0.3);
    }
}

.section-1 .subtitle {
    color: #dbdbdb64;
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin: var(--spacing-sm) auto 0;
    letter-spacing: 0.2em;
    display: block; 
    width: fit-content;
    max-width: 100%;
    text-align: center;
    clear: both;
}

.section-1 .subtitle:not(.access-granted-visible) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.section-1 .subtitle.access-granted-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease-out;
}

@keyframes subtitle-appear {
    0% {
        opacity: 0;
        transform: translateY(15px);
        filter: blur(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.section-2 .main-title {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-top: var(--spacing-xl); 
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.2em;
    vertical-align: middle;
    width: 100%;
}

.section-2 .main-subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--color-secondary);
    letter-spacing: 0.3em;
    word-spacing: 0.8em;
    margin-bottom: 50px;
    padding-bottom: 18px;
    position: relative;
}

.section-2 .main-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 1px;
    background: rgba(232, 182, 120, 0.2);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: linear-gradient(135deg, rgba(38, 42, 44, 0.7), rgba(38, 42, 44, 0.4));
    border: 1px solid rgba(232, 182, 120, 0.25);
    border-top-color: rgba(232, 182, 120, 0.4);
    border-radius: 2px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal) var(--ease);
    backdrop-filter: blur(12px);
    min-height: 160px;
    box-shadow:
        0 0 30px rgba(232, 182, 120, 0.04),
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(232, 182, 120, 0.06);
    cursor: pointer;
}

@keyframes skill-card-shake {
    0%, 100% { transform: translate(0, 0); }
    15% { transform: translate(-2px, -1px); }
    30% { transform: translate(2px, 1px); }
    45% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, 0); }
    90% { transform: translate(1px, 0); }
}

.skill-card.skill-card-shake {
    animation: skill-card-shake 0.35s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 182, 120, 0.45);
    border-top-color: var(--color-primary);
    background: linear-gradient(180deg, rgba(232, 182, 120, 0.08) 0%, transparent 6px),
        linear-gradient(135deg, rgba(38, 42, 44, 0.75), rgba(38, 42, 44, 0.5));
    box-shadow:
        0 0 40px rgba(232, 182, 120, 0.08),
        0 12px 30px rgba(232, 182, 120, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(232, 182, 120, 0.12);
}

@keyframes pulse-cubes-hud {
    0%, 100% { filter: drop-shadow(0 0 1px rgba(232, 182, 120, 0.3)); }
    50% { filter: drop-shadow(0 0 4px rgba(232, 182, 120, 0.5)); }
}

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

.skill-name {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 14px;
    margin-top: 4px;
    letter-spacing: 0.08em;
    vertical-align: middle;
    color: var(--color-primary);
    font-family: var(--font-main);
}

.skill-type {
    background: rgba(232, 182, 120, 0.08);
    border: 1px solid rgba(232, 182, 120, 0.25);
    border-radius: 2px;
    padding: 8px 14px;
    font-family: 'Lulo', var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    display: inline-block;
    vertical-align: middle;
    margin-top: 6px;
    color: var(--color-tag);
    transition: all var(--transition-fast) ease;
    position: relative;
}

.skill-type::before,
.skill-type::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-style: solid;
    border-color: var(--color-primary);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity var(--transition-fast) ease;
}

.skill-type::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.skill-type::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.skill-card:hover .skill-type {
    background: rgba(232, 182, 120, 0.12);
    border-color: rgba(232, 182, 120, 0.35);
    color: var(--color-primary);
}

.skill-card:hover .skill-type::before,
.skill-card:hover .skill-type::after {
    opacity: 0.9;
}

.section-3 {
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
}

.section-3 .section-content {
    max-width: 1000px;
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-lg);
    padding-bottom: calc(var(--spacing-xl) + 100px);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(105vh - 140px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.section-3 .section-content::-webkit-scrollbar {
    display: none;
    width: 0;
}

@media (min-width: 769px) {
    .section-3 .section-content,
    .section-4 .section-content {
        mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.08) 10px,
            rgba(0, 0, 0, 0.22) 26px,
            black 42px,
            black calc(100% - 55px),
            rgba(0, 0, 0, 0.22) calc(100% - 35px),
            transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.08) 10px,
            rgba(0, 0, 0, 0.22) 26px,
            black 42px,
            black calc(100% - 55px),
            rgba(0, 0, 0, 0.22) calc(100% - 35px),
            transparent 100%);
    }
}

.about-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 0px;
    border-bottom: 1px solid rgba(232, 182, 120, 0.2);
}

.about-title {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 18px;
    animation: title-glow 3s ease-in-out infinite alternate;
    width: 100%;
    vertical-align: middle;
}

@keyframes title-glow {
    0% { text-shadow: 0 0 5px rgba(232, 182, 120, 0.3); }
    100% { text-shadow: 0 0 20px rgba(232, 182, 120, 0.5); }
}

.about-subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--color-secondary);
    letter-spacing: 0.3em;
    word-spacing: 0.8em;
    vertical-align: middle;
    opacity: 0.7;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 18px;
    padding-bottom: 18px;
    padding-right: 16px;
    width: 100%;
}

.expedient-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

article {
    background-color: rgba(232, 182, 120, 0.08);
}

.expedient-entry {
    background: linear-gradient(135deg, rgba(38, 42, 44, 0.7), rgba(38, 42, 44, 0.4));
    border: 1px solid rgba(232, 182, 120, 0.25);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s ease;
    
    content-visibility: auto;
    contain-intrinsic-size: auto 450px;
}

.expedient-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expedient-entry:hover {
    border-color: rgba(232, 182, 120, 0.4);
    box-shadow: 0 5px 25px rgba(232, 182, 120, 0.1);
}

.expedient-entry:hover::before {
    opacity: 1;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(232, 182, 120, 0.15);
}

.entry-id {
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    color: var(--color-title);
    letter-spacing: 0.5em;
    opacity: 0.8;
}

.entry-label {
    font-size: clamp(0.8rem, 1.3vw, 1.125rem);
    color: var(--color-title);
    letter-spacing: 0.15em;
    vertical-align: middle;
}

.entry-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.entry-grid:has(.photo-frame.panoramic) {
    grid-template-columns: 200px 1fr;
}

.entry-grid.inverted {
    grid-template-columns: 140px 1fr;
}

.entry-photo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    justify-content: flex-start;
    text-align: center; 
    order: 2; 
}

.entry-data {
    order: 1; 
}

.entry-grid.inverted .entry-photo {
    align-items: flex-start;
    order: 1;
}

.entry-grid.inverted .entry-photo .photo-caption {
    text-align: left;
}

.entry-grid.inverted .entry-data {
    order: 2;
}

.photo-frame {
    width: 140px;
    height: 180px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(232, 182, 120, 0.4);
    background: rgba(10, 14, 20, 0.5);
    will-change: transform;
    transform: translateZ(0); 
}

.photo-frame.panoramic {
    width: 256px;
    height: 150px;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.3s ease, transform 0.3s ease;
    position: relative;
    left: auto;
    background-color: transparent;
    overflow: hidden;
    will-change: filter, transform;
    transform: translateZ(0); 
    backface-visibility: hidden; 
}

.photo-frame.panoramic img {
    object-position: center center; 
}

.photo-frame:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: translateZ(0) scale(1.05); 
}

.photo-frame::before,
.photo-frame::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-style: solid;
    border-color: var(--color-primary);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}

.photo-frame::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.photo-frame::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.photo-frame:hover::before,
.photo-frame:hover::after {
    opacity: 1;
}

.photo-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    opacity: 0.4;
}

.photo-caption {
    font-size: 0.65rem;
    color: var(--color-secondary);
    letter-spacing: 0.5em;
    opacity: 0.6;
    text-align: center;
    width: 250px;
    vertical-align: middle;
}

.entry-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    text-align: left;
    order: 1; 
}

.data-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 0; 
    margin: -4px 0; 
}

.data-field:hover {
    transform: translateX(2px);
}

.data-field.full-width {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 16px;
}

.field-label {
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    color: var(--color-primary);
    letter-spacing: 0.25em;
    opacity: 0.9;
    white-space: nowrap;
    width: 125px;
    min-width: 125px;
    max-width: 125px;
    text-align: left;
    flex-shrink: 0;
    display: inline-block;
    box-sizing: border-box;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 0;
    vertical-align: middle;
    overflow: visible;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
    pointer-events: none; 
    position: relative; 
}

.data-field:hover .field-label {
    opacity: 1;
    text-shadow: 
        0 0 6px rgba(232, 182, 120, 0.4),
        0 0 12px rgba(232, 182, 120, 0.2);
}

.field-label::after {
    content: ':';
    position: absolute;
    left: 105px; 
    top: 0;
    display: inline-block;
    vertical-align: baseline;
    line-height: inherit;
}

.data-field.full-width .field-label::after {
    display: none !important;
}

.data-field:nth-child(2) .field-label::after {
    left: 105px; 
}

html[lang="en"] .data-field:nth-child(1) .field-label::after,
html[lang="en-US"] .data-field:nth-child(1) .field-label::after,
html[lang="en"] .entry-data .data-field:nth-child(1) .field-label::after,
html[lang="en-US"] .entry-data .data-field:nth-child(1) .field-label::after,
body.lang-en .data-field:nth-child(1) .field-label::after,
body.lang-en .entry-data .data-field:nth-child(1) .field-label::after {
    left: 105px; 
}

html[lang="en"] .data-field:nth-child(2) .field-label::after,
html[lang="en-US"] .data-field:nth-child(2) .field-label::after,
html[lang="en"] .entry-data .data-field:nth-child(2) .field-label::after,
html[lang="en-US"] .entry-data .data-field:nth-child(2) .field-label::after,
body.lang-en .data-field:nth-child(2) .field-label::after,
body.lang-en .entry-data .data-field:nth-child(2) .field-label::after,
html[lang="es"] .data-field:nth-child(2) .field-label::after,
html[lang="es-ES"] .data-field:nth-child(2) .field-label::after,
body.lang-es .data-field:nth-child(2) .field-label::after,
body.lang-es .entry-data .data-field:nth-child(2) .field-label::after {
    left: 105px; 
}

.field-value {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: var(--color-secondary);
    line-height: 1.6;
    text-align: left;
    flex: 1;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.field-value.highlight {
    color: var(--color-light);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    text-align: left;
    opacity: 0.95;
    line-height: 1.2;
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
    pointer-events: none; 
}

.data-field:hover .field-value.highlight {
    opacity: 1;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.3),
        0 0 16px rgba(255, 255, 255, 0.15);
}

p.field-value {
    width: 570px;
    max-width: 100%; 
    height: auto; 
    min-height: 32px;
    font-family: var(--font-mono);
    color: var(--color-secondary);
    line-height: 1.7;
    letter-spacing: 0.02em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    word-wrap: break-word; 
}

.data-field.full-width p.field-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--color-title),
        transparent
    );
    box-shadow: 
        0 0 4px rgba(255, 228, 187, 0.6),
        0 0 8px rgba(255, 228, 187, 0.3);
    transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    opacity: 0;
}

.data-field.full-width:hover p.field-value {
    color: var(--color-title);
    text-shadow: 
        0 0 8px rgba(255, 228, 187, 0.4),
        0 0 16px rgba(255, 228, 187, 0.2),
        0 0 24px rgba(255, 228, 187, 0.1);
}

.data-field.full-width:hover p.field-value::after {
    width: 100%;
    opacity: 1;
}

.data-field.full-width p.field-value.in-view {
    animation: text-breathe 4s ease-in-out infinite;
}

@keyframes text-breathe {
    0%, 100% {
        text-shadow: none;
    }
    50% {
        text-shadow: 
            0 0 6px rgba(255, 228, 187, 0.2),
            0 0 12px rgba(255, 228, 187, 0.1);
    }
}

.field-value p {
    text-align: left;
    margin: 0;
    font-family: var(--font-mono);
}

p {
    vertical-align: middle;
    line-height: 2;
}

.entry-section-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(232, 182, 120, 0.1);
}

.entry-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 15px;
    padding-right: 15px;
    height: auto; 
    min-height: 120px;
    width: 400px;
    max-width: 100%; 
}

.block-title {
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    color: var(--color-primary);
    letter-spacing: 0.25em;
    font-weight: normal;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.block-title::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.6;
    font-size: 0.9em;
}

.block-title::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.4;
}

.block-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.block-list li {
    font-size: 15px;
    color: var(--color-secondary);
    padding: 5px 0;
    padding-left: 32px;
    padding-right: 0px;
    position: relative;
    transition: all 0.2s ease;
    font-family: "IBM Plex Mono";
    vertical-align: middle;
    text-align: left;
    
    margin-left: 10px;
    margin-right: 10px;
}

.block-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.5;
}

.block-list li:hover {
    color: var(--color-primary);
    padding-left: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    
    
    font-size: 15px;
    vertical-align: middle;
    width: 500px; 
}

.skill-tag {
    background: rgba(232, 182, 120, 0.08);
    border: 1px solid rgba(232, 182, 120, 0.25);
    padding: 8px 14px;
    font-size: 18px;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-family: Magda;
    text-align: left;
    vertical-align: middle;
}

.skill-tag:hover {
    background: rgba(232, 182, 120, 0.15);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.philosophy-list li {
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    color: var(--color-secondary);
    padding: 6px 0;
    padding-left: 32px;
    padding-right: 0px;
    position: relative;
    transition: all 0.2s ease;
    font-family: "IBM Plex Mono";
    vertical-align: middle;
    text-align: left;
}

.philosophy-list li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.6;
}

.philosophy-list li:hover {
    color: var(--color-primary);
    padding-left: 20px;
}

.objectives-grid {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(232, 182, 120, 0.1);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 20px;
}

.objectives-title {
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    color: var(--color-primary);
    letter-spacing: 0.25em;
    font-weight: normal;
    position: relative;
    padding-left: 20px;
    grid-column: 1 / -1;
    text-align: left;
}

.objectives-title::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.6;
    font-size: 0.9em;
}

.objectives-title::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.4;
}

.objectives-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    grid-column: 1 / -1;
    padding-top: 8px;
}

.objective-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    color: var(--color-secondary);
    padding: 6px 0;
    padding-left: 0px;
    transition: all 0.2s ease;
    vertical-align: middle;
    text-align: left;
    font-family: "IBM Plex Mono";
    min-height: 35px;
    width: 100%;
    min-width: 0;
    margin-left: 0px;
    margin-right: 0px;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.objective-item > span:not(.obj-num) {
    min-width: 0;
    flex: 1 1 auto;
}

.objective-item:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.obj-num {
    background: rgba(232, 182, 120, 0.1);
    border: 1px solid rgba(232, 182, 120, 0.3);
    padding: 3px 10px;
    font-size: 0.65rem;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    min-width: 32px;
    text-align: center;
    flex-shrink: 0;
    margin-left: 12px;
    margin-right: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.expedient-gallery {
    background: linear-gradient(135deg, rgba(38, 42, 44, 0.7), rgba(38, 42, 44, 0.4));
    border: 1px solid rgba(232, 182, 120, 0.25);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s ease;
    contain: layout paint;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.expedient-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expedient-gallery:hover {
    border-color: rgba(232, 182, 120, 0.4);
    box-shadow: 0 5px 25px rgba(232, 182, 120, 0.1);
}

.expedient-gallery:hover::before {
    opacity: 1;
}

.gallery-label {
    display: block;
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    color: var(--color-primary);
    letter-spacing: 0.25em;
    font-weight: normal;
    position: relative;
    padding-left: 20px;
    text-align: left;
    margin-bottom: var(--spacing-md);
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.gallery-label::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    opacity: 0.6;
    font-size: 0.9em;
}

.gallery-label::after {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.4;
}

.expedient-gallery:hover .gallery-label {
    opacity: 1;
    text-shadow: 
        0 0 6px rgba(232, 182, 120, 0.4),
        0 0 12px rgba(232, 182, 120, 0.2);
}

.gallery-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 20, 0.5);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}
.gallery-loading-overlay.gallery-loaded {
    opacity: 0;
    visibility: hidden;
}
.gallery-loading-overlay .loading-frame {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-loading-overlay .loading-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: rgba(232, 182, 120, 0.2);
    border-style: solid;
    border-width: 0;
    animation: gallery-loading-corner 1.6s ease-in-out infinite;
}
.gallery-loading-overlay .loading-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; animation-delay: 0s; }
.gallery-loading-overlay .loading-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; animation-delay: 0.4s; }
.gallery-loading-overlay .loading-corner.br { bottom: 0; right: 0; border-right-width: 2px; border-bottom-width: 2px; animation-delay: 0.8s; }
.gallery-loading-overlay .loading-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; animation-delay: 1.2s; }
@keyframes gallery-loading-corner {
    0%, 100% { border-color: rgba(232, 182, 120, 0.2); }
    50% { border-color: rgba(232, 182, 120, 0.9); box-shadow: 0 0 8px rgba(232, 182, 120, 0.4); }
}
.gallery-loading-overlay .loading-cube {
    width: 20px;
    height: 20px;
    background: rgba(232, 182, 120, 0.15);
    border: 1px solid rgba(232, 182, 120, 0.5);
    transform: rotate(45deg);
    animation: gallery-loading-pulse 1.2s ease-in-out infinite;
}
@keyframes gallery-loading-pulse {
    0%, 100% { transform: rotate(45deg) scale(0.95); }
    50% { transform: rotate(45deg) scale(1.05); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
}

.gallery-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 2px solid rgba(232, 182, 120, 0.4);
    background: rgba(10, 14, 20, 0.5);
    position: relative;
    cursor: none !important;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-thumb:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: translateZ(0) scale(1.05);
}

.gallery-thumb::before,
.gallery-thumb::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-style: solid;
    border-color: var(--color-primary);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal) ease;
}

.gallery-thumb::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.gallery-thumb::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

.gallery-thumb:hover::before,
.gallery-thumb:hover::after {
    opacity: 1;
}

.gallery-thumb:hover {
    box-shadow: inset 0 0 0 9999px rgba(232, 182, 120, 0.08);
}

.expedient-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-md);
    padding: 12px 24px;
    font-size: clamp(0.8rem, 1.1vw, 0.95rem);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.15em;
    border: 1px solid rgba(232, 182, 120, 0.3);
    background: rgba(232, 182, 120, 0.05);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.expedient-cta:hover {
    background: rgba(232, 182, 120, 0.15);
    border-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(232, 182, 120, 0.2);
}

@media (max-width: 768px) {
    .section-3 {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .section-3 .section-content {
        padding: var(--spacing-md) 5%;
        padding-top: 10px;
        height: calc(100vh - 140px);
        max-height: calc(100vh - 140px);
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .about-header {
        margin-bottom: var(--spacing-lg);
        margin-top: var(--spacing-lg); 
    }
    
    .about-title {
        letter-spacing: 0.2em;
    }
    
    .expedient-entry {
        padding: var(--spacing-md);
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .entry-grid {
        grid-template-columns: 1fr !important; 
        gap: var(--spacing-md);
        width: 100%;
        max-width: 100%;
        overflow: hidden; 
    }
    
    .entry-grid.inverted {
        grid-template-columns: 1fr !important;
    }

    .entry-photo {
        flex-direction: column; 
        align-items: center; 
        gap: 8px; 
        order: 1 !important; 
        width: 100% !important; 
        max-width: 100% !important; 
        margin: 0 auto; 
        padding: 0; 
        margin-bottom: var(--spacing-md); 
    }
    
    
    .entry-photo-first {
        order: 1 !important;
    }
    
    .entry-grid.inverted .entry-photo {
        order: 1 !important; 
        align-items: center;
    }

    .entry-data {
        order: 2 !important; 
        width: 100% !important; 
        max-width: 100% !important; 
        overflow: hidden; 
    }
    
    .entry-grid.inverted .entry-data {
        order: 2 !important; 
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .photo-caption {
        text-align: center; 
        width: auto; 
        max-width: 100%; 
        margin-top: 4px; 
        margin-left: auto;
        margin-right: auto;
    }
    
    .photo-frame {
        width: 120px; 
        height: 150px;
        max-width: 100% !important; 
        margin: 0 auto; 
        box-sizing: border-box; 
    }
    
    .photo-frame.panoramic {
        width: 180px; 
        height: 135px;
        max-width: 100% !important; 
        margin: 0 auto; 
        box-sizing: border-box; 
    }
    
    .photo-frame img {
        max-width: 100% !important;
        height: auto;
        object-fit: cover;
    }
    
    .entry-section-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    
    p.field-value {
        width: 100% !important;
        max-width: 100% !important;
        word-wrap: break-word; 
        overflow-wrap: break-word; 
        text-align: left; 
        line-height: 1.6; 
    }
    
    .data-field.full-width {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .entry-block {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .block-list li {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .skill-tags {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .objectives-list {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    
    .section-5 {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .section-5 .section-content {
        padding: var(--spacing-md) 5%;
        padding-top: 10px;
        height: calc(100vh - 140px);
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    
    .section-5 .section-content::-webkit-scrollbar {
        display: none;
        width: 0;
    }
    
    .section-5 .contact-title {
        margin-top: var(--spacing-md);
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        max-width: 100%;
    }
    
    .contact-card {
        padding: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .section-5 .copyright {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 30px;
        margin-bottom: 20px;
        width: 100%;
        font-size: 14px;
        line-height: 1.3; 
    }
    
    .section-5 .copyright .copyright-line {
        display: block;
        margin: 1px 0; 
        line-height: 1.3;
    }
    
    .section-5 .copyright .heart {
        color: var(--color-secondary); 
    }
}

@media (max-width: 480px) {
    .section-3 {
        padding-top: 75px;
        padding-bottom: 50px;
    }
    
    .section-3 .section-content {
        padding: var(--spacing-sm) 4%;
        padding-top: 10px;
        height: calc(100vh - 125px);
        max-height: calc(100vh - 125px);
    }
    
    .expedient-entry {
        padding: var(--spacing-sm);
    }
    
    .photo-frame {
        width: 100px;
        height: 130px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .photo-frame.panoramic {
        width: clamp(150px, 50vw, 200px); 
        height: 112px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .photo-caption {
        width: auto;
        max-width: 100%;
        text-align: center;
        margin: 4px auto 0;
    }
    
    .skill-tags {
        gap: 6px;
    }
    
    .skill-tag {
        padding: 4px 8px;
        font-size: 0.6rem;
    }
    
    .objective-item {
        font-size: 0.7rem;
    }
    
    .obj-num {
        padding: 2px 6px;
        font-size: 0.6rem;
    }
    
    
    .section-5 {
        padding-top: 75px;
        padding-bottom: 50px;
    }
    
    .section-5 .section-content {
        padding: var(--spacing-sm) 4%;
        padding-top: 10px;
        height: calc(100vh - 125px);
        max-height: calc(100vh - 125px);
    }
    
    .contact-card {
        padding: 15px;
        max-width: 100%;
        width: 100%;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .section-5 .copyright {
        margin-top: 20px;
        margin-bottom: 15px;
        font-size: 12px;
        line-height: 1.2; 
    }
    
    .section-5 .copyright .copyright-line {
        display: block;
        margin: 1px 0; 
        line-height: 1.2;
    }
    
    .section-5 .copyright .heart {
        color: var(--color-secondary); 
    }
}

.section-4 {
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.section-4 .section-content {
    max-width: 1000px;
    width: 100%;
    padding: var(--spacing-lg);
    padding-bottom: calc(var(--spacing-xl) + 100px);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(105vh - 140px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.section-4 .section-content::-webkit-scrollbar {
    display: none;
    width: 0;
}

.section-4 .projects-title,
.section-4 .projects-subtitle {
    position: relative;
}

.section-4 .projects-subtitle::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(232, 182, 120, 0.2);
}

.section-4 .projects-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 18px;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    animation: title-glow 3s ease-in-out infinite alternate;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.section-4 .projects-subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--color-secondary);
    letter-spacing: 0.3em;
    word-spacing: 0.8em;
    margin-bottom: 50px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    padding-bottom: 18px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
}

.project-card {
    border: 1px solid rgba(232, 182, 120, 0.3);
    padding: 30px;
    transition: all var(--transition-normal) ease;
    background: rgba(38, 42, 44, 0.5);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(232, 182, 120, 0.2);
    transform: translateY(-5px);
}

.project-card:active {
    transform: translateY(-2px) scale(0.98);
}

.project-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 15px;
}

.project-desc {
    color: var(--color-secondary);
    font-size: clamp(0.8rem, 1vw, 1rem);
    margin-bottom: 20px;
    line-height: 1.5;
    flex: 1;
    min-height: 0;
}

.project-desc .project-description-paragraph {
    margin-bottom: 0.2em;
    line-height: 1.5;
}

.project-desc .project-description-paragraph:last-child {
    margin-bottom: 0;
}

.project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.project-tag {
    border: 1px solid rgba(232, 182, 120, 0.4);
    padding: 5px 12px;
    font-size: 0.8rem;
}

.section-5 {
    align-items: center;
    justify-content: center;
}

.section-5 .section-content {
    max-width: 1000px;
    width: 100%;
    padding: var(--spacing-lg);
}

.section-5 .contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 18px;
    letter-spacing: 0.3em;
    text-align: center;
    color: var(--color-primary);
    animation: title-glow 3s ease-in-out infinite alternate;
    width: 100%;
    vertical-align: middle;
}

.section-5 .contact-subtitle {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--color-secondary);
    letter-spacing: 0.3em;
    word-spacing: 0.8em;
    margin-bottom: 50px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    padding-bottom: 18px;
    position: relative;
}

.section-5 .contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: rgba(232, 182, 120, 0.2);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 100px;
}

.contact-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 280px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(38, 42, 44, 0.6), rgba(38, 42, 44, 0.3));
    border: 1px solid rgba(232, 182, 120, 0.3);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal) ease;
    backdrop-filter: blur(10px);
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: none;
    color: inherit;
}

.contact-card {
    background: linear-gradient(135deg, rgba(38, 42, 44, 0.6), rgba(38, 42, 44, 0.3));
    border: 1px solid rgba(232, 182, 120, 0.3);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal) ease;
    backdrop-filter: blur(10px);
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: none;
    color: inherit;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: left var(--transition-slow) var(--ease);
    z-index: 2;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(232, 182, 120, 0.2);
    border-color: var(--color-primary);
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background: rgba(232, 182, 120, 0.05);
    z-index: 1;
    
    box-shadow: 
        -10px 0 0 0 rgba(232, 182, 120, 0.05),
        -20px 0 0 0 rgba(232, 182, 120, 0.2),
        -30px 0 0 0 rgba(232, 182, 120, 0.5),
        -40px 0 0 0 rgba(232, 182, 120, 0.8),
        -50px 0 0 0 rgba(232, 182, 120, 1),
        -60px 0 0 0 rgba(232, 182, 120, 1),
        -70px 0 0 0 rgba(232, 182, 120, 1);
    animation: pulse-cubes-hud 3s ease-in-out infinite;
    filter: drop-shadow(0 0 1px rgba(232, 182, 120, 0.3));
}

.contact-icon {
    width: clamp(2rem, 4vw, 2.5rem);
    height: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    fill: var(--color-primary);
    display: block;
    transition: all var(--transition-normal) ease;
}

.contact-card:hover .contact-icon {
    fill: var(--color-light);
    transform: scale(1.1);
}

.contact-label {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--color-secondary);
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
    opacity: 0.7;
}

.contact-link {
    color: var(--color-primary);
    transition: color var(--transition-normal);
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    text-decoration: none;
    display: block;
    position: relative;
    margin-top: 5px;
}

.contact-card:hover .contact-link {
    color: var(--color-light);
}

.section-5 .copyright {
    position: relative;
    margin-top: 80px;
    left: auto;
    transform: none;
    font-family: HBIOS-SYS;
    font-size: 18px;
    letter-spacing: 0.2em;
    vertical-align: middle;
    width: 100%;
    text-align: center;
    z-index: 10;
    color: var(--color-secondary);
    transition: all var(--transition-normal) ease;
    cursor: none;
    line-height: 1.3; 
}

.section-5 .copyright .copyright-line {
    display: block; 
    margin: 2px 0; 
    line-height: 1.4; 
}

.section-5 .copyright .heart {
    color: var(--color-secondary); 
    font-size: 1em;
    display: inline-block;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 4px;
    padding-right: 4px;
}

.section-5 .copyright:hover {
    color: var(--color-primary);
    text-shadow: 
        0 0 10px rgba(232, 182, 120, 0.6),
        0 0 20px rgba(232, 182, 120, 0.4),
        0 0 30px rgba(232, 182, 120, 0.2);
    animation: copyright-glow 2s ease-in-out infinite alternate;
}

.section-5 .copyright:hover .heart {
    color: var(--color-primary); 
    text-shadow: 
        0 0 10px rgba(232, 182, 120, 0.8),
        0 0 20px rgba(232, 182, 120, 0.6);
}

@keyframes copyright-glow {
    0% {
        text-shadow: 
            0 0 10px rgba(232, 182, 120, 0.6),
            0 0 20px rgba(232, 182, 120, 0.4),
            0 0 30px rgba(232, 182, 120, 0.2);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(232, 182, 120, 0.8),
            0 0 30px rgba(232, 182, 120, 0.6),
            0 0 45px rgba(232, 182, 120, 0.4);
    }
}