/* Amintiri (Memories) Page Styles - Modern UX Redesign */

/* ========================================
   1. HERO SECTION
   ======================================== */
.amintiri-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #d4ddf0 0%, #c5d0eb 50%, #b6c5e5 100%);
}

.amintiri-hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/chess-sisters.webp') center top/cover no-repeat;
    filter: brightness(1.15);
}

.hero-content-badge {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    padding: 2.5rem 3rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.hero-content-badge .btn {
    margin-top: 1.5rem;
}

.edition-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.75rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(186, 218, 213, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(186, 218, 213, 0.2); }
}

.amintiri-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.amintiri-hero-title em {
    font-style: italic;
    color: var(--color-dark-light);
}

.amintiri-hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   2. STATS BAR - Social Proof
   ======================================== */
.amintiri-stats {
    padding: var(--gap-lg) 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(186, 218, 213, 0.3) 0%, rgba(166, 185, 224, 0.2) 100%);
    border-radius: 50%;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   3. VIDEO HIGHLIGHT
   ======================================== */
.amintiri-video {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #e8ecf7 0%, #dce3f4 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(186, 218, 213, 0.3);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 0.625rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-dark);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   3.5 GALERIE TOP - Coverflow Carousel (Larger)
   ======================================== */
.amintiri-gallery-top {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #f5f7fc 0%, #e8ecf7 100%);
}

/* Larger coverflow for top gallery */
.coverflow-top .coverflow-track {
    height: 380px;
}

.coverflow-top .coverflow-item.active {
    width: 500px;
    height: 375px;
}

.coverflow-top .coverflow-item.prev-1,
.coverflow-top .coverflow-item.next-1 {
    width: 270px;
    height: 200px;
}

.coverflow-top .coverflow-item.prev-1 {
    transform: translateX(-255px) scale(0.8) rotateY(25deg);
}

.coverflow-top .coverflow-item.next-1 {
    transform: translateX(255px) scale(0.8) rotateY(-25deg);
}

.coverflow-top .coverflow-item.prev-2,
.coverflow-top .coverflow-item.next-2 {
    width: 185px;
    height: 140px;
}

.coverflow-top .coverflow-item.prev-2 {
    transform: translateX(-400px) scale(0.65) rotateY(35deg);
}

.coverflow-top .coverflow-item.next-2 {
    transform: translateX(400px) scale(0.65) rotateY(-35deg);
}

/* ========================================
   PARTICIPANTI - Lista de Start
   ======================================== */
.amintiri-participants {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #e8ecf7 0%, #dce3f4 100%);
}

/* Rankings Grid - 2 coloane desktop */
.rankings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-lg);
    margin-top: 4rem;
}

/* Ranking Card */
.ranking-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.ranking-header {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
}

.participant-count {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Table Wrapper - scroll pentru multi participanti */
.ranking-table-wrapper {
    max-height: 650px;
    overflow-y: auto;
    flex: 1;
}

/* Ranking Table */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.ranking-table th {
    background: var(--color-gray-100);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.ranking-table th:first-child {
    width: 2rem;
    text-align: center;
}

.ranking-table th:nth-child(2) {
    width: 2.5rem;
    text-align: center;
}

.ranking-table th:nth-child(4) {
    width: 3.5rem;
    text-align: right;
}

.ranking-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.ranking-table td:first-child {
    text-align: center;
    font-size: 1rem;
}

.ranking-table td:nth-child(2) {
    text-align: center;
    color: var(--color-gray-600);
}

.ranking-table td:nth-child(4) {
    text-align: right;
    font-weight: 500;
}

.ranking-table tr:hover {
    background: var(--color-gray-50);
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

/* Link Chess-Results */
.ranking-link {
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--color-gray-100);
    color: var(--color-dark);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    border-top: 1px solid var(--color-gray-200);
}

.ranking-link:hover {
    background: var(--color-gray-200);
}

/* ========================================
   4. GALERIE FOTO - Coverflow Carousel
   ======================================== */
.amintiri-gallery-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #dce3f4 0%, #d0d9f0 100%);
}

.coverflow-carousel {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 2rem;
    perspective: 1000px;
}

.coverflow-track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 320px;
    transition: transform 0.1s ease-out;
}

.coverflow-item {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-gray-200);
    box-shadow: var(--shadow-md);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease,
                width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease,
                visibility 0s;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.coverflow-item img,
