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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.header {
    text-align: center;
    padding: 60px 20px;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    display: inline-block;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.main-content {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

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

.ip-section {
    margin-bottom: 40px;
}

.ip-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.ip-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.ip-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.ip-container {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    align-items: stretch;
}

#server-ip {
    flex: 1;
    padding: 15px 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    text-align: center;
    transition: all 0.3s ease;
}

#server-ip:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.copy-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.copy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.copied-text {
    display: none;
}

.copy-btn.copied .copy-text {
    display: none;
}

.copy-btn.copied .copied-text {
    display: inline;
}

.copy-btn.copied {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.separator {
    text-align: center;
    margin: 60px 0;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

.separator span {
    background: var(--bg-dark);
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.launchers-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .launchers-section {
        grid-template-columns: 1fr;
    }
}

.launcher-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.launcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}

.launcher-card:hover::before {
    left: 100%;
}

.launcher-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4);
}

.pc-normal:hover {
    border-color: #3b82f6;
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.4);
}

.pc-patata:hover {
    border-color: #f59e0b;
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.4);
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.launcher-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.download-btn:hover::after {
    width: 500px;
    height: 500px;
}

.download-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.download-btn.primary:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.download-btn.secondary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.download-btn.secondary:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

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

.btn-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.btn-title {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .ip-container {
        flex-direction: column;
    }

    .launcher-card {
        padding: 30px 20px;
    }

    .launchers-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container > * {
    animation: fadeIn 0.6s ease-out backwards;
}

.back-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.navigation-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 40px;
}

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

.nav-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-card:hover::before {
    width: 600px;
    height: 600px;
}

.nav-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.4);
}

.nav-card.play-direct:hover {
    border-color: #10b981;
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.4);
}

.nav-card.pc-normal:hover {
    border-color: #3b82f6;
    box-shadow: 0 25px 70px rgba(59, 130, 246, 0.4);
}

.nav-card.pc-patata:hover {
    border-color: #f59e0b;
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.4);
}

.nav-card.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 25px 70px rgba(88, 101, 242, 0.4);
}

.nav-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.nav-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.nav-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.nav-arrow {
    font-size: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-card:hover .nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.download-section {
    max-width: 800px;
    margin: 0 auto;
}

.launcher-detail-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
}

.launcher-detail-card:hover {
    box-shadow: 0 20px 60px var(--shadow-color);
}

.pc-normal-detail {
    border-color: #3b82f6;
}

.pc-normal-detail:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.pc-patata-detail {
    border-color: #f59e0b;
}

.pc-patata-detail:hover {
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3);
}

.features {
    margin: 30px 0;
    padding: 25px;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.features h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.features li:hover {
    color: var(--text-primary);
    transform: translateX(10px);
}

.download-options {
    margin-top: 30px;
}

.download-options h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.download-btn.large {
    padding: 25px 30px;
}

.btn-info {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 3px;
}

.play-direct-section {
    max-width: 800px;
    margin: 0 auto;
}

.ip-detail-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.ip-detail-card:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.animated-controller {
    animation: bounce 2s ease-in-out infinite, rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

.ip-main-container {
    margin: 40px 0;
    padding: 30px;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.ip-main-container h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.ip-box {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: stretch;
}

.ip-box #server-ip {
    font-size: 1.5rem;
    padding: 20px;
    text-align: center;
}

.ip-box .copy-btn {
    padding: 18px 30px;
    font-size: 1.1rem;
}

.instructions {
    margin: 40px 0;
}

.instructions h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.steps {
    display: grid;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-dark);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.info-box {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    text-align: center;
}

.info-box p {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
    }

    .launcher-detail-card,
    .ip-detail-card {
        padding: 30px 20px;
    }

    .ip-box {
        flex-direction: column;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}
