/* 
  =======================================================================
  LINKS V2 - INFOPRODUTOR (BENTO GRID)
  =======================================================================
*/

:root {
    --bg-body: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --accent: #3b82f6;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.1);
    --gap: 15px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 25px;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.container {
    width: 100%;
    max-width: 420px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 35px;
    margin-top: 20px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 2px solid var(--accent);
    padding: 3px;
    background: var(--bg-body);
}

.header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bento Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    grid-auto-rows: minmax(120px, auto);
}

.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.2);
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    z-index: 2;
}

.card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 2;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    z-index: 2;
}

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
    color: var(--accent);
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Card Sizes */
.card-large {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-large:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}

.card-large h3 {
    font-size: 1.4rem;
}

.card-wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    min-height: 80px;
}

.card-wide .card-icon {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.card-social {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-social .card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.card-social:hover .card-icon {
    transform: scale(1.1);
    transition: 0.3s;
}

/* Specific Colors */
.bg-youtube { background: rgba(255, 0, 0, 0.1); }
.bg-youtube:hover { background: rgba(255, 0, 0, 0.2); border-color: rgba(255,0,0,0.3); }

.bg-telegram { background: rgba(0, 136, 204, 0.1); }
.bg-telegram:hover { background: rgba(0, 136, 204, 0.2); border-color: rgba(0,136,204,0.3); }

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.5;
}
