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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #000;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
    color: #000;
}

/* Hero */
.hero-raffle {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    opacity: 0.9;
}

/* Info Grid */
.raffle-info {
    padding: 60px 0;
    background: #fff;
}

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

.info-card {
    text-align: center;
    padding: 30px;
    background: #fafafa;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    font-size: 14px;
}

/* Purchase Section */
.purchase-section {
    padding: 60px 0;
    background: #fafafa;
}

.purchase-section h2 {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.ticket-selector {
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.ticket-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.ticket-selector select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.ticket-selector select:focus {
    outline: none;
    border-color: #000;
}

.ticket-price-display {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    font-size: 20px;
}

.ticket-price-display strong {
    font-size: 28px;
    color: #000;
}

.raffle-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group a {
    color: #000;
    text-decoration: underline;
}

.btn-buy-tickets {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 20px;
}

.btn-buy-tickets:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Success Block */
#success-result-block {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.success-content {
    text-align: center;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

.success-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

#success-tickets-container {
    margin-bottom: 30px;
}

.ticket-card-success {
    display: inline-block;
    padding: 12px 24px;
    background: #f0f0f0;
    border-radius: 8px;
    margin: 5px;
    font-weight: 600;
    font-size: 16px;
}

.tickets-grid-success {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-copy {
    padding: 12px 24px;
    background: #f0f0f0;
    color: #000;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #e0e0e0;
}

.btn-catalog {
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-catalog:hover {
    background: #333;
}

.success-note {
    color: #999;
    font-size: 14px;
    margin-top: 20px;
}

/* How it works */
.how-it-works {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 42px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step p {
    color: #666;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-icon {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.footer-social-icon svg {
    flex-shrink: 0;
}

.footer-social-icon:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 5px 0;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .info-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}