.coverflow-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Zoom out pentru imagini cu text (feedback screenshots) */
.coverflow-item.zoom-out {
    background: #dce3f4;
}

.coverflow-item.zoom-out img {
    object-fit: contain;
}

/* Video items in coverflow */
.coverflow-item[data-type="video"] {
    position: relative;
}

/* Smoother transitions for video items */
.coverflow-item[data-type="video"] {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.5s ease,
                width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease,
                visibility 0s;
}

.coverflow-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    transition: opacity 0.4s ease, background 0.3s ease;
    pointer-events: none;
}

.coverflow-play-overlay svg {
    width: 48px;
    height: 48px;
    fill: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.coverflow-item[data-type="video"]:hover .coverflow-play-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.4);
}

.coverflow-item[data-type="video"]:hover .coverflow-play-overlay svg {
    transform: scale(1.1);
}

.coverflow-item.active[data-type="video"] .coverflow-play-overlay {
    opacity: 1;
}

/* Hide play overlay when video is playing */
.coverflow-item.active[data-type="video"].playing .coverflow-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.coverflow-item.active[data-type="video"].playing .coverflow-play-overlay svg {
    transform: scale(0.8);
    opacity: 0;
}

/* Video items - disable 3D for smoother transitions */
.coverflow-item[data-type="video"] {
    transform-style: flat;
}

.coverflow-item[data-type="video"] video {
    backface-visibility: visible;
    transform: translateZ(0);
}

.coverflow-item[data-type="video"] .coverflow-play-overlay {
    backface-visibility: visible;
}

/* Hidden items (not visible) */
.coverflow-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.4) translateX(0);
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s;
}

/* Far left position (prev-2) */
.coverflow-item.prev-2 {
    width: 160px;
    height: 120px;
    z-index: 1;
    opacity: 0.5;
    transform: translateX(-320px) scale(0.65) rotateY(35deg);
    cursor: pointer;
    visibility: visible;
}

/* Adjacent left position (prev-1) */
.coverflow-item.prev-1 {
    width: 220px;
    height: 165px;
    z-index: 3;
    opacity: 0.75;
    transform: translateX(-200px) scale(0.8) rotateY(25deg);
    cursor: pointer;
    visibility: visible;
}

/* Center position (active) - largest */
.coverflow-item.active {
    width: 400px;
    height: 300px;
    z-index: 5;
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    visibility: visible;
}

.coverflow-item.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(35, 61, 54, 0.3) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--duration-fast) ease;
    pointer-events: none;
}

.coverflow-item.active:hover::after {
    opacity: 1;
}

/* Adjacent right position (next-1) */
.coverflow-item.next-1 {
    width: 220px;
    height: 165px;
    z-index: 3;
    opacity: 0.75;
    transform: translateX(200px) scale(0.8) rotateY(-25deg);
    cursor: pointer;
    visibility: visible;
}

/* Far right position (next-2) */
.coverflow-item.next-2 {
    width: 160px;
    height: 120px;
    z-index: 1;
    opacity: 0.5;
    transform: translateX(320px) scale(0.65) rotateY(-35deg);
    cursor: pointer;
    visibility: visible;
}

/* Navigation buttons */
.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.coverflow-nav:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-300);
    transform: translateY(-50%) scale(1.05);
}

.coverflow-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.coverflow-nav svg {
    width: 24px;
    height: 24px;
}

.coverflow-prev {
    left: 2rem;
}

.coverflow-next {
    right: 2rem;
}

/* Indicators/dots - hidden */
.coverflow-indicators {
    display: none;
}

.coverflow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.coverflow-dot:hover {
    background: var(--color-gray-400);
}

.coverflow-dot.active {
    background: var(--color-dark);
    transform: scale(1.2);
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-fast) ease, visibility var(--duration-fast) ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-content video {
    background: #000;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   5. TESTIMONIALE
   ======================================== */
.amintiri-testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, rgba(186, 218, 213, 0.25) 0%, rgba(166, 185, 224, 0.2) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    color: var(--color-accent-dark);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-dark);
}

.author-rating {
    font-size: 0.8125rem;
    color: var(--color-gray-600);
}

/* ========================================
   6. CLASAMENT / PARTICIPANTI
   ======================================== */
.amintiri-results {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #e8ecf7 0%, #dce3f4 100%);
}

