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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #bdc3c7;
}

.header-content h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #bdc3c7, #ecf0f1, #95a5a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitle {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-bottom: 2px solid #95a5a6;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #ecf0f1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
}

.highlight {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.5rem;
}

.prize-image {
    margin: 2rem 0;
}

.prize-image img {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
}

.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.spec-item {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #7f8c8d;
    transition: all 0.3s;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.spec-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.spec-item p {
    color: #ecf0f1;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Form Section */
.form-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid #7f8c8d;
}

.form-container h2 {
    text-align: center;
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-description {
    text-align: center;
    color: #bdc3c7;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #d4af37;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 0.8rem;
    border: 2px solid #7f8c8d;
    border-radius: 8px;
    background: #485563;
    color: #ecf0f1;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.form-group input::placeholder {
    color: #95a5a6;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #bdc3c7;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.8rem;
    cursor: pointer;
    accent-color: #d4af37;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    border: none;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(45deg, #f1c40f, #d4af37);
}

.btn-icon {
    font-size: 1.5rem;
}

/* Results Section */
.results-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
}

.results-container h2 {
    text-align: center;
    color: #d4af37;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-message {
    text-align: center;
    color: #bdc3c7;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.participant-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 3px solid #d4af37;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 2px solid #d4af37;
}

.participant-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #d4af37, #f1c40f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    border: 3px solid #95a5a6;
}

.participant-info h3 {
    color: #ecf0f1;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.participant-id {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #7f8c8d;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}

.info-value {
    color: #ecf0f1;
    font-size: 1.1rem;
}

.card-footer {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
    padding: 1.5rem 2rem;
    border-top: 2px solid #d4af37;
}

.registration-info p {
    color: #bdc3c7;
    margin: 0.5rem 0;
}

.ticket-number {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
}

.ticket-number span {
    color: #f1c40f;
}

.new-entry-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    border: 2px solid #bdc3c7;
    color: #ecf0f1;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.new-entry-btn:hover {
    background: linear-gradient(45deg, #7f8c8d, #95a5a6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(127, 140, 141, 0.5);
}

/* Info Section */
.info-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-container h2 {
    text-align: center;
    color: #ecf0f1;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.info-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, #485563 0%, #29323c 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #7f8c8d;
    text-align: center;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: #bdc3c7;
    line-height: 1.6;
}

.info-card strong {
    color: #ecf0f1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid #7f8c8d;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-info p {
    color: #bdc3c7;
    margin: 0.5rem 0;
}

.footer-bottom {
    border-top: 1px solid #7f8c8d;
    padding-top: 1rem;
    color: #95a5a6;
}

.student-info {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(52, 73, 94, 0.3);
    border-radius: 10px;
    border: 1px solid #7f8c8d;
}

.student-info p {
    color: #bdc3c7;
    margin: 0.3rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .specs {
        grid-template-columns: 1fr;
    }
}
