:root {
    --primary: #AF4C4C;
    --primary-dark: #8E3838;
    --secondary: #FF5555;
    --dark: #2C3E50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --danger: #e74c3c;
    --success: #2ecc71;
    --grass: #78C850;
    --dirt: #E0C068;
    --stone: #B8B8D0;
    --water: #6890F0;
    --darkred: #AA0000;
    --red: #FF5555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="50" height="50" fill="rgba(76, 175, 80, 0.1)"/><rect x="50" y="50" width="50" height="50" fill="rgba(76, 175, 80, 0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
    position: relative;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    min-width: 160px;
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

.social-btn:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.5s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover:after {
    left: 120%;
}

.social-btn:active {
    transform: translateY(0);
}

.discord-btn {
    background: #5865F2;
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #4752C4, #3A45A5);
}

.telegram-btn {
    background: #0088cc;
    background: linear-gradient(135deg, #0088cc, #0077B5);
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0077B5, #00669E);
}

@media (max-width: 480px) {
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 220px;
    }
}

.minecraft-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-block {
    width: 40px;
    height: 40px;
    margin: 0 2px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.grass { background-color: var(--grass); }
.dirt { background-color: var(--dirt); }
.stone { background-color: var(--stone); }
.water { background-color: var(--water); }

/*header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--darkred), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}*/

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--darkred), var(--red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(170, 0, 0);
    letter-spacing: 1px;
}


header p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto;
}

.card {
    background: rgba(44, 62, 80, 0.85);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease;
    position: relative;
    overflow: hidden;
}

.card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--darkred), var(--red));
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 10px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 0px;
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.7);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 85, 85);
    background: rgba(30, 41, 59, 0.9);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.btn:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: all 0.5s;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover:after {
    left: 120%;
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    margin-right: 10px;
}

.server-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 30px;
    text-align: center;
    gap: 15px;
}

.info-card {
    background: rgba(33, 150, 243, 0.2);
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 180px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(33, 150, 243, 0.3);
}

.info-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.info-card p {
    color: #e0e0e0;
}

.required:after {
    content: " *";
    color: var(--danger);
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    padding: 20px;
    border-radius: 10px;
    background: var(--success);
    color: white;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10000;
    max-width: 100%;
    width: 350px;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-align: center;
}

.notification.error {
    background: var(--error);
}

.notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.notification-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.notification-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.notification i {
    margin-right: 10px;
    font-size: 1.5em;
}

footer {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.minecraft-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.character {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background: #8B4513;
    border: 2px solid #5D2906;
    z-index: 0;
}

.character:before, .character:after {
    content: "";
    position: absolute;
    background: #8B4513;
    border: 2px solid #5D2906;
}

.character:before {
    width: 30px;
    height: 30px;
    top: -32px;
    left: 25px;
}

.character:after {
    width: 20px;
    height: 40px;
    top: 10px;
    left: -24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .server-info {
        flex-direction: column;
    }
}