* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #0f0f0f;
    color: white;
}

/* ================= HEADER ================= */

header {
    text-align: center;
    padding: 100px 20px;

    background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url("mindflayer.png");

    background-size: cover;
    background-position: center;

    position: relative;
    overflow:hidden;
}

header h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    animation: fadeInDown 1s ease;
}

header p {
    margin-top: 10px;
    opacity: 0.9;
}
/* ================= NAV ================= */

nav {
    background: black;
    display: flex;
    justify-content: center;
    padding: 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

nav a {
    color: white;
    margin: 0 25px;
    text-decoration: none;
    position: relative;
    transition: 0.3s ease;
}

nav a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: orange;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: orange;
}

/* ================= SECTIONS ================= */

section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: orange;
    font-size: 2rem;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: orange;
    display: block;
    margin: 10px auto;
}

/* ================= CARDS ================= */

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #1b1b1b;
    padding: 25px;
    border-radius: 15px;
    transition: 0.4s ease;
    border: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 136, 0, 0.4);
    border: 1px solid orange;
}

/* subtle top glow line */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #ff4500, orange);
    transition: 0.4s;
}

.card:hover::before {
    width: 100%;
}

/* ================= BUTTONS ================= */

.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: orange;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn:hover {
    background: #ff4500;
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 136, 0, 0.6);
}

/* ================= FOOTER ================= */

footer {
    text-align: center;
    padding: 25px;
    background: black;
    margin-top: 60px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ================= ANIMATIONS ================= */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}/* Cinematic Phoenix Entry */

.phoenix {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150px;
    transform: translate(-50%, -50%) scale(0.2);
    animation: phoenixEntry 4s ease-out forwards, 
               phoenixHover 4s ease-in-out infinite 4s;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

/* Flying toward us */
@keyframes phoenixEntry {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.8;
    }
}

/* Hover effect */
@keyframes phoenixHover {
    0% {
        transform: translate(-50%, -52%) scale(2);
    }
    50% {
        transform: translate(-50%, -48%) scale(2);
    }
    100% {
        transform: translate(-50%, -52%) scale(2);
    }
}
/* COUNTDOWN */

.countdown-container{
display:flex;
justify-content:center;
gap:25px;
margin-top:40px;
flex-wrap:wrap;
}

.time-box{
background:#111;
padding:25px 30px;
border-radius:12px;
text-align:center;
border:1px solid #222;
transition:0.4s;
}

.time-box span{
font-size:2.5rem;
font-weight:bold;
color:#ff8800;
text-shadow:0 0 10px #ff8800,
0 0 20px #ff4500,
0 0 30px #ff4500;
}

.time-box p{
margin-top:10px;
font-size:14px;
letter-spacing:1px;
color:#ccc;
}

.time-box:hover{
transform:translateY(-8px);
box-shadow:0 0 20px rgba(255,136,0,0.7),
0 0 40px rgba(255,69,0,0.6);
border:1px solid orange;
}

/* PHOENIX FLAME GLOW */

.phoenix-countdown{
position:relative;
overflow:hidden;
}

.phoenix-countdown::before{
content:"";
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:500px;
height:500px;
background:radial-gradient(circle,
rgba(255,136,0,0.4) 0%,
rgba(255,69,0,0.3) 40%,
rgba(255,0,0,0.1) 60%,
transparent 75%);
filter:blur(80px);
animation:flameMove 6s infinite alternate;
z-index:0;
}

.countdown-container{
position:relative;
z-index:1;
}

@keyframes flameMove{
0%{
transform:translate(-50%,-50%) scale(1);
opacity:0.7;
}
100%{
transform:translate(-50%,-55%) scale(1.2);
opacity:1;
}
}
.team-button{
text-align:center;
margin:60px 0;
}

.team-button button{
background:linear-gradient(45deg,#ff4500,#ff8800);
border:none;
padding:14px 28px;
font-size:18px;
color:white;
border-radius:8px;
cursor:pointer;
transition:0.3s;
box-shadow:0 0 10px #ff6600;
}

.team-button button:hover{
transform:scale(1.08);
box-shadow:0 0 20px #ff6600;
}

/* Hidden by default */

.team-section{
max-height:0;
overflow:hidden;
transition:max-height 0.6s ease;
background:#111;
margin:20px;
border-radius:10px;
padding:0 20px;
}

/* When opened */

.team-section.show{
max-height:800px;
padding:30px;
}

.team-section h2{
text-align:center;
color:#ff8800;
margin-bottom:25px;
}

/* Grid like Netflix cards */

.team-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
text-align:center;
}

.team-grid div{
background:#1a1a1a;
padding:20px;
border-radius:8px;
transition:0.3s;
}

.team-grid div:hover{
transform:scale(1.05);
box-shadow:0 0 15px rgba(255,120,0,0.6);
}

.team-grid h3{
color:#ff8800;
margin-bottom:10px;
}







/* MOBILE RESPONSIVE */

@media (max-width:768px){

header{
padding:50px 15px;
}

header h1{
font-size:2rem;
}

nav{
flex-wrap:wrap;
gap:10px;
}

nav a{
margin:5px 10px;
font-size:14px;
}

section{
padding:50px 6%;
}

.section-title{
font-size:1.6rem;
}

.card-container{
grid-template-columns:1fr;
}

.countdown-container{
display:flex;
justify-content:center;
gap:8px;
flex-wrap:nowrap;   /* prevents second line */
}

.time-box{
padding:10px 12px;
min-width:60px;
}

.time-box span{
font-size:1.4rem;
}

.time-box p{
font-size:10px;
}
:root{
--main-orange:#ff7a00;
}

