/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D1B3D;
    background: linear-gradient(135deg, #4A0D5A 0%, #7B2D8E 100%);
    min-height: 100vh;
}

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

/* Header Stilleri */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #2D1B3D;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #6B4C7A;
    font-weight: 300;
}

/* Ana İçerik */
main {
    padding: 2rem 0;
}

/* Tarih Bölümü */
.date-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.date-section h2 {
    font-size: 1.8rem;
    color: #2D1B3D;
    margin-bottom: 1rem;
}

.update-info {
    color: #059669;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Kodlar Bölümü */
.codes-section {
    margin-bottom: 3rem;
}

.codes-section h2 {
    text-align: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, #059669, #10B981);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.promo-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-banner p {
    font-size: 1.1rem;
    margin: 0;
}

.promo-banner strong {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Kod kartları için pulse animasyonu */
@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    }
}

.codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.code-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #4A0D5A;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.code-number {
    background: #4A0D5A;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.code-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.invite-code {
    background: #FAFBFF;
    border: 2px dashed #4A0D5A;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D1B3D;
    flex: 1;
    text-align: center;
    letter-spacing: 1px;
}

.copy-btn {
    background: #4A0D5A;
    color: white;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #5D1A6B;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.code-desc {
    color: #6B4C7A;
    font-style: italic;
    text-align: center;
}

/* Nasıl Kullanılır Bölümü */
.how-to-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.how-to-section h2 {
    text-align: center;
    color: #2D1B3D;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #FAFBFF;
    border-radius: 10px;
    border-left: 4px solid #4A0D5A;
}

.step-number {
    background: #4A0D5A;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step p {
    color: #2D1B3D;
    font-weight: 500;
}

/* Footer */
footer {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.disclaimer {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.disclaimer p {
    line-height: 1.8;
}

.disclaimer a {
    color: #3498db;
    text-decoration: none;
}

.disclaimer a:hover {
    text-decoration: underline;
}

.contact {
    text-align: center;
    margin-bottom: 1rem;
}

.contact a {
    color: #3498db;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

/* İlgili Konular Bölümü */
.related-topics {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.related-topics p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.4;
}

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

/* Türknet Özellikleri Bölümü */
.features-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.features-section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Geçiş Avantajları Bölümü */
.transition-info {
    border-top: 2px solid #ecf0f1;
    padding-top: 2rem;
}

.transition-info h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.4;
}

.transition-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
}

.transition-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.transition-intro strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.advantage-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    border-left: 4px solid #667eea;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.advantage-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}

.advantage-card h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.advantage-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-section {
    text-align: center;
    padding: 1.5rem;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 12px;
    border: 2px dashed #27ae60;
}

.cta-text {
    margin: 0;
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .codes-grid {
        grid-template-columns: 1fr;
    }
    
    .code-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .invite-code {
        width: 100%;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem 0;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .date-section {
        padding: 1.5rem;
    }
    
    .date-section h2 {
        font-size: 1.5rem;
    }
    
    .codes-section h2 {
        font-size: 1.6rem;
    }
    
    .promo-banner {
        padding: 1.2rem;
    }
    
    .promo-banner h3 {
        font-size: 1.3rem;
    }
    
    .promo-banner p {
        font-size: 1rem;
    }
    
    .code-card {
        padding: 1.2rem;
    }
    
    .how-to-section {
        padding: 1.5rem;
    }
    
    .turknet-link {
        bottom: 15px;
        right: 15px;
    }
    
    .turknet-link a {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .features-section {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transition-info h3 {
        font-size: 1.2rem;
    }
    
    .transition-intro {
        padding: 0.8rem;
    }
    
    .transition-intro p {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 1rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .related-topics p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-card {
    animation: fadeInUp 0.6s ease forwards;
}

.code-card:nth-child(1) { animation-delay: 0.1s; }
.code-card:nth-child(2) { animation-delay: 0.2s; }
.code-card:nth-child(3) { animation-delay: 0.3s; }
.code-card:nth-child(4) { animation-delay: 0.4s; }
.code-card:nth-child(5) { animation-delay: 0.5s; }

/* Türknet Abonelik Linki */
.turknet-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.turknet-link a {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #2D1B3D;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 2px solid rgba(74, 13, 90, 0.3);
}

.turknet-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
    border-color: #4A0D5A;
    color: #4A0D5A;
}

.turknet-link a:active {
    transform: translateY(-1px);
}

/* Kopyalama Bildirimi */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.copy-notification.show {
    transform: translateX(0);
}

/* Hatırlatma Popup'ı */
.reminder-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.reminder-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
}

.reminder-popup.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #4A0D5A, #7B2D8E);
    color: white;
    border-radius: 20px 20px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.popup-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2D1B3D;
}

.popup-codes {
    background: #FAFBFF;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.popup-codes p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #4A0D5A;
}

.popup-code-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.popup-code-list code {
    background: white;
    border: 2px solid #4A0D5A;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #2D1B3D;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.popup-code-list code:hover {
    background: #4A0D5A;
    color: white;
    transform: scale(1.02);
}

.popup-code-list code.copied {
    background: #059669;
    border-color: #059669;
    color: white;
}

.popup-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.popup-btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-btn.secondary {
    background: #FAFBFF;
    color: #6B4C7A;
    border: 1px solid #E5E7EB;
}

.popup-btn.secondary:hover {
    background: #e9ecef;
}

.popup-btn.primary {
    background: linear-gradient(135deg, #4A0D5A, #7B2D8E);
    color: white;
}

.popup-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 13, 90, 0.4);
}

/* Mobil responsive */
@media (max-width: 480px) {
    .popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .popup-body {
        padding: 1.5rem 1rem;
    }
    
    .popup-footer {
        flex-direction: column;
        padding: 1rem;
    }
    
    .popup-code-list {
        gap: 0.6rem;
    }
    
    .popup-code-list code {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
}