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

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.glass-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    z-index: -1;
}

.container {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.title {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.description {
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
}

.ip-loading {
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.links-section h3 {
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4em;
}

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

.glass-button {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.glass-button span {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.glass-button small {
    font-size: 0.9em;
    opacity: 0.8;
}

.footer {
    text-align: center;
    margin-top: 40px;
}

.copy {
    padding: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.copy a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
}

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

.promo {
    padding: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

/* Стили для контента из index_small.php */
.network-info {
    width: 100%;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.network-info th,
.network-info td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.network-info th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.network-info td {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.network-info tr:last-child td {
    border-bottom: none;
}

.ip-display {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px 10px;
    }
    
    .glass-card {
        padding: 25px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 2em;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .ip-display {
        font-size: 1.6em;
    }
    
    .network-info th,
    .network-info td {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.7em;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .ip-display {
        font-size: 1.4em;
    }
}
