/* =========================== SECTION 2: SAMURAI CROW =========================== */
 .section-samurai {
     background: #000;
     overflow: hidden;
     display: flex;
     justify-content: center;
     align-items: center;
     position: relative;
     padding-top: 120px;
}
 .video-container {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 0;
}
 .sec2-loop, .sec2-transition {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .sec2-loop {
     z-index: 1;
     opacity: 0;
     transition: opacity 1s ease;
}
 .sec2-transition {
     z-index: 2;
     opacity: 1;
}
 .video-container.playing-loop .sec2-transition {
     opacity: 0;
     pointer-events: none;
}
 .video-container.playing-loop .sec2-loop {
     opacity: 1;
}
 .sec2-content {
     position: relative;
     z-index: 10;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     gap: 15px;
     opacity: 0;
     transition: opacity 1.5s ease;
}
 .sec2-content.visible {
     opacity: 1;
}
 .sec2-title-img {
     max-width: 900px;
     width: 90%;
     height: auto;
     filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1.0));
}
 .sec2-text-img {
     max-width: 500px;
     width: 85%;
     height: auto;
     filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.9));
}
 .sec2-icon-img {
     max-width: 500px;
     width: auto;
     height: auto;
     filter: drop-shadow(0 0 20px rgba(138, 3, 3, 0.5)) drop-shadow(0 0 5px rgba(0, 0, 0, 1.0));
}
 @media (max-width: 768px) {
     .sec2-title-img {
         max-width: 500px;
    }
     .sec2-text-img {
         max-width: 550px;
    }
     .sec2-icon-img {
         max-width: 550px;
    }
}
/* =========================== SECTION 3: CROW WEAPON =========================== */
 .section-crow-weapon {
     background: #000;
     overflow: hidden;
     display: flex;
     justify-content: center;
     align-items: center;
     position: relative;
     padding-top: 100px;
}
 .video-container-3 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 0;
}
 .sec3-loop {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0.8;
}
 .video-overlay-3 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.6) 100%);
     z-index: 1;
}
 .sec3-content {
     position: relative;
     z-index: 10;
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
}
 .sec3-title-img {
     max-width: 900px;
     width: 500%;
     height: auto;
     filter: drop-shadow(0 0 10px rgba(0, 0, 0, 1.0));
}
 @media (max-width: 768px) {
     .section-crow-weapon {
         padding-top: 80px;
    }
     .sec3-title-img {
         max-width: 450px;
    }
}
/* =========================== SECTION 4: SKILL & COMBAT =========================== */
 .section-skills {
     position: relative;
     background: #000;
     overflow: hidden;
     padding-top: 120px;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     align-items: center;
}
 .skills-video-container {
     position: absolute;
     inset: 0;
     z-index: 0;
     overflow: hidden;
}
 #skill-video {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .skills-content {
     position: relative;
     z-index: 10;
     text-align: center;
     max-width: 1100px;
     padding: 0 20px;
}
 .skill-title-lineage {
     font-family: 'lineage', serif;
     font-size: 3rem;
     color: #fff;
     text-shadow: 0 0 18px rgba(0,0,0,0.7);
     margin-bottom: 15px;
     text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.4);
}
 .skill-description {
     font-family: var(--font-body);
     color: #f0f0f0;
     font-size: 1.1rem;
     max-width: 700px;
     margin: 0 auto 60px;
     text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.4);
}
 .skills-icons-bar {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     z-index: 20;
     display: flex;
     justify-content: center;
     gap: 50px;
     flex-wrap: wrap;
     width: 100%;
     max-width: 1100px;
     padding: 0 20px;
}
 .skill-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}
 .skill-item img {
     width: 85px;
     height: 85px;
     border-radius: 6px;
     border: 2px solid rgba(255,255,255,0.3);
     opacity: 0.55;
     transition: inherit;
}
 .skill-item .skill-name-lineage {
     opacity: 0.55;
     transition: opacity 0.3s;
}
 .skill-name-lineage {
     font-family: 'lineage', serif;
     margin-top: 15px;
     color: #ddd;
     font-size: 1.2rem;
     max-width: 90px;
     text-shadow: 0 0 12px rgba(0,0,0,0.6);
     text-align: center;
     width: 100%;
}
 .skill-item:hover img, .skill-item:hover .skill-name-lineage {
     opacity: 1;
}
 .skill-item:hover img {
     transform: scale(1.02);
     border-color: rgba(255,255,255,0.8);
     filter: drop-shadow(0 0 5px rgba(255,255,255,0.7));
}
 .skill-item.active img {
     opacity: 1;
     transform: scale(1.03);
     border-color: rgba(255,255,255,0.8);
     filter: drop-shadow(0 0 12px rgba(255,255,255,0.7));
}
 .skill-item.active .skill-name-lineage {
     opacity: 1;
     font-weight: 600;
}
 @media(max-width: 768px) {
     .skill-title-lineage {
         font-size: 2.6rem;
    }
     .skill-description {
         font-size: 1rem;
    }
     .skill-item img {
         width: 65px;
         height: 65px;
    }
}
/* =========================== SECTION 5: NEW REGIONS =========================== */
 .section-regions {
     position: relative;
     background: #000;
     overflow: hidden;
     padding-top: 90px;
     display: flex;
     flex-direction: column;
     align-items: center;
}
 .regions-video-container {
     position: absolute;
     inset: 0;
     z-index: 0;
     overflow: hidden;
}
 #region-video {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .regions-title {
     position: relative;
     z-index: 10;
     margin-bottom: 40px;
}
 .regions-title img {
     height: 178px;
     width: auto;
     object-fit: contain;
     filter: drop-shadow(0 0 8px rgba(0,0,0,0.7));
     transition: opacity 0.3s ease;
}
 .regions-selector {
     position: absolute;
     bottom: 70px;
     left: 50%;
     transform: translateX(-50%);
     z-index: 30;
     display: flex;
     justify-content: center;
     gap: 50px;
}
 .region-item {
     width: 208px;
     height: 162px;
     background-image: url('../img/new_regions.webp');
     background-size: 300% 200%;
     background-repeat: no-repeat;
     cursor: url('../cursors/click.html'), pointer;
     transition: none;
}
 .region-item[data-region="1"] {
     background-position: 0% 0%;
}
 .region-item[data-region="2"] {
     background-position: 50% 0%;
}
 .region-item[data-region="3"] {
     background-position: 100% 0%;
}
 .region-item:hover[data-region="1"] {
     background-position: 0% 100%;
}
 .region-item:hover[data-region="2"] {
     background-position: 50% 100%;
}
 .region-item:hover[data-region="3"] {
     background-position: 100% 100%;
}
 .region-item.active[data-region="1"] {
     background-position: 0% 100%;
}
 .region-item.active[data-region="2"] {
     background-position: 50% 100%;
}
 .region-item.active[data-region="3"] {
     background-position: 100% 100%;
}
/* =========================== SECTION 6: SERVER FEATURES =========================== */
 .section-features {
     background: #000;
     overflow: hidden;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     position: relative;
     padding-top: 100px;
}
 .video-container-features {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 0;
}
 .sec6-loop, .sec6-transition {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
}
 .sec6-loop {
     opacity: 0;
     transition: opacity 1s ease;
}
 .sec6-transition {
     opacity: 1;
     z-index: 2;
}
 .video-container-features.playing-loop .sec6-transition {
     opacity: 0;
     pointer-events: none;
}
 .video-container-features.playing-loop .sec6-loop {
     opacity: 1;
}
 .video-overlay-6 {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.6);
     z-index: 1;
}
 .features-content {
     position: relative;
     z-index: 10;
     text-align: center;
     max-width: 1200px;
     padding: 0 40px;
     width: 100%;
}
 .features-main-title {
     font-size: 3.5rem;
     color: var(--text-main);
     text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.4);
     margin-bottom: 50px;
}
 .features-grid {
     display: flex;
     justify-content: center;
     gap: 40px;
     margin-bottom: 40px;
     flex-wrap: wrap;
}
 .feature-item {
     width: 180px;
     padding: 15px;
     transition: transform 0.3s ease, background 0.3s ease;
}
 .feature-item:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.03);
     border-radius: 6px;
}
 .feature-icon {
     width: 80px;
     height: 80px;
     object-fit: contain;
     margin-bottom: 10px;
     filter: drop-shadow(0 0 5px rgba(138, 3, 3, 0.5));
}
 .feature-title {
     font-family: var(--font-title);
     font-size: 1.1rem;
     color: #fff;
     margin-bottom: 5px;
     text-transform: uppercase;
}
 .feature-desc {
     font-family: var(--font-body);
     font-size: 0.9rem;
     color: var(--text-muted);
}
 .specific-features-panel {
     display: flex;
     background: rgba(10, 10, 10, 0.9);
     border: 1px solid rgba(255, 255, 255, 0.1);
     box-shadow: 0 10px 30px rgba(0,0,0,0.9);
     border-radius: 10px;
     overflow: hidden;
     max-width: 960px;
     margin: 0 auto;
}
 .specific-media-container {
     width: 70%;
     height: 350px;
     overflow: hidden;
}
 .specific-feature-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: opacity 0.4s ease;
}
 .specific-text-container {
     width: 30%;
     height: auto;
     min-height: 350px;
     padding: 30px;
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     align-items: flex-start;
     text-align: left;
     position: relative;
}
 .specific-feature-title {
     font-size: 1.3rem;
     color: var(--accent-gold);
     line-height: 1.2;
     margin-bottom: 0;
     height: 40px;
     text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}
 .specific-feature-desc {
     font-family: var(--font-body);
     color: var(--text-main);
     line-height: 1.5;
     font-size: 1rem;
     margin-top: 26px;
     margin-bottom: 20px;
}
 .specific-selector-dots {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 20px;
     margin-top: auto;
     width: 100%;
}
 .dots-group {
     display: flex;
     gap: 15px;
}
 .feature-arrow {
     width: 24px;
     height: 24px;
     cursor: url('../cursors/click.html'), pointer;
     opacity: 0.5;
     transition: all 0.3s ease;
     display: block;
}
 .prev-btn {
     transform: rotate(180deg);
}
 .feature-arrow:hover {
     opacity: 1;
     filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}
 .next-btn:hover {
     transform: scale(1.2);
}
 .prev-btn:hover {
     transform: rotate(180deg) scale(1.2);
}
 .specific-dot {
     width: 10px;
     height: 10px;
     background-color: rgba(255, 255, 255, 0.3);
     border-radius: 50%;
     cursor: url('../cursors/click.html'), pointer;
     transition: all 0.3s ease;
}
 .specific-dot.active {
     background-color: var(--primary-red);
     transform: scale(1.3);
     box-shadow: 0 0 10px var(--primary-red);
}
 @media (max-width: 992px) {
     .features-grid {
         gap: 20px;
    }
     .feature-item {
         width: 140px;
    }
     .features-main-title {
         font-size: 3rem;
    }
}
 @media (max-width: 768px) {
     .features-grid {
         justify-content: space-around;
         gap: 30px 10px;
    }
     .feature-item {
         width: 45%;
    }
     .specific-features-panel {
         flex-direction: column;
         max-width: 90%;
    }
     .specific-media-container, .specific-text-container {
         width: 100%;
         height: auto;
    }
     .specific-media-container {
         max-height: 250px;
    }
     .specific-text-container {
         align-items: center;
         text-align: center;
    }
     .specific-feature-title {
         margin-top: 10px;
         font-size: 1.5rem;
    }
     .specific-selector-dots {
         justify-content: center;
    }
}
/* =========================== SECTION 7: MEDIA GALLERY =========================== */
 .section-gallery {
     background: #0a0a0a;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     position: relative;
     padding-top: 100px;
     overflow: hidden;
}
 .gallery-container {
     flex-grow: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     width: 100%;
     max-width: 1400px;
     margin: 0 auto;
}
 .gallery-carousel-wrapper {
     position: relative;
     width: 100%;
     height: 400px;
     display: flex;
     align-items: center;
     justify-content: center;
     perspective: 1000px;
}
 .gallery-track {
     position: relative;
     width: 800px;
     height: 450px;
     display: flex;
     justify-content: center;
     align-items: center;
}
 .gallery-card {
     position: absolute;
     width: 60%;
     aspect-ratio: 16/9;
     background: #000;
     border-radius: 8px;
     transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
     box-shadow: 0 10px 30px rgba(0,0,0,0.5);
     overflow: hidden;
     border: 1px solid rgba(255,255,255,0.1);
     cursor: url('../cursors/click.html'), pointer;
     opacity: 0;
     transform: scale(0.5);
     z-index: 0;
}
 .gallery-card img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     pointer-events: none;
}
 .gallery-card.active {
     opacity: 1;
     transform: translateX(0) scale(1.1);
     z-index: 10;
     border-color: var(--accent-gold);
     box-shadow: 0 0 25px rgba(0,0,0,0.8);
     filter: brightness(1.1);
}
 .gallery-card.prev {
     opacity: 0.4;
     transform: translateX(-65%) scale(0.8);
     z-index: 5;
     filter: grayscale(80%);
}
 .gallery-card.next {
     opacity: 0.4;
     transform: translateX(65%) scale(0.8);
     z-index: 5;
     filter: grayscale(80%);
}
 .gallery-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     z-index: 20;
     cursor: pointer;
}
 .prev-gallery {
     left: 5%;
}
 .next-gallery {
     right: 5%;
}
 .prev-btn-gallery {
     transform: rotate(180deg);
}
 .prev-btn-gallery:hover {
     transform: rotate(180deg) scale(1.2);
}
 .image-modal {
     display: none;
     position: fixed;
     z-index: 10000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     overflow: auto;
     background-color: rgba(0,0,0,0.95);
     backdrop-filter: blur(5px);
     align-items: center;
     justify-content: center;
     animation: fadeIn 0.3s;
}
 .modal-content {
     max-width: 90%;
     max-height: 90vh;
     border: 2px solid var(--primary-red);
     box-shadow: 0 0 20px rgba(138, 3, 3, 0.5);
     border-radius: 4px;
}
 .modal-close {
     position: absolute;
     top: 20px;
     right: 35px;
     color: #f1f1f1;
     font-size: 40px;
     font-weight: bold;
     transition: 0.3s;
     cursor: pointer;
}
 .modal-close:hover {
     color: var(--primary-red);
}
 .modal-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     z-index: 10001;
     cursor: url('../cursors/click.html'), pointer;
     padding: 20px;
     transition: transform 0.2s;
}
 .modal-nav:hover {
     transform: translateY(-50%) scale(1.1);
}
 .modal-nav img {
     width: 40px;
     height: 40px;
     filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}
 .modal-prev-btn {
     left: 20px;
}
 .modal-prev-btn img {
     transform: rotate(180deg);
}
 .modal-next-btn {
     right: 20px;
}
 .gallery-controls {
     display: flex;
     justify-content: center;
     margin-top: 10px;
     z-index: 30;
    position: relative;
	padding: 20px;
	overflow: visible;
}
 .play-pause-btn {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     width: 50px;
     height: 50px;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     cursor: url('../cursors/click.html'), pointer;
}
 .play-pause-btn img {
     width: 20px;
     height: 20px;
     opacity: 0.8;
     pointer-events: none;
}
 .play-pause-btn:hover {
     background: rgba(138, 3, 3, 0.3);
     border-color: var(--primary-red);
     transform: scale(1.1);
     box-shadow: 0 0 20px rgba(138, 3, 3, 0.6);
}
 .play-pause-btn:hover img {
     opacity: 1;
}
 @media (max-width: 768px) {
     .modal-nav img {
         width: 30px;
         height: 30px;
    }
     .modal-prev-btn {
         left: 5px;
    }
     .modal-next-btn {
         right: 5px;
    }
}
 @media (max-width: 768px) {
     .gallery-track {
         width: 100%;
         height: 300px;
    }
     .gallery-card.prev {
         transform: translateX(-55%) scale(0.7);
         opacity: 0.3;
    }
     .gallery-card.next {
         transform: translateX(55%) scale(0.7);
         opacity: 0.3;
    }
     .gallery-nav {
         display: none;
    }
}
/* =========================== BRUSH FRAME (SAMURAI BRUSH OVERLAY) =========================== */
 .snap-section::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: url('../img/brush_frame.webp');
     background-size: 100% 100%;
     background-repeat: no-repeat;
     background-position: center;
     z-index: 2;
     pointer-events: none;
}
 .hero-content, .sec2-content, .sec3-content, .skills-content, .features-content, .gallery-container {
     position: relative;
     z-index: 10 !important;
}
