
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/Orbitron.woff2) format('woff2');
}

@font-face {
  font-family: 'Exo';
  font-style: normal;
  /* font-weight: 600; */
  font-display: swap;
  src: url(../assets/fonts/Exo.woff2) format('woff2');
}

:root {
    /* --primary-color: #00d4ff; */
    --primary-color: #ffa500;
    --secondary-color: #ff4500;
    --dark-bg: #0a0a0a;
    --darker-bg: #0505057b;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
}

.text-primary{
    color:var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo', sans-serif;
    background-color: var(--dark-bg);
    background-color: #0a0a0a;
    color: var(--text-light);
    overflow-x: hidden;
    background-position: 50% 50%;
    background-size: 30%;
    background-attachment: fixed;
    background-repeat: no-repeat;

}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}


/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;   
    font-family: 'Exo';    
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link i {
    color: var(--primary-color)
}

/* Hero Section */
.hero-section {
    position:relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%,transparent 70%);
   
    overflow: hidden;
}


#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0;
    animation: twinkle 3s infinite;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    color: white;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--darker-bg);
    /* opacity: 0.8; */
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    opacity: 0;
}

.feature-card {
    background: linear-gradient(135deg, #ffa5001a, #ffc8001a);
    border: 1px solid #ffa5004d;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(20px);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px #ffa50033;
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.download-section {
    background-color: var(--dark-bg);
}

.download-card {
    background: linear-gradient(90deg, #ffa500b1, #ffa50051);
    border: 1px solid #ffa6005f;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.download-card:hover {
    transform: scale(0.95, 0.95);
    box-shadow: 0 0px 30px #ffa500da;
    border-color: #ffa500;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


.video-container {
  position: relative;
  display: inline-block;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  /* transition: background 0.3s; */
}
 
/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background-color: var(--darker-bg);
}

.stat-item {
    text-align: center;
    opacity: 0;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--primary-color);
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover,
footer a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .floating-ship {
        width: 200px;
        height: 150px;
    }
}

/* Video Player  */
#player-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* margin: 0 auto; */
}

#watermark {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    direction: ltr;
}

#ytp {
    width: 100vw;
    height: 900px;

}

#player {
    width: 100%;
    height: 100%;
}


.navbar-toggler {
    color: var(--primary-color);
    background-color: transparent;
    border: var(--bs-border-width) solid var(--primary-color);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}


.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: 1rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

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

    .controls {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .info-panel {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}