/* Portland Coin (PORT) - Shared Styles */

/* Base Styles */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #111;
  color: #f4f4f4;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  background: #222;
  border-bottom: 1px solid #333;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section (Index Page) */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.slogan {
  color: #aaa;
  font-size: 1rem;
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 0;
  text-align: center;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn, .back-btn {
  background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  font-size: .9rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3);
}

.back-btn {
  padding: 10px 20px;
  margin-bottom: 30px;
}

.btn:hover, .back-btn:hover {
  background: linear-gradient(135deg, #14532d 0%, #16a34a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.4);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #1a1a1a;
  margin: 15% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  border: 1px solid #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #22c55e;
  margin: 0;
}

.close {
  color: #888;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #22c55e;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-body p {
  margin-bottom: 20px;
  color: #ccc;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #f4f4f4;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #333;
  border-radius: 6px;
  background-color: #222;
  color: #f4f4f4;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #22c55e;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.form-group label:has(input[type="checkbox"]) input[type="checkbox"] {
  margin: 0 8px 0 0;
}

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.btn-secondary {
  background: #333;
  color: #f4f4f4;
}

.btn-secondary:hover {
  background: #444;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #22c55e;
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
  text-align: center;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #22c55e;
}

h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #22c55e;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #22c55e;
}

h4 {
  color: #22c55e;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  font-size: 1rem;
}

ul, ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* Components */
.highlight {
  background: rgba(34, 197, 94, 0.1);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  margin: 20px 0;
}

.tokenomics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tokenomics-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  background: #1a1a1a;
  margin-top: 60px;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .container {
    padding: 20px 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-icon svg {
    width: 22px;
    height: 22px;
  }
} 