/* ===================================
   PAGES SPECIFIC STYLES
   =================================== */

/* Page Header */
.page-header {
    padding: 140px 0 3rem;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-subtitle {
    color: var(--light-400);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================
   ABOUT PAGE
   =================================== */

/* Profile Logo Section */
.profile-logo-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.profile-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    border-color: transparent;
}

.profile-ring.ring-1 {
    width: 200px;
    height: 200px;
    border-width: 5px;
    border-top-color: var(--primary);
    border-right-color: rgba(255, 77, 109, 0.6);
    animation: rotateRing1 3s linear infinite;
    box-shadow: 0 0 35px var(--primary-glow);
}

.profile-ring.ring-2 {
    width: 165px;
    height: 165px;
    border-width: 4px;
    border-bottom-color: var(--primary-light);
    border-left-color: rgba(255, 143, 163, 0.5);
    animation: rotateRing2 2.5s linear infinite reverse;
    box-shadow: 0 0 30px rgba(255, 143, 163, 0.3);
}

.profile-ring.ring-3 {
    width: 130px;
    height: 130px;
    border-width: 3px;
    border-top-color: var(--primary);
    border-left-color: rgba(255, 77, 109, 0.4);
    animation: rotateRing3 2s linear infinite;
    box-shadow: 0 0 25px var(--primary-glow);
}

.profile-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 40px var(--primary-glow);
    position: relative;
    z-index: 10;
    animation: logoPulse 3s ease-in-out infinite;
}

/* Profile Section */
.profile-section {
    padding: 2rem 0 4rem;
}

.profile-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 77, 109, 0.12);
    border: 1px solid rgba(255, 77, 109, 0.25);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.profile-badge svg {
    width: 18px;
    height: 18px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-role {
    color: var(--light-300);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.profile-bio {
    text-align: left;
    padding: 2rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.profile-bio p {
    color: var(--light-300);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

.profile-links {
    display: flex;
    justify-content: center;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    background: rgba(220, 20, 60, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.social-link-btn svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

/* Info Section */
.info-section {
    padding: 2rem 0 6rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.info-card {
    padding: 2rem 1.5rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(255, 77, 109, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 77, 109, 0.15);
}

.info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: rgba(255, 77, 109, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.info-title {
    font-size: 0.85rem;
    color: var(--light-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-100);
}

/* ===================================
   SKILLS PAGE
   =================================== */

.header-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 77, 109, 0.12);
    border: 1px solid rgba(255, 77, 109, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-badge svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.skills-section {
    padding: 2rem 0 3rem;
}

.skills-section .section-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    text-align: left;
}

.section-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 77, 109, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.skills-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--light-400);
    font-size: 0.95rem;
}

.skills-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skill-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skill-icon svg {
    width: 26px;
    height: 26px;
}

.skill-info {
    flex: 1;
}

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

.skill-name {
    font-weight: 600;
    color: var(--light-100);
}

.skill-percent {
    font-weight: 700;
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
    box-shadow: 0 0 10px currentColor;
}

/* Soft Skills */
.soft-skills-section {
    padding: 2rem 0 4rem;
}

.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .soft-skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .soft-skills-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.soft-skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 1rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.soft-skill-card:hover {
    border-color: rgba(255, 77, 109, 0.3);
    background: rgba(255, 77, 109, 0.08);
    transform: translateY(-5px);
}

.soft-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 77, 109, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soft-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.soft-skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-200);
    text-align: center;
}

/* ===================================
   SERVERS PAGE
   =================================== */

.header-icon {
    width: 70px;
    height: 70px;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.header-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.text-primary {
    color: var(--primary);
}

.servers-section {
    padding: 2rem 0 4rem;
}

.servers-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .servers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Server Card */
.server-card {
    position: relative;
    padding: 1.75rem;
    background: rgba(220, 20, 60, 0.12);
    border: 1px solid rgba(220, 20, 60, 0.25);
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(220, 20, 60, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.server-card:hover {
    border-color: rgba(220, 20, 60, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(220, 20, 60, 0.2);
}

.server-card:hover::before {
    opacity: 1;
}

.server-card.featured {
    border-color: rgba(220, 20, 60, 0.3);
    background: rgba(220, 20, 60, 0.05);
}

.server-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.server-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.server-info {
    flex: 1;
}

.server-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 0.25rem;
}

.server-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
}

.server-badge.primary {
    background: rgba(255, 77, 109, 0.2);
    color: var(--primary-light);
}

.server-badge.green {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.server-badge.yellow {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.server-description {
    color: var(--light-400);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.server-join {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.server-join:hover {
    background: rgba(220, 20, 60, 0.25);
    transform: translateX(5px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.server-join svg {
    width: 18px;
    height: 18px;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0 6rem;
}

.cta-card {
    position: relative;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.12) 0%, rgba(176, 16, 48, 0.08) 100%);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
}

.cta-decoration {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

.decoration-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.decoration-ring:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation: rotateRing1 10s linear infinite;
}

.decoration-ring:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 25px;
    left: 25px;
    animation: rotateRing2 8s linear infinite reverse;
}

.decoration-ring:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 50px;
    left: 50px;
    animation: rotateRing3 6s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    color: var(--light-400);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px var(--primary-glow);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.cta-icon {
    width: 22px;
    height: 22px;
}

/* Server Card Additional Styles */
.server-logo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.server-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(220, 20, 60, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.server-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--dark-800);
}

.server-status.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.server-status.pending {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.server-glow {
    display: none;
}

.server-info {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.server-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--light-100);
    margin-bottom: 0.5rem;
}

.server-desc {
    color: var(--light-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.server-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.server-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--light-400);
    font-size: 0.8rem;
}

.server-stats .stat-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.server-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(220, 20, 60, 0.15);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    margin-top: auto;
    width: 100%;
}

.server-join-btn:hover {
    background: rgba(220, 20, 60, 0.25);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.server-join-btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--light-500);
    cursor: not-allowed;
}

.server-join-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.server-join-btn svg {
    width: 18px;
    height: 18px;
}

.server-badge.success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.server-badge.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* CTA Button */
.cta-btn svg {
    width: 20px;
    height: 20px;
}

.cta-text {
    color: var(--light-400);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 2rem;
    }
    
    .profile-wrapper {
        width: 160px;
        height: 160px;
    }
    
    .profile-ring.ring-1 {
        width: 160px;
        height: 160px;
    }
    
    .profile-ring.ring-2 {
        width: 130px;
        height: 130px;
    }
    
    .profile-ring.ring-3 {
        width: 100px;
        height: 100px;
    }
    
    .profile-img {
        width: 80px;
        height: 80px;
    }
    
    .profile-bio {
        padding: 1.5rem;
    }
    
    .cta-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-decoration {
        display: none;
    }
    
    .server-join-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}
