:root {
  --primary-color: #6e8efb;
  --secondary-color: #d7c2f1;
  --dark: #1e1e2f;
  --light: #f5f7fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--light);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.flex-grow { flex: 1; }

/* Navbar */
.navbar {
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo a {
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  color: lightblue;
  background-color: transparent;
}
.nav-links {
  display: flex;
color: black;
  gap: 25px;
}
.nav-links a {
  color: black;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}
.nav-links a:not(.active):hover { font-size: large;   background: rgba(0,0,0,0.05); }
.nav-links a.active { background: #ffcc00; color: black; font-weight: bold; }

/* Hero */
.hero {
  background:transparent;
  color: white;
  text-align: center;
  padding: 30px 15px;   
}
.logo-big {
  font-size: 48px;
  font-weight: bold;
  background: linear-gradient(to bottom, 
    #ffcc00 0%,       
    #ffcc00 40%,      
    #ffcc00 40%,         
    #ffcc00 55%,        
    #000 55%,      
    #000 100%      
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}


/* Ads */
.ad {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-radius: 6px;
  margin: 20px auto;
  width: 100%;
  max-width: 970px;   
  min-height: 90px;   
  max-height: 280px;  
  overflow: hidden;
}


.ad-side {
  position: fixed;
  top: 180px;
  width: auto;          
  max-width: 300px;    
  min-height: 250px;
  min-width: 120px;
  max-height: 600px;    
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  font-weight: bold;
  overflow: hidden;     
}
.ad-side.left { left: 10px; }
.ad-side.right { right: 10px; }

@media (min-width: 1025px) {
  .ad-side {
    display: flex !important;
  }
  .ad-leaderboard {
    display: flex !important;
  }
  .ad-bottom {
    display: none !important;
  }
}

/* TAb */
@media (min-width: 769px) and (max-width: 1024px) {
  .ad-side {
    display: none !important;
  }
  .ad-leaderboard {
    display: flex !important;
  }
  .ad-bottom {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    height: 90px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ad-side,
  .ad-leaderboard {
    display: none !important;
  }
  .ad-bottom {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    height: 50px;
  }
}


/* Cards (Home) */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 30px 0;
}
.card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-in-out;
}
.card.show { opacity: 1; transform: translateY(0); }
.card h3 { margin-bottom: 10px; }
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: lightblue;
  color: black;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.idea-block button {
  margin: 6px 4px;   
}

.idea-block input,
.idea-block textarea {
  margin-bottom: 12px; 
}

.idea-block p {
  margin-top: 10px;   
}

textarea {
  width: 100%;                 
  min-height: 250px;           
  resize: vertical;            
  font-size: 16px;             
  line-height: 1.5;            
  padding: 12px;               
  border: 1px solid #ccc;     
  border-radius: 8px;          
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); 
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 12px;         
}


input[type="number"],
input[type="text"],
select {
  border: 1px solid #ccc;
  border-radius: 8px;       
  padding: 5px 10px;        
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(110, 142, 251, 0.4); 
}



.ideas {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding: 40px 0;
}

.idea-block {
  margin-bottom: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
  opacity: 1;
}
.idea-block.show { opacity: 1; transform: translateY(0); }
.idea-block h2 { margin-bottom: 8px; color: black; }
.idea-block p { line-height: 1.6; }



.layout {
   background-size: cover;        
  background-position: center;   
  background-repeat: no-repeat;  
  min-height: 100vh; 
}

/* Icon Box */
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.bg-blue { background: #dbeafe; }
.bg-green { background: #dcfce7; }
.bg-purple { background: #ede9fe; }
.bg-orange { background: #ffedd5; }


.input-box {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 10px;
}