/* Podium */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: var(--gap-xl);
    padding-top: 2rem;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.podium-medal {
    position: absolute;
    top: -10px;
    z-index: 2;
}

.podium-medal.gold {
    color: #FFD700;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
}

.podium-medal.silver {
    color: #C0C0C0;
    filter: drop-shadow(0 2px 4px rgba(192, 192, 192, 0.4));
}

.podium-medal.bronze {
    color: #CD7F32;
    filter: drop-shadow(0 2px 4px rgba(205, 127, 50, 0.4));
}

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.podium-avatar.champion {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--color-dark);
}

.podium-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.podium-score {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.podium-stand {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-white);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.stand-1 {
    width: 140px;
    height: 100px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.stand-2 {
    width: 120px;
    height: 70px;
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.stand-3 {
    width: 120px;
    height: 50px;
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

/* Participants List */
.participants-section {
    max-width: 800px;
    margin: 0 auto;
}

.participants-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.participants-toggle:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-300);
}

.participants-toggle .toggle-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--duration-fast) ease;
}

.participants-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

.participants-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-medium) var(--ease-out-quart);
}

.participants-list.expanded {
    max-height: 1000px;
}

.participants-table {
    width: 100%;
    margin-top: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}

.participants-table th,
.participants-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.participants-table th {
    background: var(--color-gray-100);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
}

.participants-table td {
    font-size: 0.9375rem;
    color: var(--color-dark);
}

.participants-table tr:last-child td {
    border-bottom: none;
}

.participants-table tr.highlight {
    background: rgba(186, 218, 213, 0.1);
}

.participants-table tr:hover:not(:first-child) {
    background: var(--color-gray-100);
}

.place {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
}

.place-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--color-dark);
}

.place-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: var(--color-dark);
}

.place-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
    color: var(--color-white);
}

/* ========================================
   7. CTA FINAL
   ======================================== */
.amintiri-cta-final {
    padding: var(--gap-xl) 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
    text-align: center;
}

.amintiri-cta-final .cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.amintiri-cta-final .cta-content h2 em {
    font-style: italic;
    color: var(--color-accent);
}

.amintiri-cta-final .cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.amintiri-cta-final .btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-dark);
}

.amintiri-cta-final .btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(186, 218, 213, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .coverflow-track {
        height: 300px;
    }

    .coverflow-item.active {
        width: 340px;
        height: 255px;
    }

    .coverflow-item.prev-1,
    .coverflow-item.next-1 {
        width: 180px;
        height: 135px;
        transform: translateX(-170px) scale(0.75) rotateY(25deg);
    }

    .coverflow-item.next-1 {
        transform: translateX(170px) scale(0.75) rotateY(-25deg);
    }

    .coverflow-item.prev-2,
    .coverflow-item.next-2 {
        width: 130px;
        height: 98px;
        transform: translateX(-270px) scale(0.6) rotateY(35deg);
    }

    .coverflow-item.next-2 {
        transform: translateX(270px) scale(0.6) rotateY(-35deg);
    }

    /* Top coverflow - larger */
    .coverflow-top .coverflow-track {
        height: 360px;
    }

    .coverflow-top .coverflow-item.active {
        width: 420px;
        height: 315px;
    }

    .coverflow-top .coverflow-item.prev-1,
    .coverflow-top .coverflow-item.next-1 {
        width: 220px;
        height: 165px;
    }

    .coverflow-top .coverflow-item.prev-1 {
        transform: translateX(-215px) scale(0.75) rotateY(25deg);
    }

    .coverflow-top .coverflow-item.next-1 {
        transform: translateX(215px) scale(0.75) rotateY(-25deg);
    }

    .coverflow-top .coverflow-item.prev-2,
    .coverflow-top .coverflow-item.next-2 {
        width: 150px;
        height: 112px;
    }

    .coverflow-top .coverflow-item.prev-2 {
        transform: translateX(-340px) scale(0.6) rotateY(35deg);
    }

    .coverflow-top .coverflow-item.next-2 {
        transform: translateX(340px) scale(0.6) rotateY(-35deg);
    }
}

