/* common */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,700");

html, body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    height: 100%;
}

.btn {
    border-radius: 10pt;
    padding-left: 10pt;
    padding-right: 10pt;
    border: 2px solid transparent;
}

.btn-lg {
    border-radius: 15pt;
    padding-left: 15pt;
    padding-right: 15pt;
    border: 3px solid transparent;
    min-width: 10rem;
}

.btn-primary {
    color: black;
    background-color: #ff9b65;
    border-color: #000000;
}

.btn-secondary {
    color: #ff9b65;
    background-color: #000000;
    border-color: #ff9b65;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    color: black;
    background: #ff9b65;
    border-color: transparent;
}

@property --ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: true;
}

.btn-golden {
    --ani-grad: conic-gradient(from var(--ang), 
        #ffd700, 
        #ffed4e, 
        #ffd700,
        rgba(255, 215, 0, 0.7),
        rgba(255, 215, 0, 0.3),
        rgba(255, 215, 0, 0.1),
        transparent,
        transparent 70%,
        #ffd700) border-box;
    position: relative;
    color: #000;
    border: 3px solid transparent;
    background: 
        linear-gradient(#ff9b65 0 0) padding-box,
        var(--ani-grad);
    animation: rotate-golden 3s linear infinite;
}

.btn-golden::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 3px solid transparent;
    border-radius: 23px;
    background: var(--ani-grad);
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.7;
    pointer-events: none;
    z-index: -1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-mask: radial-gradient(ellipse, black 60%, transparent 70%);
    mask: radial-gradient(ellipse, black 60%, transparent 70%);
}

@keyframes rotate-golden {
    0% { --ang: 0deg; }
    100% { --ang: -360deg; }
}

.font-weight-lighter {
    font-weight: 200;
}

.font-weight-light {
    font-weight: 300;
}

.font-weight-normal {
    font-weight: 400;
}

.font-weight-bold {
    font-weight: 700;
}

.mask-container {
    position: relative;
}

.mask-svg {
    width: 100%;
    position: absolute;
    bottom: 0;
}

.placeholder-bg {
    width: 100%;
    height: 320px;
    background-color: #000000;
}

.duration-1 {
    animation-duration: 0.5s;
}

.duration-2 {
    animation-duration: 1.0s;
}

.duration-3 {
    animation-duration: 1.5s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes unblur {
    0% {
        filter: blur(1rem);
    }

    100% {
        filter: blur(0px);
    }
}

@keyframes transform {
    0% {
        transform: translate3d(0, 3rem, 0) rotate3d(0.25, -1, 0, 66.6deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Navbar */

.navbar-brand {
    position: absolute;
    top: 10pt;
    right: 10pt;
    width: 100px;
    height: 110px;
}

.navbar-nav {
    background-color: rgba(0, 0, 0, 0.283);
    border: #000000;
    border-radius: 10px;
}

.navbar-nav>li>a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    color: white;
    font-weight: 400;
    font-size: 14pt;
}

.navbar-toggler {
    background-color: rgba(0, 0, 0, 0.5);
}

/* teaser */

.teaser-header {
    animation-name: unblur;
}

.teaser-text {
    position: absolute;
    max-height: 300px;
    margin-top: 50pt;
    animation-name: fadein, unblur, transform;
    animation-duration: 2s;
}

.teaser-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0%;
    width: 100%;
    height: 800pt;
}

@media screen and (max-width: 300pt) {
    .teaser-text {
        max-height: 100px;
        margin-top: 80pt;
        margin-left: -20pt;
    }

    .teaser-bg {
        background-position: 10% 0%;
        height: 400pt;
    }

    .placeholder-bg {
        height: 100px;
    }
}

@media screen and (min-width: 300pt) and (max-width: 800pt) {
    .teaser-text {
        max-height: 220px;
        margin-left: -30pt;
    }

    .teaser-bg {
        background-position: 10% 0%;
        height: 400pt;
    }
}

@media screen and (min-width: 800pt) and (max-width: 1000pt) {
    .teaser-text {
        max-height: 300px;
    }
    .teaser-bg {
        height: 500pt;
    }
}

/* intro */

/* classes */

.classes .card-text {
    min-height: 130pt;
    text-align: justify;
}

/* prices */

.prices-content {
    background-color: #000000;
}

.prices-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 400pt;
}

/* contact */

.wechat-qr {
    max-height: 400pt;
}

.responsive-map {
    border: 1px solid #000000;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

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

/* navigation */

.nav-link.highlight {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%) !important;
    color: #000 !important;
    font-weight: bold !important;
    border-radius: 20px !important;
    padding: 0.5rem 1.5rem !important;
    animation: shine 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.nav-link.highlight:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
    transform: scale(1.05);
}

@keyframes shine {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.9);
    }
}

/* Mobile menu padding and background */
@media (max-width: 991px) {
    .navbar-nav {
        background-color: rgba(0, 0, 0, 0.75);
        padding: 1rem 0;
        border-radius: 0.25rem;
    }
    .navbar-nav .nav-link {
        padding-left: 1rem !important;
    }
}

/* showcase banner (home page) */

.showcase-banner {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 25%, #8b0000 50%, #1a0000 75%, #000000 100%);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
    border-top: 3px solid #dc143c;
    border-bottom: 3px solid #dc143c;
    position: relative;
    overflow: hidden;
}

.showcase-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-banner h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.showcase-banner h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1;
}

.showcase-banner .description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.showcase-banner .date {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    position: relative;
    z-index: 1;
}

.btn-showcase {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 50%, #dc143c 100%);
    background-size: 200% 100%;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    animation: shine-red 2s ease-in-out infinite, gradientShift 3s ease infinite;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-showcase:hover {
    box-shadow: 0 0 35px rgba(220, 20, 60, 0.9), inset 0 0 15px rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
    color: #fff;
    border-color: rgba(255, 107, 107, 0.6);
}

@keyframes shine-red {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(220, 20, 60, 1), inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* showcase page styles */

.hero-showcase {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 25%, #8b0000 50%, #1a0000 75%, #000000 100%);
    color: white;
    padding: 8rem 0 4rem 0;
    border-top: 3px solid #dc143c;
    border-bottom: 3px solid #dc143c;
    position: relative;
    overflow: hidden;
}

.hero-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 0, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-showcase h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-showcase h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-showcase .subhead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-showcase .produced {
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
    position: relative;
    z-index: 1;
}

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

.detail-item i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.detail-item .label {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.5rem;
}

.detail-item .value {
    font-size: 1.2rem;
    color: #333;
}

.support-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow 0.3s;
}

.support-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.support-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.support-card .card-text {
    color: #666;
    line-height: 1.8;
}

.footnote {
    font-size: 0.85rem;
    color: #999;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* gallery video placeholders */

.video-placeholder {
    cursor: pointer;
    background-color: #000;
}

.video-placeholder .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover .video-thumbnail {
    opacity: 0.8;
}

/* footer */