/**
 * manniPhone - Siemens C2 Styles
 * Das ikonische GSM-Handy der 90er
 */

/* C2 Phone Container */
.c2-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* C2 Phone Body */
.c2-phone {
  width: 200px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
  border-radius: 20px 20px 30px 30px;
  padding: 15px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Antenna */
.c2-antenna {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 45px;
  background: linear-gradient(180deg, #444 0%, #222 100%);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

.c2-antenna::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #333;
  border-radius: 50%;
}

/* Earpiece */
.c2-earpiece {
  width: 60px;
  height: 8px;
  background: #111;
  border-radius: 4px;
  margin: 0 auto 10px;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8);
}

.c2-earpiece::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    #222 3px,
    #222 4px
  );
}

/* Screen Area */
.c2-screen-area {
  background: #0a0a0a;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 15px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.8);
}

/* LCD Display */
.c2-display {
  background: #8a9f7a;
  border-radius: 4px;
  padding: 10px 8px;
  min-height: 40px;
  box-shadow: 
    inset 0 2px 5px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.1);
}

.c2-display-text {
  font-family: 'Courier New', 'LCD', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a2a1a;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
  /* LCD Scanlines Effect */
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.03) 0px,
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
}

/* Keypad */
.c2-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
}

/* Individual Keys */
.c2-key {
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border: none;
  border-radius: 6px;
  padding: 12px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 0 #0a0a0a,
    0 5px 5px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.1s ease;
  -webkit-user-select: none;
  user-select: none;
}

.c2-key .digit {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.c2-key .letters {
  font-size: 0.55rem;
  color: #888;
  margin-top: 2px;
  letter-spacing: 1px;
}

/* Key Hover */
.c2-key:hover {
  background: linear-gradient(180deg, #454545 0%, #353535 50%, #252525 100%);
}

/* Key Press Effect */
.c2-key:active,
.c2-key.pressed {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #0a0a0a,
    0 2px 3px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Action Buttons Row */
.c2-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 0 5px;
}

/* Action Buttons */
.c2-action {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 
    0 4px 0 #0a0a0a,
    0 5px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
}

.c2-call {
  background: linear-gradient(180deg, #2a5a2a 0%, #1a4a1a 50%, #0a3a0a 100%);
  color: #0f0;
}

.c2-call:hover {
  background: linear-gradient(180deg, #3a6a3a 0%, #2a5a2a 50%, #1a4a1a 100%);
}

.c2-clear {
  background: linear-gradient(180deg, #5a2a2a 0%, #4a1a1a 50%, #3a0a0a 100%);
  color: #f00;
  font-weight: bold;
}

.c2-clear:hover {
  background: linear-gradient(180deg, #6a3a3a 0%, #5a2a2a 50%, #4a1a1a 100%);
}

.c2-action:active {
  transform: translateY(3px);
  box-shadow: 
    0 1px 0 #0a0a0a,
    0 2px 3px rgba(0, 0, 0, 0.3);
}

/* Microphone */
.c2-microphone {
  width: 40px;
  height: 6px;
  background: #111;
  border-radius: 3px;
  margin: 15px auto 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.c2-microphone::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    #222 2px,
    #222 3px
  );
}

/* Responsive */
@media (max-width: 480px) {
  .c2-phone {
    width: 180px;
    padding: 12px;
  }
  
  .c2-key {
    padding: 10px 6px;
  }
  
  .c2-key .digit {
    font-size: 1.1rem;
  }
  
  .c2-antenna {
    height: 35px;
    top: -32px;
  }
}

/* Siemens Logo Style (optional) */
.c2-logo {
  text-align: center;
  font-size: 0.6rem;
  color: #555;
  letter-spacing: 3px;
  margin-bottom: 5px;
  font-weight: bold;
}
