:root{
  --ph-red:#e31837;
  --ph-dark:#1f1f1f;
  --ph-green:#008542;
  --ph-cream:#fff8f2;
  --ph-card:#ffffff;
  --ph-border:#f0e5de;
  --shadow:0 12px 30px rgba(0,0,0,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(227,24,55,.08), transparent 30%),
    linear-gradient(180deg,#fff,var(--ph-cream));
  color:var(--ph-dark);
  line-height:1.65;
}
.header{
  background:
    linear-gradient(135deg, rgba(227,24,55,.98), rgba(168,0,28,.98));
  color:white;
  padding:34px 18px 38px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.header:before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border:26px solid rgba(255,255,255,.08);
  border-radius:50%;
  top:-120px;
  right:-90px;
}
.logo{
  width:86px;
  height:86px;
  background:white;
  color:var(--ph-red);
  border-radius:24px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:20px;
  line-height:1.05;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.header h1{
  margin:0 auto;
  max-width:920px;
  font-size:34px;
  letter-spacing:.4px;
  line-height:1.18;
}
.header p{
  margin:12px 0 0;
  font-size:18px;
  opacity:.96;
}
.langs{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:24px;
}
.langs a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:105px;
  text-decoration:none;
  border-radius:999px;
  padding:11px 18px;
  font-weight:bold;
  background:white;
  color:var(--ph-red);
  border:2px solid rgba(255,255,255,.85);
}
.langs a:hover{transform:translateY(-1px)}
.container{
  max-width:1060px;
  margin:-22px auto 0;
  padding:0 18px 60px;
  position:relative;
}
.card{
  background:var(--ph-card);
  border:1px solid var(--ph-border);
  border-radius:24px;
  padding:32px;
  box-shadow:var(--shadow);
}
.summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:0 0 24px;
}
.summary-item{
  background:#fff8f8;
  border:1px solid #ffe2e6;
  border-radius:18px;
  padding:16px;
}
.summary-item strong{
  display:block;
  color:var(--ph-red);
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.summary-item span{
  display:block;
  margin-top:6px;
  font-size:17px;
  font-weight:bold;
}
h2{
  margin:30px 0 12px;
  color:var(--ph-red);
  font-size:23px;
  line-height:1.25;
}
p{margin:8px 0}
a{color:var(--ph-red)}
.prizes{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:18px 0;
}
.prize{
  border:1px solid #ffe2e6;
  border-radius:20px;
  padding:18px 14px;
  background:linear-gradient(180deg,#fff,#fff6f7);
  font-weight:bold;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}
.prize:before{
  content:"🏆";
  font-size:27px;
  margin-bottom:8px;
}
.rule{
  font-size:16px;
}
.footer{
  margin-top:36px;
  padding-top:24px;
  border-top:1px solid var(--ph-border);
}
.back-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--ph-red);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:bold;
  box-shadow:0 10px 20px rgba(0,0,0,.22);
}
@media(max-width:850px){
  .header{padding:26px 14px 34px}
  .header h1{font-size:27px}
  .header p{font-size:16px}
  .container{padding:0 12px 54px}
  .card{padding:22px;border-radius:20px}
  .summary{grid-template-columns:1fr}
  .prizes{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  body{line-height:1.55}
  .logo{
    width:72px;
    height:72px;
    border-radius:20px;
    font-size:17px;
  }
  .header h1{font-size:22px}
  .langs{
    gap:8px;
  }
  .langs a{
    min-width:88px;
    padding:9px 12px;
    font-size:14px;
  }
  .card{padding:18px}
  h2{font-size:19px;margin-top:24px}
  .rule{font-size:15px}
  .prizes{grid-template-columns:1fr}
  .summary-item{padding:14px}
}
@media print{
  .header,.back-top{display:none}
  .container{margin:0;max-width:none}
  .card{box-shadow:none;border:none}
}

.telegram-float{
position:fixed;
left:16px;
bottom:16px;
z-index:9999;
background:#0088cc;
color:white;
text-decoration:none;
padding:14px 18px;
border-radius:999px;
font-weight:bold;
box-shadow:0 10px 25px rgba(0,0,0,.25);
font-size:16px;
}
.telegram-float:hover{
transform:translateY(-2px);
}
@media(max-width:520px){
.telegram-float{
left:10px;
right:10px;
bottom:10px;
text-align:center;
font-size:18px;
padding:16px;
}
}