@media (max-width: 1024px) {
    .amintiri-hero {
        padding: 120px 0 80px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rankings-grid {
        grid-template-columns: 1fr;
    }

    .ranking-table-wrapper {
        max-height: 500px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Coverflow - show 3 images on tablet */
    .coverflow-track {
        height: 280px;
    }

    .coverflow-item.active {
        width: 300px;
        height: 225px;
    }

    .coverflow-item.prev-1,
    .coverflow-item.next-1 {
        width: 160px;
        height: 120px;
        transform: translateX(-150px) scale(0.7) rotateY(30deg);
    }

    .coverflow-item.next-1 {
        transform: translateX(150px) scale(0.7) rotateY(-30deg);
    }

    .coverflow-item.prev-2,
    .coverflow-item.next-2 {
        opacity: 0;
        pointer-events: none;
    }

    /* Top coverflow - larger on tablet */
    .coverflow-top .coverflow-track {
        height: 320px;
    }

    .coverflow-top .coverflow-item.active {
        width: 370px;
        height: 278px;
    }

    .coverflow-top .coverflow-item.prev-1,
    .coverflow-top .coverflow-item.next-1 {
        width: 185px;
        height: 140px;
    }

    .coverflow-top .coverflow-item.prev-1 {
        transform: translateX(-185px) scale(0.7) rotateY(30deg);
    }

    .coverflow-top .coverflow-item.next-1 {
        transform: translateX(185px) scale(0.7) rotateY(-30deg);
    }

    .coverflow-top .coverflow-item.prev-2,
    .coverflow-top .coverflow-item.next-2 {
        opacity: 0;
        pointer-events: none;
    }

    .coverflow-nav {
        width: 48px;
        height: 48px;
    }

    .coverflow-prev {
        left: 1rem;
    }

    .coverflow-next {
        right: 1rem;
    }

    .podium {
        gap: 0.75rem;
    }

    .stand-1 {
        width: 120px;
        height: 80px;
    }

    .stand-2,
    .stand-3 {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .amintiri-hero {
        min-height: 70vh;
    }

    .amintiri-hero-bg {
        background-image: url('images/hero-mobile-amintiri.jpeg');
        background-position: center center;
        filter: brightness(1.1);
    }

    /* Hide videos on mobile */
    .coverflow-item[data-type="video"] {
        display: none !important;
    }

    .hero-content-badge {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .amintiri-hero-title {
        font-size: 2rem;
    }

    .amintiri-hero-subtitle {
        font-size: 1rem;
    }

    /* Section headers mobile */
    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Gallery sections mobile */
    .amintiri-gallery-top,
    .amintiri-gallery-section {
        padding: 3rem 0;
    }

    /* Participants section mobile */
    .amintiri-participants {
        padding: 3rem 0;
    }

    .rankings-grid {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .ranking-table {
        font-size: 0.8125rem;
    }

    .ranking-table th:last-child,
    .ranking-table td:last-child {
        display: none;
    }

    .ranking-header {
        padding: 1rem 1.25rem;
    }

    .ranking-header h3 {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    /* Coverflow - mobile adjustments */
    .coverflow-carousel {
        padding: 0.5rem 0 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        justify-items: center;
    }

    .coverflow-track {
        height: 240px;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .coverflow-item.active {
        width: 260px;
        height: 195px;
    }

    .coverflow-item.prev-1,
    .coverflow-item.next-1 {
        width: 120px;
        height: 90px;
        transform: translateX(-120px) scale(0.65) rotateY(35deg);
    }

    .coverflow-item.next-1 {
        transform: translateX(120px) scale(0.65) rotateY(-35deg);
    }

    /* Top coverflow - larger on mobile */
    .coverflow-top .coverflow-track {
        height: 270px;
    }

    .coverflow-top .coverflow-item.active {
        width: 290px;
        height: 218px;
    }

    .coverflow-top .coverflow-item.prev-1,
    .coverflow-top .coverflow-item.next-1 {
        width: 130px;
        height: 98px;
    }

    .coverflow-top .coverflow-item.prev-1 {
        transform: translateX(-130px) scale(0.65) rotateY(35deg);
    }

    .coverflow-top .coverflow-item.next-1 {
        transform: translateX(130px) scale(0.65) rotateY(-35deg);
    }

    .coverflow-nav {
        position: static;
        transform: none;
        width: 44px;
        height: 44px;
        grid-row: 2;
        margin-top: 1rem;
        background-color: #fff;
        border: 2px solid var(--color-gray-300);
    }

    .coverflow-nav:hover {
        transform: scale(1.05);
    }

    .coverflow-nav:active {
        transform: scale(0.95);
    }

    .coverflow-nav svg {
        width: 20px;
        height: 20px;
    }

    .coverflow-prev {
        left: auto;
        grid-column: 1;
        justify-self: end;
        margin-right: 0.5rem;
    }

    .coverflow-next {
        right: auto;
        grid-column: 2;
        justify-self: start;
        margin-left: 0.5rem;
    }

    .coverflow-indicators {
        display: none !important;
    }

    /* Fix video visibility on mobile - disable 3D transforms that cause issues */
    .coverflow-item[data-type="video"] {
        backface-visibility: visible;
        transform-style: flat;
    }

    /* Hidden video items */
    .coverflow-item[data-type="video"].hidden {
        opacity: 0;
        pointer-events: none;
    }

    .podium {
        flex-direction: row;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .podium-item {
        flex: 1;
    }

    .podium-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .podium-avatar.champion {
        width: 60px;
        height: 60px;
        font-size: 1.125rem;
    }

    .podium-name {
        font-size: 0.9375rem;
    }

    .podium-medal svg {
        width: 20px !important;
        height: 20px !important;
    }

    .podium-medal.gold svg {
        width: 24px !important;
        height: 24px !important;
    }

    .stand-1 {
        width: 100%;
        height: 70px;
    }

    .stand-2 {
        width: 100%;
        height: 50px;
    }

    .stand-3 {
        width: 100%;
        height: 40px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .participants-table th,
    .participants-table td {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .participants-table th:nth-child(3),
    .participants-table td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .amintiri-hero {
        min-height: 60vh;
    }

    .hero-content-badge {
        padding: 1.5rem 1rem;
        margin: 0 0.75rem;
    }

    .edition-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Section headers small mobile */
    .section-header {
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.9375rem;
    }

    /* Gallery sections small mobile */
    .amintiri-gallery-top,
    .amintiri-gallery-section {
        padding: 2rem 0;
    }

    .amintiri-participants {
        padding: 2rem 0;
    }

    .rankings-grid {
        margin-top: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Video play overlay - smaller on mobile */
    .coverflow-play-overlay svg {
        width: 36px;
        height: 36px;
    }

    /* Coverflow - small mobile */
    .coverflow-track {
        height: 200px;
    }

    .coverflow-item.active {
        width: 260px;
        height: 195px;
    }

    .coverflow-item.prev-1,
    .coverflow-item.next-1 {
        width: 70px;
        height: 53px;
        transform: translateX(-115px) scale(0.5) rotateY(40deg);
        opacity: 0.5;
    }

    .coverflow-item.next-1 {
        transform: translateX(115px) scale(0.5) rotateY(-40deg);
    }

    /* Top coverflow - larger on small mobile */
    .coverflow-top .coverflow-track {
        height: 240px;
    }

    .coverflow-top .coverflow-item.active {
        width: 280px;
        height: 210px;
    }

    .coverflow-top .coverflow-item.prev-1,
    .coverflow-top .coverflow-item.next-1 {
        width: 70px;
        height: 53px;
        opacity: 0.5;
    }

    .coverflow-top .coverflow-item.prev-1 {
        transform: translateX(-125px) scale(0.5) rotateY(40deg);
    }

    .coverflow-top .coverflow-item.next-1 {
        transform: translateX(125px) scale(0.5) rotateY(-40deg);
    }

    .coverflow-nav {
        width: 36px;
        height: 36px;
    }

    .coverflow-nav svg {
        width: 16px;
        height: 16px;
    }

    .coverflow-prev {
        margin-right: 0.4rem;
    }

    .coverflow-next {
        margin-left: 0.4rem;
    }

    .coverflow-dot {
        width: 6px;
        height: 6px;
    }

    /* Fix video visibility on small mobile - disable 3D transforms */
    .coverflow-item[data-type="video"] {
        backface-visibility: visible;
        transform-style: flat;
    }

    /* Hidden video items */
    .coverflow-item[data-type="video"].hidden {
        opacity: 0;
        pointer-events: none;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .podium-score {
        font-size: 0.75rem;
    }

    .podium-stand {
        font-size: 1.5rem;
    }

    /* Ranking table mobile */
    .ranking-table-wrapper {
        max-height: 400px;
    }

    .ranking-table td,
    .ranking-table th {
        padding: 0.4rem 0.5rem;
    }
}

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

.stat-card {
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.revealed {
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
    animation-delay: var(--delay, 0s);
}

