:root {
    --bts-purple: #6b4e71;
    --bts-pink: #ff69b4;
    --bts-light-purple: #f0e6f2;
    --bts-dark: #1a1a1a;
    --bts-gray: #2d2d2d;
    --transition-speed: 0.3s;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--bts-dark);
}

.navbar {
    background: linear-gradient(135deg, var(--bts-dark) 0%, var(--bts-gray) 100%);
    padding: 1rem 0;
    box-shadow: var(--card-shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition-speed) ease;
}

.navbar-brand:hover {
    color: var(--bts-pink);
    transform: scale(1.05);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: rotate(5deg);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--bts-pink) !important;
    background: rgba(255, 105, 180, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ff69b4 !important;
    background: rgba(255, 105, 180, 0.2);
}

.dropdown-menu {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 105, 180, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
}

.dropdown-item {
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 105, 180, 0.2);
    color: #ff69b4;
}

.dropdown-item.active {
    background: rgba(255, 105, 180, 0.3);
    color: #ff69b4;
}

/* Language Switcher */
#languageDropdown .dropdown-toggle::after {
    display: none;
}

#languageDropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#languageDropdown .nav-link i {
    font-size: 1.1rem;
}

.banner {
    background: linear-gradient(135deg, var(--bts-purple), #4B0082);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease;
}

.banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeIn 1s ease 0.3s backwards;
}

.countdown-container {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    min-width: 100px;
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}

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

.card-title {
    color: var(--bts-purple);
    font-weight: 600;
}

.btn-bts {
    background-color: var(--bts-purple);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all var(--transition-speed) ease;
}

.btn-bts:hover {
    background-color: var(--bts-pink);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-bts {
    color: var(--bts-purple);
    border-color: var(--bts-purple);
    border-radius: 25px;
    transition: all var(--transition-speed) ease;
}

.btn-outline-bts:hover {
    background-color: var(--bts-purple);
    color: white;
    transform: translateY(-2px);
}

.membership-card {
    border-left: 4px solid var(--bts-purple);
}

.benefit-card {
    text-align: center;
    padding: 2rem 1rem;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--bts-purple);
    margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bts-light-purple);
    color: var(--bts-purple);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--bts-dark) 0%, var(--bts-gray) 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer h4 {
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--bts-pink);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--bts-pink);
    transform: translateX(5px);
}

.footer .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all var(--transition-speed) ease;
    opacity: 0.7;
}

.footer .social-links a:hover {
    color: var(--bts-pink);
    opacity: 1;
    transform: translateY(-3px);
}

.footer .input-group {
    max-width: 300px;
}

.footer .input-group .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.5rem;
}

.footer .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer .input-group .btn {
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
}

.footer hr {
    opacity: 0.1;
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer h4 {
        margin-top: 1.5rem;
    }
    
    .footer .social-links {
        margin-bottom: 1.5rem;
    }
    
    .footer .input-group {
        max-width: 100%;
    }
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Member Profile Styles */
.member-profile {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    cursor: pointer;
}

.member-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.member-profile:hover .member-info {
    transform: translateY(0);
}

.member-profile:hover .member-image {
    transform: scale(1.1);
}

.member-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Album Card Styles */
.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover {
    transform: scale(1.1);
}

.album-info {
    padding: 1.5rem;
    background: white;
}

.album-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.album-date {
    color: #666;
    font-size: 0.9rem;
}

.track-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

/* News Ticker */
.news-ticker {
    background: var(--bts-purple);
    color: white;
    padding: 1rem;
    margin: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 20s linear infinite;
}

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

/* Achievement Counters */
.achievement-counter {
    text-align: center;
    padding: 2rem;
    background: var(--bts-light-purple);
    border-radius: 10px;
    margin: 2rem 0;
}

.counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--bts-purple);
}

.counter-label {
    font-size: 1.2rem;
    color: #666;
}

/* Interactive Cards */
.interactive-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all var(--transition-speed);
}

.interactive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.interactive-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--bts-purple);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 50%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    margin-left: 50%;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--bts-purple);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: auto;
    left: 0;
}

/* Interactive Map */
.interactive-map {
    height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bts-purple);
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.map-marker:hover {
    transform: scale(1.5);
}

.map-tooltip {
    position: absolute;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: none;
}

/* Quote Carousel */
.quote-carousel {
    background: var(--bts-light-purple);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.quote-item {
    text-align: center;
    padding: 1rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-author {
    font-weight: bold;
    color: var(--bts-purple);
}

/* Achievement Badges - Modal Approach */
.badges-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    padding: 1rem;
    background: rgba(255, 105, 180, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

.achievement-badge i {
    font-size: 2rem;
    color: #ff69b4;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.achievement-badge:hover i {
    transform: scale(1.2);
}

.achievement-badge span {
    font-size: 0.9rem;
    text-align: center;
    color: #fff;
}

/* Achievement Modal */
.achievement-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.achievement-modal.show {
    display: block;
    animation: modalFadeIn 0.3s ease;
}

.achievement-modal h5 {
    color: #ff69b4;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.achievement-modal p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-modal .modal-icon {
    font-size: 3rem;
    color: #ff69b4;
    text-align: center;
    margin-bottom: 1rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff69b4;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bts-purple);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-speed);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-item {
        width: 100%;
        margin-left: 0 !important;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content::before {
        left: 20px;
        right: auto;
    }

    .countdown-item {
        margin: 0.5rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
    
    .member-image, .album-cover, .event-image, .merch-image {
        height: 200px;
    }
    
    .merch-modal, .member-modal, .album-modal, .event-modal {
        width: 95%;
        padding: 1rem;
    }
}

/* Video Gallery Styles */
.video-gallery {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.video-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.video-info {
    padding: 1rem;
}

.video-info h5 {
    margin-bottom: 0.5rem;
    color: #333;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .video-preview {
        height: 180px;
    }
}

/* Global ARMY Community Map Styles */
.map-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 2rem 0;
    padding: 2rem;
}

.interactive-map {
    position: relative;
    height: 500px;
    background: url('https://raw.githubusercontent.com/djaiss/mapsicon/master/all/vector/world.svg') center/contain no-repeat;
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff69b4;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.map-marker:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}

.map-marker::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 105, 180, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.map-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.map-tooltip h5 {
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-tooltip p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #fff;
}

.map-marker:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 120%;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.legend-dot {
    width: 15px;
    height: 15px;
    background: #ff69b4;
    border: 2px solid #fff;
    border-radius: 50%;
}

.legend-dot.secondary {
    background: #ff8dc7;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
