@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap&subset=latin,latin-ext');

@font-face {
    font-family: 'OptimusPrincepsSemiBold';
    src: url('/fonts/OptimusPrincepsSemiBold.ttf');
}

/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;  /* make things invisible upon start */
  -webkit-animation:fadeIn ease-in 1;  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.landing-page.fade-in {
	background: url("/images/mmo/lp-background.png") no-repeat center top fixed;
	background-size: cover;
	-webkit-animation-delay: 0.2s;
	-moz-animation-delay: 0.2s;
	animation-delay: 0s;
}

.separator-container {
    max-width: 1387px;
	margin: 0 auto;
    height: auto;
    background: linear-gradient(to right, transparent, #00000000 0%, #00000030 15%, #00000080 50%, #00000030 85%, transparent);
}

.lp-all{
	max-width: 1387px;
	margin: 30px auto;
	padding: 2em;
}

.lp-logo {
	width: 100%;
	min-height: 264px;
	text-align: center;
	position: relative;
}

.lp-all {
	background-color: rgba(0, 0, 0, 0.3);
	border: 1px solid #4f0000;
	backdrop-filter: blur(3px);
    height: auto;
	-webkit-backdrop-filter: blur(3px);
	position: relative;
}

.lp-container {
	width: 100%;
	background: linear-gradient(to bottom, #1b000050 0%, #00000050 100%);
	padding-left: 10px;
	padding-right: 10px;
}

.lp-container .row {
	padding: 10px;
}

.col.ss-button {
	aspect-ratio: 1 / 1;
	text-align: center;
	padding: 0;
}

.col.left,
.col.right {
	min-width: 580px;
	text-align: center;
	padding-top: 0px;
}

.row.big-ss {
    padding: 0;
    height: 20%;
    max-height: 500px;
    height: 56.25vw;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.row.big-ss iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.row.small-ss {
	min-height: 72px;
	column-gap: 10px;
}

.screenshot-slideshow {
    position: relative;
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    max-width: 1387px;
	margin: 0 auto;
    border: 1px solid #4f0000;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-logo {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 10;
    max-width: 300px;
    max-height: 120px;
}

.slideshow-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 10px rgba(255, 34, 34, 0.3)) drop-shadow(0 0 20px rgba(255, 34, 34, 0.2));
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 30%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0) 45%);
    z-index: 5;
    pointer-events: none;
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slideshow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-dot.active {
    background: #ff2222;
    transform: scale(1.2);
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.slideshow-arrow:hover {
    background: rgba(168, 0, 0, 0.8);
}

.slideshow-prev {
    left: 10px;
}

.slideshow-next {
    right: 10px;
}

.lp-container,
.lp.box,
.w3-modal-content,
.col.lp,
.col-1.lp,
.col.ss-button,
.col-6.lp {
	border: 2px solid;
	border-image: linear-gradient(45deg, #a80000, #ff2222, #a80000) 1;
}

.w3-modal-content {
	background-color: #000000;
}

.lp.title {
	font-size: 32px;
	color: #fffaae;
	text-align: center;
	padding-bottom: 10px;
	font-family: 'Cinzel', serif;
	text-shadow: 2px 2px 15px #ff5400 ;
}

.lp.box {
	width: 90%;
	min-height: 46px;
	background: linear-gradient(to bottom, #91000050 0%, #4f000050 100%);
	color: #ffffff;
	text-align: center;
	font-family: 'Cinzel', serif;
	/*padding: 5px 35px 5px 35px;*/
	display: flex;
	margin: 0 auto;
}

.lp.register,
.lp.go-back {
	text-shadow: 2px 2px 15px #ff9000 ;
	display: block;
	text-align: center;
	background-repeat: no-repeat;
	position: relative;
	text-decoration: none;
	box-sizing: border-box;
	font-family: 'Cinzel', serif;
	margin: 0 auto;
	margin-bottom: 20px;
}

.lp.register {
	width: 321px;
	height: 123px;
	padding-top: 12px;
	font-size: 50px;
	background-image: url("/images/mmo/lp-register-button.png");
	
}

.lp.go-back {
	width: 321px;
	height: 42px;
	font-size: 24px;
	padding-top: 4px;
	background-image: url("/images/mmo/lp-goback-button.png");
}

.gradient-text,
.lp.register .gradient-text,
.lp.go-back .gradient-text {
	background: #FFFAAE;
	background: linear-gradient(to bottom, #fcffa5  0%, #ffbf6b  100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.lp.register:hover .gradient-text,
.lp.go-back:hover .gradient-text{
	background: #FFFAAE;
	background: linear-gradient(to bottom, #ffffff  0%, #e7e7e5 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.col.col.ss-button>img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.lp.box>table {
	width: 100%;
}

.icon-container-left {
	position: relative;
    left: -32px;
	overflow: visible;
	object-fit: contain;
}

.icon-container-right {
	position: relative;
    right: -32px;
	overflow: visible;
}

.equal-height {
    display: flex;
    flex-wrap: wrap;
}

.equal-height > .col-md-6 {
    display: flex;
    flex-direction: column;
}

.equal-height > .col-md-6:first-child > * {
    flex: 1;
}

.equal-height > .col-md-6:last-child {
    justify-content: space-between;
}

.equal-height > .col-md-6:last-child > * {
    flex: 0 0 auto;
}

.lp-text-box {
    background-color: rgba(168, 0, 0, 0.3);
    padding: 1em;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-right: 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* min-height: 400px; */
}

.play-button-container {
    text-align: center;
    margin-top: auto;
    padding-top: 20px;
}

.lp-download-warnings {
    max-width: 860px;
    margin: 6px auto 0;
}

.lp-download-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px auto 0;
    padding: 11px 14px;
    background: linear-gradient(to bottom, rgba(145, 0, 0, 0.35) 0%, rgba(79, 0, 0, 0.35) 100%);
    border: 1px solid #ff7a38;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
    color: #ffe8c1;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.lp-download-warning-label {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ff7a38;
    color: #1c0c04;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    margin-top: 1px;
}

.lp-download-warning-text {
    flex: 1 1 auto;
}

.lp-download-warning-text font {
    color: #fff59d;
    font-weight: 700;
}

.lp-text-box .lp.register {
    margin-top: 0;
    margin-bottom: 0;
}

.lp-main-title {
    font-size: 36px;
    color: #fffaae;
    text-align: center;
    font-family: 'Cinzel', serif;
    text-shadow: 2px 2px 15px #ff5400;
    margin-bottom: 20px;
}

.lp-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.lp-highlight {
    color: #fffaae;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    font-style: italic;
}

.lp-separator {
    display: block;
    width: 100%;
    margin: 5px auto 20px auto;
    height: 2px;
    background: linear-gradient(to right, transparent, #a80000, #ff2222 5%, #a80000 95%, transparent);
    border: none;
}

/* Screenshots Toggle Button */
.screenshots-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: 35px;
    font-size: 14px;
    padding: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #a80000;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 15;
}

.screenshots-toggle-btn:hover {
    transform: scale(1.03);
    background-color: rgba(168, 0, 0, 0.3);
    border-color: #ff4444;
}

/* Screenshots Panel */
.screenshots-panel {
    max-width: 1387px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #4f0000;
    margin-top: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to bottom, #91000050 0%, #4f000050 100%);
    border-bottom: 1px solid #4f0000;
}

.panel-header h3 {
    font-size: 24px;
    margin: 0;
    font-family: 'Cinzel', serif;
}

.panel-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.panel-close-btn:hover {
    color: #ff2222;
}

.panel-slideshow {
    position: relative;
    height: 900px;
    overflow: hidden;
}

.panel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.panel-slide.active {
    display: block;
}

.panel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000000;
}

.screenshot-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.panel-slide.active .screenshot-info {
    transform: translateY(0);
}

.screenshot-info h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-family: 'Cinzel', serif;
    color: #fffaae;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.screenshot-info p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

.panel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.panel-arrow:hover {
    background: rgba(168, 0, 0, 0.8);
}

.panel-prev {
    left: 10px;
}

.panel-next {
    right: 10px;
}

.panel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to bottom, #91000050 0%, #4f000050 100%);
    border-top: 1px solid #4f0000;
}

.panel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-dot.active {
    background: #ff2222;
    transform: scale(1.2);
}

/* Responsive design for panel */
@media (max-width: 768px) {
    .screenshots-toggle-btn {
        width: 70px;
        height: 30px;
        font-size: 12px;
        padding-top: 5px;
    }
    
    .panel-header h3 {
        font-size: 20px;
    }
    
    .panel-slideshow {
        height: 450px;
    }
    
    .panel-arrow {
        padding: 8px 12px;
        font-size: 20px;
    }
    
    .screenshot-info {
        padding: 15px;
    }
    
    .screenshot-info h4 {
        font-size: 18px;
    }
    
    .screenshot-info p {
        font-size: 12px;
    }

    .lp-download-warning {
        font-size: 13px;
    }
}
